Trait Issuer
Source pub trait Issuer {
// Required methods
fn issue<'life0, 'async_trait>(
&'life0 mut self,
__arg1: Grant,
) -> Pin<Box<dyn Future<Output = Result<IssuedToken, ()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn refresh<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_: &'life1 str,
__arg2: Grant,
) -> Pin<Box<dyn Future<Output = Result<RefreshedToken, ()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn recover_token<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Grant>, ()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn recover_refresh<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Grant>, ()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}