pub trait Authenticate {
    // Required method
    fn login<'life0, 'life1, 'async_trait>(
        &'life0 self,
        code: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Credentials, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn login<'life0, 'life1, 'async_trait>( &'life0 self, code: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Credentials, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§