Struct aws_config::sso::token::SsoTokenProvider
source · pub struct SsoTokenProvider { /* private fields */ }
Expand description
SSO Token Provider
This token provider will use cached SSO tokens stored in ~/.aws/sso/cache/<hash>.json
.
<hash>
is computed based on the configured session_namej
.
If possible, the cached token will be refreshed when it gets close to expiring.
Implementations§
Trait Implementations§
source§impl Debug for SsoTokenProvider
impl Debug for SsoTokenProvider
source§impl ResolveIdentity for SsoTokenProvider
impl ResolveIdentity for SsoTokenProvider
source§fn resolve_identity<'a>(
&'a self,
runtime_components: &'a RuntimeComponents,
_config_bag: &'a ConfigBag
) -> IdentityFuture<'a>
fn resolve_identity<'a>( &'a self, runtime_components: &'a RuntimeComponents, _config_bag: &'a ConfigBag ) -> IdentityFuture<'a>
Asynchronously resolves an identity for a request using the given config.
Auto Trait Implementations§
impl !RefUnwindSafe for SsoTokenProvider
impl Send for SsoTokenProvider
impl Sync for SsoTokenProvider
impl Unpin for SsoTokenProvider
impl !UnwindSafe for SsoTokenProvider
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.