pub trait Authenticator {
    fn get_info(&mut self) -> Response;
fn make_credential(&mut self, request: &Request) -> Result<Response>;
fn get_assertion(&mut self, request: &Request) -> Result<Response>;
fn get_next_assertion(&mut self) -> Result<Response>;
fn reset(&mut self) -> Result<()>;
fn client_pin(&mut self, request: &Request) -> Result<Response>;
fn credential_management(&mut self, request: &Request) -> Result<Response>;
fn vendor(&mut self, op: VendorOperation) -> Result<()>; fn call_ctap2(&mut self, request: &Request) -> Result<Response> { ... } }
Expand description

CTAP2 authenticator API

Note that all Authenticators automatically implement crate::Rpc with Request and Response.

Required methods

Provided methods

Dispatches the enum of possible requests into the appropriate trait method.

Implementors