Trait aws_credential_types::provider::token::ProvideToken
source · pub trait ProvideToken: Send + Sync + Debug {
// Required method
fn provide_token<'a>(&'a self) -> ProvideToken<'a> ⓘ
where Self: 'a;
}
Expand description
Access Token Provider
Required Methods§
sourcefn provide_token<'a>(&'a self) -> ProvideToken<'a> ⓘwhere
Self: 'a,
fn provide_token<'a>(&'a self) -> ProvideToken<'a> ⓘwhere
Self: 'a,
Returns a future that provides an access token.
Trait Implementations§
source§fn as_ref(&self) -> &(dyn ProvideToken + 'static)
fn as_ref(&self) -> &(dyn ProvideToken + 'static)
Converts this type into a shared reference of the (usually inferred) input type.