Trait AuthenticationServiceDelegate

Source
pub trait AuthenticationServiceDelegate: Send + Sync {
    // Required method
    fn validate_credential<'life0, 'life1, 'async_trait>(
        &'life0 self,
        credential: &'life1 Credential,
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Delegate trait for implementors to implement spec-compliant validation of credentials with their Authentication Service (MLS AS)

Required Methods§

Source

fn validate_credential<'life0, 'life1, 'async_trait>( &'life0 self, credential: &'life1 Credential, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§