Trait walker_common::sender::provider::TokenProvider
source · pub trait TokenProvider: Send + Sync {
// Required method
fn provide_access_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<Credentials>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
A provider for access credentials (mostly access tokens).