Trait U2FToken

Source
pub trait U2FToken {
    // Required method
    fn perform_u2f_sign(
        &mut self,
        app_bytes: Vec<u8>,
        chal_bytes: Vec<u8>,
        timeout_ms: u64,
        allowed_credentials: &[AllowCredentials],
        user_verification: bool,
    ) -> Result<U2FSignData, WebauthnCError>;
}
Available on crate feature softtoken only.

Required Methods§

Source

fn perform_u2f_sign( &mut self, app_bytes: Vec<u8>, chal_bytes: Vec<u8>, timeout_ms: u64, allowed_credentials: &[AllowCredentials], user_verification: bool, ) -> Result<U2FSignData, WebauthnCError>

Implementors§