Struct aws_smithy_runtime::client::auth::no_auth::NoAuthScheme
source · pub struct NoAuthScheme { /* private fields */ }
Expand description
The “no auth” auth scheme.
The orchestrator requires an auth scheme, so Smithy’s @optionalAuth
trait is implemented
by placing a “no auth” auth scheme at the end of the auth scheme options list so that it is
used if there’s no identity resolver available for the other auth schemes. It’s also used
for models that don’t have auth at all.
Implementations§
source§impl NoAuthScheme
impl NoAuthScheme
Trait Implementations§
source§impl AuthScheme for NoAuthScheme
impl AuthScheme for NoAuthScheme
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 NoAuthScheme
impl Debug for NoAuthScheme
source§impl Default for NoAuthScheme
impl Default for NoAuthScheme
source§fn default() -> NoAuthScheme
fn default() -> NoAuthScheme
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoAuthScheme
impl RefUnwindSafe for NoAuthScheme
impl Send for NoAuthScheme
impl Sync for NoAuthScheme
impl Unpin for NoAuthScheme
impl UnwindSafe for NoAuthScheme
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.