Struct aws_smithy_runtime::client::auth::http::ApiKeyAuthScheme
source · pub struct ApiKeyAuthScheme { /* private fields */ }
Available on crate features
client
and http-auth
only.Expand description
Auth implementation for Smithy’s @httpApiKey
auth scheme
Implementations§
Trait Implementations§
source§impl AuthScheme for ApiKeyAuthScheme
impl AuthScheme for ApiKeyAuthScheme
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
Auto Trait Implementations§
impl Freeze for ApiKeyAuthScheme
impl RefUnwindSafe for ApiKeyAuthScheme
impl Send for ApiKeyAuthScheme
impl Sync for ApiKeyAuthScheme
impl Unpin for ApiKeyAuthScheme
impl UnwindSafe for ApiKeyAuthScheme
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.