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.