Class VirtualAuthenticatorOptions
- java.lang.Object
-
- org.openqa.selenium.devtools.v110.webauthn.model.VirtualAuthenticatorOptions
-
public class VirtualAuthenticatorOptions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VirtualAuthenticatorOptions(AuthenticatorProtocol protocol, java.util.Optional<Ctap2Version> ctap2Version, AuthenticatorTransport transport, java.util.Optional<java.lang.Boolean> hasResidentKey, java.util.Optional<java.lang.Boolean> hasUserVerification, java.util.Optional<java.lang.Boolean> hasLargeBlob, java.util.Optional<java.lang.Boolean> hasCredBlob, java.util.Optional<java.lang.Boolean> hasMinPinLength, java.util.Optional<java.lang.Boolean> automaticPresenceSimulation, java.util.Optional<java.lang.Boolean> isUserVerified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Boolean>getAutomaticPresenceSimulation()If set to true, tests of user presence will succeed immediately.java.util.Optional<Ctap2Version>getCtap2Version()Defaults to ctap2_0.java.util.Optional<java.lang.Boolean>getHasCredBlob()If set to true, the authenticator will support the credBlob extension.java.util.Optional<java.lang.Boolean>getHasLargeBlob()If set to true, the authenticator will support the largeBlob extension.java.util.Optional<java.lang.Boolean>getHasMinPinLength()If set to true, the authenticator will support the minPinLength extension.java.util.Optional<java.lang.Boolean>getHasResidentKey()Defaults to false.java.util.Optional<java.lang.Boolean>getHasUserVerification()Defaults to false.java.util.Optional<java.lang.Boolean>getIsUserVerified()Sets whether User Verification succeeds or fails for an authenticator.AuthenticatorProtocolgetProtocol()AuthenticatorTransportgetTransport()
-
-
-
Constructor Detail
-
VirtualAuthenticatorOptions
public VirtualAuthenticatorOptions(AuthenticatorProtocol protocol, java.util.Optional<Ctap2Version> ctap2Version, AuthenticatorTransport transport, java.util.Optional<java.lang.Boolean> hasResidentKey, java.util.Optional<java.lang.Boolean> hasUserVerification, java.util.Optional<java.lang.Boolean> hasLargeBlob, java.util.Optional<java.lang.Boolean> hasCredBlob, java.util.Optional<java.lang.Boolean> hasMinPinLength, java.util.Optional<java.lang.Boolean> automaticPresenceSimulation, java.util.Optional<java.lang.Boolean> isUserVerified)
-
-
Method Detail
-
getProtocol
public AuthenticatorProtocol getProtocol()
-
getCtap2Version
public java.util.Optional<Ctap2Version> getCtap2Version()
Defaults to ctap2_0. Ignored if |protocol| == u2f.
-
getTransport
public AuthenticatorTransport getTransport()
-
getHasResidentKey
public java.util.Optional<java.lang.Boolean> getHasResidentKey()
Defaults to false.
-
getHasUserVerification
public java.util.Optional<java.lang.Boolean> getHasUserVerification()
Defaults to false.
-
getHasLargeBlob
public java.util.Optional<java.lang.Boolean> getHasLargeBlob()
If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
-
getHasCredBlob
public java.util.Optional<java.lang.Boolean> 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
public java.util.Optional<java.lang.Boolean> 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.
-
getAutomaticPresenceSimulation
public java.util.Optional<java.lang.Boolean> getAutomaticPresenceSimulation()
If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
-
getIsUserVerified
public java.util.Optional<java.lang.Boolean> getIsUserVerified()
Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.
-
-