Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AddCredentialRequest(val authenticatorId: AuthenticatorId, val credential: Credential)

Request object containing input parameters for the WebAuthnDomain.addCredential command.

Link copied to clipboard
@Serializable
object AddCredentialResponse

A dummy response object for the WebAuthnDomain.addCredential command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class AddVirtualAuthenticatorRequest(val options: VirtualAuthenticatorOptions)

Request object containing input parameters for the WebAuthnDomain.addVirtualAuthenticator command.

Link copied to clipboard
@Serializable
data class AddVirtualAuthenticatorResponse(val authenticatorId: AuthenticatorId)

Response type for the WebAuthnDomain.addVirtualAuthenticator command.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ClearCredentialsRequest(val authenticatorId: AuthenticatorId)

Request object containing input parameters for the WebAuthnDomain.clearCredentials command.

Link copied to clipboard
@Serializable
object ClearCredentialsResponse

A dummy response object for the WebAuthnDomain.clearCredentials command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class Credential(val credentialId: String, val isResidentCredential: Boolean, val rpId: String? = null, val privateKey: String, val userHandle: String? = null, val signCount: Int, val largeBlob: String? = null, val backupEligibility: Boolean? = null, val backupState: Boolean? = null)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
enum Ctap2Version : Enum<Ctap2Version>

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the WebAuthnDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class EnableRequest(val enableUI: Boolean? = null)

Request object containing input parameters for the WebAuthnDomain.enable command.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the WebAuthnDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class GetCredentialRequest(val authenticatorId: AuthenticatorId, val credentialId: String)

Request object containing input parameters for the WebAuthnDomain.getCredential command.

Link copied to clipboard
@Serializable
data class GetCredentialResponse(val credential: Credential)

Response type for the WebAuthnDomain.getCredential command.

Link copied to clipboard
@Serializable
data class GetCredentialsRequest(val authenticatorId: AuthenticatorId)

Request object containing input parameters for the WebAuthnDomain.getCredentials command.

Link copied to clipboard
@Serializable
data class GetCredentialsResponse(val credentials: List<Credential>)

Response type for the WebAuthnDomain.getCredentials command.

Link copied to clipboard
@Serializable
data class RemoveCredentialRequest(val authenticatorId: AuthenticatorId, val credentialId: String)

Request object containing input parameters for the WebAuthnDomain.removeCredential command.

Link copied to clipboard
@Serializable
object RemoveCredentialResponse

A dummy response object for the WebAuthnDomain.removeCredential command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RemoveVirtualAuthenticatorRequest(val authenticatorId: AuthenticatorId)

Request object containing input parameters for the WebAuthnDomain.removeVirtualAuthenticator command.

Link copied to clipboard

A dummy response object for the WebAuthnDomain.removeVirtualAuthenticator command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetAutomaticPresenceSimulationRequest(val authenticatorId: AuthenticatorId, val enabled: Boolean)

Request object containing input parameters for the WebAuthnDomain.setAutomaticPresenceSimulation command.

Link copied to clipboard

A dummy response object for the WebAuthnDomain.setAutomaticPresenceSimulation command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetCredentialPropertiesRequest(val authenticatorId: AuthenticatorId, val credentialId: String, val backupEligibility: Boolean? = null, val backupState: Boolean? = null)

Request object containing input parameters for the WebAuthnDomain.setCredentialProperties command.

Link copied to clipboard

A dummy response object for the WebAuthnDomain.setCredentialProperties command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetResponseOverrideBitsRequest(val authenticatorId: AuthenticatorId, val isBogusSignature: Boolean? = null, val isBadUV: Boolean? = null, val isBadUP: Boolean? = null)

Request object containing input parameters for the WebAuthnDomain.setResponseOverrideBits command.

Link copied to clipboard

A dummy response object for the WebAuthnDomain.setResponseOverrideBits command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetUserVerifiedRequest(val authenticatorId: AuthenticatorId, val isUserVerified: Boolean)

Request object containing input parameters for the WebAuthnDomain.setUserVerified command.

Link copied to clipboard
@Serializable
object SetUserVerifiedResponse

A dummy response object for the WebAuthnDomain.setUserVerified command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class VirtualAuthenticatorOptions(val protocol: AuthenticatorProtocol, val ctap2Version: Ctap2Version? = null, val transport: AuthenticatorTransport, val hasResidentKey: Boolean? = null, val hasUserVerification: Boolean? = null, val hasLargeBlob: Boolean? = null, val hasCredBlob: Boolean? = null, val hasMinPinLength: Boolean? = null, val hasPrf: Boolean? = null, val automaticPresenceSimulation: Boolean? = null, val isUserVerified: Boolean? = null, val defaultBackupEligibility: Boolean? = null, val defaultBackupState: Boolean? = null)

(undocumented in the protocol definition)

Link copied to clipboard

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