Trait neutron::AuthenticationPlugin

source ·
pub trait AuthenticationPlugin {
    // Required methods
    fn auth_method_name(&self) -> String;
    fn auth_data<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NeutronError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn auth_method_name(&self) -> String

source

fn auth_data<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NeutronError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§