pub struct InlineCredentials { /* private fields */ }Expand description
Convenience wrapper: treat a pair of (client_id, client_secret) as
an ad-hoc auth provider without constructing one explicitly.
Implementations§
Trait Implementations§
Source§impl AuthProvider for InlineCredentials
impl AuthProvider for InlineCredentials
Source§fn auth_header(&self) -> String
fn auth_header(&self) -> String
Return the
Authorization header value (e.g., "Basic ...")
to include in outbound AS requests.Auto Trait Implementations§
impl Freeze for InlineCredentials
impl RefUnwindSafe for InlineCredentials
impl Send for InlineCredentials
impl Sync for InlineCredentials
impl Unpin for InlineCredentials
impl UnsafeUnpin for InlineCredentials
impl UnwindSafe for InlineCredentials
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more