Package Torello.Browser.BrowserAPI
Class WebAuthn.VirtualAuthenticatorOptions
- java.lang.Object
-
- Torello.Browser.BaseType<WebAuthn.VirtualAuthenticatorOptions>
-
- Torello.Browser.BrowserAPI.WebAuthn.VirtualAuthenticatorOptions
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- WebAuthn
public static class WebAuthn.VirtualAuthenticatorOptions extends BaseType<WebAuthn.VirtualAuthenticatorOptions> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theWebAuthndomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.[No Description Provided by Google]- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/WebAuthn.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/WebAuthn.java
File Size: 6,559 Bytes Line Count: 151 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: WebAuthn$$VirtualAuthenticatorOptions$$.java
- Open New Browser-Tab: WebAuthn$$VirtualAuthenticatorOptions$$.java
File Size: 16,401 Bytes Line Count: 353 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description BooleanautomaticPresenceSimulationIf set to true, tests of user presence will succeed immediately.Stringctap2VersionDefaults to ctap2_0.BooleandefaultBackupEligibilityCredentials created by this authenticator will have the backup eligibility (BE) flag set to this value.BooleandefaultBackupStateCredentials created by this authenticator will have the backup state (BS) flag set to this value.BooleanhasCredBlobIf set to true, the authenticator will support the credBlob extension.BooleanhasLargeBlobIf set to true, the authenticator will support the largeBlob extension.BooleanhasMinPinLengthIf set to true, the authenticator will support the minPinLength extension.BooleanhasPrfIf set to true, the authenticator will support the prf extension.BooleanhasResidentKeyDefaults to false.BooleanhasUserVerificationDefaults to false.BooleanisUserVerifiedSets whether User Verification succeeds or fails for an authenticator.Stringprotocol[No Description Provided by Google]Stringtransport[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description VirtualAuthenticatorOptions(ReadOnlyList<Boolean> isPresent, String protocol, String ctap2Version, String transport, Boolean hasResidentKey, Boolean hasUserVerification, Boolean hasLargeBlob, Boolean hasCredBlob, Boolean hasMinPinLength, Boolean hasPrf, Boolean automaticPresenceSimulation, Boolean isUserVerified, Boolean defaultBackupEligibility, Boolean defaultBackupState)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static WebAuthn.VirtualAuthenticatorOptionsfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<WebAuthn.VirtualAuthenticatorOptions>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
protocol
public final java.lang.String protocol
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎WebAuthn.AuthenticatorProtocol
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = WebAuthn.AuthenticatorProtocol.enumStrList("protocol"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
ctap2Version
public final java.lang.String ctap2Version
Defaults to ctap2_0. Ignored if |protocol| == u2f.
OPTIONALThis particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎WebAuthn.Ctap2Version
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = WebAuthn.Ctap2Version.enumStrList("ctap2Version"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
transport
public final java.lang.String transport
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎WebAuthn.AuthenticatorTransport
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = WebAuthn.AuthenticatorTransport.enumStrList("transport"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
hasResidentKey
public final java.lang.Boolean hasResidentKey
Defaults to false.
OPTIONAL
-
hasUserVerification
public final java.lang.Boolean hasUserVerification
Defaults to false.
OPTIONAL
-
hasLargeBlob
public final java.lang.Boolean hasLargeBlob
If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
OPTIONAL
-
hasCredBlob
public final java.lang.Boolean 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.
OPTIONAL
-
hasMinPinLength
public final java.lang.Boolean 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.
OPTIONAL
-
hasPrf
public final java.lang.Boolean hasPrf
If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false.
OPTIONAL
-
automaticPresenceSimulation
public final java.lang.Boolean automaticPresenceSimulation
If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
OPTIONAL
-
isUserVerified
public final java.lang.Boolean isUserVerified
Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.
OPTIONAL
-
defaultBackupEligibility
public final java.lang.Boolean 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
OPTIONAL
-
defaultBackupState
public final java.lang.Boolean 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
OPTIONAL
-
-
Constructor Detail
-
VirtualAuthenticatorOptions
public VirtualAuthenticatorOptions (ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String protocol, java.lang.String ctap2Version, java.lang.String transport, java.lang.Boolean hasResidentKey, java.lang.Boolean hasUserVerification, java.lang.Boolean hasLargeBlob, java.lang.Boolean hasCredBlob, java.lang.Boolean hasMinPinLength, java.lang.Boolean hasPrf, java.lang.Boolean automaticPresenceSimulation, java.lang.Boolean isUserVerified, java.lang.Boolean defaultBackupEligibility, java.lang.Boolean defaultBackupState)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static WebAuthn.VirtualAuthenticatorOptions fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<WebAuthn.VirtualAuthenticatorOptions> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-