Skip to main content

Module web_authn

Module web_authn 

Source
Expand description

This domain allows configuring virtual authenticators to test the WebAuthn API.

Types, command parameters and event payloads for the WebAuthn domain. The method-name constants for the same domain are in crate::methods.

This domain is experimental and may change without notice.

Structs§

AddCredentialParams
Adds the credential to the specified authenticator.
AddVirtualAuthenticatorParams
Creates and adds a virtual authenticator.
AddVirtualAuthenticatorReturns
What WebAuthn.addVirtualAuthenticator answers with.
ClearCredentialsParams
Clears all the credentials from the specified device.
Credential
CredentialAddedEvent
Triggered when a credential is added to an authenticator.
CredentialAssertedEvent
Triggered when a credential is used in a webauthn assertion.
CredentialDeletedEvent
Triggered when a credential is deleted, e.g. through PublicKeyCredential.signalUnknownCredential().
CredentialUpdatedEvent
Triggered when a credential is updated, e.g. through PublicKeyCredential.signalCurrentUserDetails().
DisableParams
Disable the WebAuthn domain.
EnableParams
Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator.
GetCredentialParams
Returns a single credential stored in the given virtual authenticator that matches the credential ID.
GetCredentialReturns
What WebAuthn.getCredential answers with.
GetCredentialsParams
Returns all the credentials stored in the given virtual authenticator.
GetCredentialsReturns
What WebAuthn.getCredentials answers with.
RemoveCredentialParams
Removes a credential from the authenticator.
RemoveVirtualAuthenticatorParams
Removes the given authenticator.
SetAutomaticPresenceSimulationParams
Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true.
SetCredentialPropertiesParams
Allows setting credential properties. https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
SetResponseOverrideBitsParams
Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.
SetUserVerifiedParams
Sets whether User Verification succeeds or fails for an authenticator. The default is true.
VirtualAuthenticatorOptions

Enums§

AuthenticatorProtocol
AuthenticatorTransport
LINT.IfChange(AuthenticatorTransport)
Ctap2Version

Type Aliases§

AuthenticatorId