bitwarden_fido

Trait Fido2CredentialStore

Source
pub trait Fido2CredentialStore: Send + Sync {
    // Required methods
    fn find_credentials<'life0, 'async_trait>(
        &'life0 self,
        ids: Option<Vec<Vec<u8>>>,
        rip_id: String,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<CipherView>, Fido2CallbackError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn all_credentials<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<CipherView>, Fido2CallbackError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn save_credential<'life0, 'async_trait>(
        &'life0 self,
        cred: Cipher,
    ) -> Pin<Box<dyn Future<Output = Result<(), Fido2CallbackError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn find_credentials<'life0, 'async_trait>( &'life0 self, ids: Option<Vec<Vec<u8>>>, rip_id: String, ) -> Pin<Box<dyn Future<Output = Result<Vec<CipherView>, Fido2CallbackError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

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

Source

fn save_credential<'life0, 'async_trait>( &'life0 self, cred: Cipher, ) -> Pin<Box<dyn Future<Output = Result<(), Fido2CallbackError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§