Package Torello.Browser
Class WebAuthn.VirtualAuthenticatorOptions
- java.lang.Object
-
- Torello.Java.JSON.BaseType
-
- Torello.Browser.WebAuthn.VirtualAuthenticatorOptions
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- WebAuthn
public static class WebAuthn.VirtualAuthenticatorOptions extends BaseType implements java.io.Serializable
[No Description Provided by Google]
- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Browser/WebAuthn.java
- Open New Browser-Tab: Torello/Browser/WebAuthn.java
File Size: 8,595 Bytes Line Count: 193 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field Boolean
automaticPresenceSimulation
If set to true, tests of user presence will succeed immediately.String
ctap2Version
Defaults to ctap2_0.Boolean
hasCredBlob
If set to true, the authenticator will support the credBlob extension.Boolean
hasLargeBlob
If set to true, the authenticator will support the largeBlob extension.Boolean
hasResidentKey
Defaults to false.Boolean
hasUserVerification
Defaults to false.Boolean
isUserVerified
Sets whether User Verification succeeds or fails for an authenticator.String
protocol
[No Description Provided by Google]
String
transport
[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description VirtualAuthenticatorOptions(String protocol, String ctap2Version, String transport, Boolean hasResidentKey, Boolean hasUserVerification, Boolean hasLargeBlob, Boolean hasCredBlob, Boolean automaticPresenceSimulation, Boolean isUserVerified)
ConstructorVirtualAuthenticatorOptions(JsonObject jo)
JSON Object Constructor
-
Method Summary
Generate Array that Indicates which Parameter are Optional Modifier and Type Method boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
Checks whether'this'
equals an input Java-Object
int
hashCode()
Generates a Hash-Code for'this'
instance
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
protocol
public final java.lang.String protocol
[No Description Provided by Google]
-
ctap2Version
public final java.lang.String ctap2Version
Defaults to ctap2_0. Ignored if |protocol| == u2f.
OPTIONAL
-
transport
public final java.lang.String transport
[No Description Provided by Google]
-
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
-
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
-
-
Constructor Detail
-
VirtualAuthenticatorOptions
public VirtualAuthenticatorOptions (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 automaticPresenceSimulation, java.lang.Boolean isUserVerified)
Constructor- Parameters:
protocol
- -ctap2Version
- Defaults to ctap2_0. Ignored if |protocol| == u2f.
OPTIONALtransport
- -hasResidentKey
- Defaults to false.
OPTIONALhasUserVerification
- Defaults to false.
OPTIONALhasLargeBlob
- If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
OPTIONALhasCredBlob
- 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.
OPTIONALautomaticPresenceSimulation
- If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
OPTIONALisUserVerified
- Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.
OPTIONAL
-
VirtualAuthenticatorOptions
public VirtualAuthenticatorOptions(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'VirtualAuthenticatorOptions'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
equals
public boolean equals(java.lang.Object other)
Checks whether'this'
equals an input Java-Object
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
if (other == null) return false; if (other.getClass() != this.getClass()) return false; VirtualAuthenticatorOptions o = (VirtualAuthenticatorOptions) other; return Objects.equals(this.protocol, o.protocol) && Objects.equals(this.ctap2Version, o.ctap2Version) && Objects.equals(this.transport, o.transport) && Objects.equals(this.hasResidentKey, o.hasResidentKey) && Objects.equals(this.hasUserVerification, o.hasUserVerification) && Objects.equals(this.hasLargeBlob, o.hasLargeBlob) && Objects.equals(this.hasCredBlob, o.hasCredBlob) && Objects.equals(this.automaticPresenceSimulation, o.automaticPresenceSimulation) && Objects.equals(this.isUserVerified, o.isUserVerified);
-
hashCode
public int hashCode()
Generates a Hash-Code for'this'
instance- Overrides:
hashCode
in classjava.lang.Object
- Code:
- Exact Method Body:
return Objects.hashCode(this.protocol) + Objects.hashCode(this.ctap2Version) + Objects.hashCode(this.transport) + Objects.hashCode(this.hasResidentKey) + Objects.hashCode(this.hasUserVerification) + Objects.hashCode(this.hasLargeBlob) + Objects.hashCode(this.hasCredBlob) + Objects.hashCode(this.automaticPresenceSimulation) + Objects.hashCode(this.isUserVerified);
-
-