Class VirtualAuthenticatorOptions
java.lang.Object
org.openqa.selenium.devtools.v141.webauthn.model.VirtualAuthenticatorOptions
-
Constructor Summary
ConstructorsConstructorDescriptionVirtualAuthenticatorOptions(AuthenticatorProtocol protocol, Optional<Ctap2Version> ctap2Version, AuthenticatorTransport transport, Optional<Boolean> hasResidentKey, Optional<Boolean> hasUserVerification, Optional<Boolean> hasLargeBlob, Optional<Boolean> hasCredBlob, Optional<Boolean> hasMinPinLength, Optional<Boolean> hasPrf, Optional<Boolean> automaticPresenceSimulation, Optional<Boolean> isUserVerified, Optional<Boolean> defaultBackupEligibility, Optional<Boolean> defaultBackupState) -
Method Summary
Modifier and TypeMethodDescriptionIf set to true, tests of user presence will succeed immediately.Defaults to ctap2_0.Credentials created by this authenticator will have the backup eligibility (BE) flag set to this value.Credentials created by this authenticator will have the backup state (BS) flag set to this value.If set to true, the authenticator will support the credBlob extension.If set to true, the authenticator will support the largeBlob extension.If set to true, the authenticator will support the minPinLength extension.If set to true, the authenticator will support the prf extension.Defaults to false.Defaults to false.Sets whether User Verification succeeds or fails for an authenticator.
-
Constructor Details
-
VirtualAuthenticatorOptions
public VirtualAuthenticatorOptions(AuthenticatorProtocol protocol, Optional<Ctap2Version> ctap2Version, AuthenticatorTransport transport, Optional<Boolean> hasResidentKey, Optional<Boolean> hasUserVerification, Optional<Boolean> hasLargeBlob, Optional<Boolean> hasCredBlob, Optional<Boolean> hasMinPinLength, Optional<Boolean> hasPrf, Optional<Boolean> automaticPresenceSimulation, Optional<Boolean> isUserVerified, Optional<Boolean> defaultBackupEligibility, Optional<Boolean> defaultBackupState)
-
-
Method Details
-
getProtocol
-
getCtap2Version
Defaults to ctap2_0. Ignored if |protocol| == u2f. -
getTransport
-
getHasResidentKey
Defaults to false. -
getHasUserVerification
Defaults to false. -
getHasLargeBlob
If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false. -
getHasCredBlob
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. -
getHasMinPinLength
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. -
getHasPrf
If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false. -
getAutomaticPresenceSimulation
If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true. -
getIsUserVerified
Sets whether User Verification succeeds or fails for an authenticator. Defaults to false. -
getDefaultBackupEligibility
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 -
getDefaultBackupState
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
-