YubiKeyAuthenticator

Trait YubiKeyAuthenticator 

Source
pub trait YubiKeyAuthenticator {
    // Required method
    fn get_yubikey_config<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<YubiKeyConfig, WebauthnCError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Available on (crate features ctap2) and (crate features vendor-yubikey) only.
Expand description

YubiKey vendor-specific commands.

§Warning

These commands currently operate on any Ctap20Authenticator, and do not filter to just YubiKey devices. Due to the nature of CTAP vendor-specific commands, this may cause unexpected or undesirable behaviour on other vendors’ keys.

Protocol notes are in [crate::transport::yubikey].

Required Methods§

Source

fn get_yubikey_config<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<YubiKeyConfig, WebauthnCError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl<'a, T: Token + YubiKeyToken, U: UiCallback> YubiKeyAuthenticator for Ctap20Authenticator<'a, T, U>