VirtualAuthenticatorOptions

@Serializable
data class VirtualAuthenticatorOptions(val protocol: WebAuthn.AuthenticatorProtocol, val ctap2Version: WebAuthn.Ctap2Version? = null, val transport: WebAuthn.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)

Constructors

Link copied to clipboard
constructor(protocol: WebAuthn.AuthenticatorProtocol, ctap2Version: WebAuthn.Ctap2Version? = null, transport: WebAuthn.AuthenticatorTransport, hasResidentKey: Boolean? = null, hasUserVerification: Boolean? = null, hasLargeBlob: Boolean? = null, hasCredBlob: Boolean? = null, hasMinPinLength: Boolean? = null, hasPrf: Boolean? = null, automaticPresenceSimulation: Boolean? = null, isUserVerified: Boolean? = null, defaultBackupEligibility: Boolean? = null, defaultBackupState: Boolean? = null)

Properties

Link copied to clipboard

If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.

Link copied to clipboard

Defaults to ctap2_0. Ignored if |protocol| == u2f.

Link copied to clipboard

Credentials created by this authenticator will have the backup eligibility (BE) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup

Link copied to clipboard

Credentials created by this authenticator will have the backup state (BS) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup

Link copied to clipboard
val hasCredBlob: Boolean? = null

If set to true, the authenticator will support the credBlob extension. https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension Defaults to false.

Link copied to clipboard
val hasLargeBlob: Boolean? = null

If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.

Link copied to clipboard

If set to true, the authenticator will support the minPinLength extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension Defaults to false.

Link copied to clipboard
val hasPrf: Boolean? = null

If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false.

Link copied to clipboard
val hasResidentKey: Boolean? = null

Defaults to false.

Link copied to clipboard

Defaults to false.

Link copied to clipboard
val isUserVerified: Boolean? = null

Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.

Link copied to clipboard
Link copied to clipboard