Struct aws_smithy_runtime::client::auth::http::BearerAuthScheme
source · pub struct BearerAuthScheme { /* private fields */ }
Available on crate features
client
and http-auth
only.Expand description
Auth implementation for Smithy’s @httpBearerAuth
auth scheme
Implementations§
Trait Implementations§
source§impl AuthScheme for BearerAuthScheme
impl AuthScheme for BearerAuthScheme
source§fn scheme_id(&self) -> AuthSchemeId
fn scheme_id(&self) -> AuthSchemeId
Returns the unique identifier associated with this auth scheme. Read more
source§fn identity_resolver(
&self,
identity_resolvers: &dyn GetIdentityResolver
) -> Option<SharedIdentityResolver>
fn identity_resolver( &self, identity_resolvers: &dyn GetIdentityResolver ) -> Option<SharedIdentityResolver>
Returns the identity resolver that can resolve an identity for this scheme, if one is available. Read more
source§impl Debug for BearerAuthScheme
impl Debug for BearerAuthScheme
source§impl Default for BearerAuthScheme
impl Default for BearerAuthScheme
source§fn default() -> BearerAuthScheme
fn default() -> BearerAuthScheme
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BearerAuthScheme
impl RefUnwindSafe for BearerAuthScheme
impl Send for BearerAuthScheme
impl Sync for BearerAuthScheme
impl Unpin for BearerAuthScheme
impl UnwindSafe for BearerAuthScheme
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.