Trait aws_mfa::CredentialsProvider
source · pub trait CredentialsProvider {
// Required methods
fn validate<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<Credentials>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn authenticate<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Credentials, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}