interface FidoClient {
    authenticate: (
        options: FidoAuthenticationOptions,
    ) => Promise<FidoAuthenticationInputValue | GenericError>;
    register: (
        options: FidoRegistrationOptions,
    ) => Promise<FidoRegistrationInputValue | GenericError>;
}

Properties

authenticate: (
    options: FidoAuthenticationOptions,
) => Promise<FidoAuthenticationInputValue | GenericError>

Get an assertion to send back to DaVinci for authentication

Type declaration

authenticate

register: (
    options: FidoRegistrationOptions,
) => Promise<FidoRegistrationInputValue | GenericError>

Create a keypair and get the public key credential to send back to DaVinci for registration

Type declaration

register