Class AccountAuthenticatorProperties
java.lang.Object
co.ankatech.keymanagement.client.auth.model.AccountAuthenticatorProperties
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AccountAuthenticatorProperties
extends Object
Capability properties of an authenticator; a property is true only when it is established
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeviceBound(Boolean deviceBound) discoverable(Boolean discoverable) booleanCreate an instance of AccountAuthenticatorProperties given an JSON stringThe attestation verified against a trust anchor of the loaded FIDO metadataThe credential cannot leave the authenticator it was created on (BE flag clear)The credential is discoverable (credProps rk); null when the browser did not report itA verified attestation states a hardware key storeThe proof is bound to the origin of the relying party (every passkey; never TOTP)The credential may be synced to the person's other devices (WebAuthn BE flag set)The authenticator verifies the person on every use (WebAuthn UV flag)hardwareBacked(Boolean hardwareBacked) inthashCode()phishingResistant(Boolean phishingResistant) voidsetAttested(Boolean attested) voidsetDeviceBound(Boolean deviceBound) voidsetDiscoverable(Boolean discoverable) voidsetHardwareBacked(Boolean hardwareBacked) voidsetPhishingResistant(Boolean phishingResistant) voidsetSyncable(Boolean syncable) voidsetUserVerifying(Boolean userVerifying) toJson()Convert an instance of AccountAuthenticatorProperties to an JSON stringtoString()userVerifying(Boolean userVerifying) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundstatic voidvalidateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare.
-
Field Details
-
SERIALIZED_NAME_PHISHING_RESISTANT
- See Also:
-
SERIALIZED_NAME_USER_VERIFYING
- See Also:
-
SERIALIZED_NAME_SYNCABLE
- See Also:
-
SERIALIZED_NAME_DEVICE_BOUND
- See Also:
-
SERIALIZED_NAME_HARDWARE_BACKED
- See Also:
-
SERIALIZED_NAME_ATTESTED
- See Also:
-
SERIALIZED_NAME_DISCOVERABLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountAuthenticatorProperties
public AccountAuthenticatorProperties()
-
-
Method Details
-
phishingResistant
-
getPhishingResistant
The proof is bound to the origin of the relying party (every passkey; never TOTP)- Returns:
- phishingResistant
-
setPhishingResistant
-
userVerifying
-
getUserVerifying
The authenticator verifies the person on every use (WebAuthn UV flag)- Returns:
- userVerifying
-
setUserVerifying
-
syncable
-
getSyncable
The credential may be synced to the person's other devices (WebAuthn BE flag set)- Returns:
- syncable
-
setSyncable
-
deviceBound
-
getDeviceBound
The credential cannot leave the authenticator it was created on (BE flag clear)- Returns:
- deviceBound
-
setDeviceBound
-
hardwareBacked
-
getHardwareBacked
A verified attestation states a hardware key store- Returns:
- hardwareBacked
-
setHardwareBacked
-
attested
-
getAttested
The attestation verified against a trust anchor of the loaded FIDO metadata- Returns:
- attested
-
setAttested
-
discoverable
-
getDiscoverable
The credential is discoverable (credProps rk); null when the browser did not report it- Returns:
- discoverable
-
setDiscoverable
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to AccountAuthenticatorProperties
-
validateJsonElementAsCandidate
public static void validateJsonElementAsCandidate(com.google.gson.JsonElement jsonElement) throws IOException Validates the JSON Element as a candidate of a oneOf schema: the checks ofvalidateJsonElement(JsonElement), and the element carries no member this model does not declare. A oneOf schema without a discriminator tells its candidates apart by their member sets, so a candidate is matched on its closed member set.- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is not a AccountAuthenticatorProperties
-
fromJson
Create an instance of AccountAuthenticatorProperties given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountAuthenticatorProperties
- Throws:
IOException- if the JSON string is invalid with respect to AccountAuthenticatorProperties
-
toJson
Convert an instance of AccountAuthenticatorProperties to an JSON string- Returns:
- JSON string
-