pub fn perform_auth_with_request(
backend: &mut impl AuthenticatorBackendHashedClientData,
request: GetAssertionRequest,
timeout_ms: u32,
) -> Result<Vec<u8>, WebauthnCError>
Available on crate feature
ctap2
only.Expand description
Performs an authentication request, using a GetAssertionRequest.
All PIN/UV auth parameters will be ignored, and are processed by AuthenticatorBackendHashedClientData in the usual way.
Returns a GetAssertionResponse as Vec<u8>
on success. The message may
not be identical to what the authenticator actually returned, as it is
subject to deserialisation and conversion to and from another structure used
by AuthenticatorBackend.