class WebAuthnDomain
This domain allows configuring virtual authenticators to test the WebAuthn API.
addCredential |
Adds the credential to the specified authenticator. suspend fun addCredential(input: AddCredentialRequest): Unit |
addVirtualAuthenticator |
Creates and adds a virtual authenticator. suspend fun addVirtualAuthenticator(input: AddVirtualAuthenticatorRequest): AddVirtualAuthenticatorResponse |
clearCredentials |
Clears all the credentials from the specified device. suspend fun clearCredentials(input: ClearCredentialsRequest): Unit |
disable |
Disable the WebAuthn domain. suspend fun disable(): Unit |
enable |
Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator. suspend fun enable(): Unit |
getCredential |
Returns a single credential stored in the given virtual authenticator that matches the credential ID. suspend fun getCredential(input: GetCredentialRequest): GetCredentialResponse |
getCredentials |
Returns all the credentials stored in the given virtual authenticator. suspend fun getCredentials(input: GetCredentialsRequest): GetCredentialsResponse |
removeCredential |
Removes a credential from the authenticator. suspend fun removeCredential(input: RemoveCredentialRequest): Unit |
removeVirtualAuthenticator |
Removes the given authenticator. suspend fun removeVirtualAuthenticator(input: RemoveVirtualAuthenticatorRequest): Unit |
setAutomaticPresenceSimulation |
Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true. suspend fun setAutomaticPresenceSimulation(input: SetAutomaticPresenceSimulationRequest): Unit |
setUserVerified |
Sets whether User Verification succeeds or fails for an authenticator. The default is true. suspend fun setUserVerified(input: SetUserVerifiedRequest): Unit |