pub trait LoginClient {
// Required methods
fn login_oauth_2<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
provider: &'life1 str,
access_token: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<UnsafeToken, Error<LoginError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn current_login_token<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Token, Error<LoginError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_login_oauth_2<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<OAuth2Data, Error<LoginError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn complete_login_oauth_2<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<UnsafeToken, Error<LoginError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}