bitwarden::internal::fido

Trait Fido2CredentialStore

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 'life0: 'async_trait,
             Self: 'async_trait;
    fn all_credentials<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<CipherView>, Fido2CallbackError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn save_credential<'life0, 'async_trait>(
        &'life0 self,
        cred: Cipher,
    ) -> Pin<Box<dyn Future<Output = Result<(), Fido2CallbackError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}

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 'life0: 'async_trait, Self: 'async_trait,

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

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

Implementors§