VirtualAuthenticatorOptions

@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)(source)

Official doc

Constructors

Link copied to clipboard
constructor(protocol: AuthenticatorProtocol, ctap2Version: Ctap2Version? = null, transport: 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)

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
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