Table of Contents

Class VirtualAuthenticatorOptions

Namespace
OpenQA.Selenium.DevTools.V146.WebAuthn
Assembly
Selenium.WebDriver.dll

VirtualAuthenticatorOptions

public sealed class VirtualAuthenticatorOptions
Inheritance
VirtualAuthenticatorOptions
Inherited Members

Properties

AutomaticPresenceSimulation

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

[JsonPropertyName("automaticPresenceSimulation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? AutomaticPresenceSimulation { get; set; }

Property Value

bool?

Ctap2Version

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

[JsonPropertyName("ctap2Version")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Ctap2Version? Ctap2Version { get; set; }

Property Value

Ctap2Version?

DefaultBackupEligibility

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

[JsonPropertyName("defaultBackupEligibility")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? DefaultBackupEligibility { get; set; }

Property Value

bool?

DefaultBackupState

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

[JsonPropertyName("defaultBackupState")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? DefaultBackupState { get; set; }

Property Value

bool?

HasCredBlob

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.

[JsonPropertyName("hasCredBlob")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasCredBlob { get; set; }

Property Value

bool?

HasLargeBlob

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

[JsonPropertyName("hasLargeBlob")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasLargeBlob { get; set; }

Property Value

bool?

HasMinPinLength

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.

[JsonPropertyName("hasMinPinLength")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasMinPinLength { get; set; }

Property Value

bool?

HasPrf

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

[JsonPropertyName("hasPrf")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasPrf { get; set; }

Property Value

bool?

HasResidentKey

Defaults to false.

[JsonPropertyName("hasResidentKey")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasResidentKey { get; set; }

Property Value

bool?

HasUserVerification

Defaults to false.

[JsonPropertyName("hasUserVerification")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasUserVerification { get; set; }

Property Value

bool?

IsUserVerified

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

[JsonPropertyName("isUserVerified")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsUserVerified { get; set; }

Property Value

bool?

Protocol

protocol

[JsonPropertyName("protocol")]
public AuthenticatorProtocol Protocol { get; set; }

Property Value

AuthenticatorProtocol

Transport

transport

[JsonPropertyName("transport")]
public AuthenticatorTransport Transport { get; set; }

Property Value

AuthenticatorTransport