Trait IamCertOAuth2Spi
Source pub trait IamCertOAuth2Spi: Send + Sync {
// Required methods
fn get_access_token<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
code: &'life1 str,
ak: &'life2 str,
sk: &'life3 str,
funs: &'life4 TardisFunsInst,
) -> Pin<Box<dyn Future<Output = TardisResult<IamCertOAuth2TokenInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
fn get_account_name<'life0, 'life1, 'async_trait>(
&'life0 self,
oauth2_info: IamCertOAuth2TokenInfo,
funs: &'life1 TardisFunsInst,
) -> Pin<Box<dyn Future<Output = TardisResult<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}