Class AccountPasskeyRegistrationCredential
java.lang.Object
co.ankatech.keymanagement.client.auth.model.AccountPasskeyRegistrationCredential
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AccountPasskeyRegistrationCredential
extends Object
WebAuthn RegistrationResponseJSON members
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTransportsItem(String transportsItem) attestationObject(String attestationObject) clientDataJSON(String clientDataJSON) credPropsRk(Boolean credPropsRk) booleanCreate an instance of AccountPasskeyRegistrationCredential given an JSON stringresponse.attestationObject, base64urlresponse.clientDataJSON, base64urlclientExtensionResults.credProps.rk; null when the browser did not report itgetId()The credential id, base64urlThe transport hints the browser reported, at most 8inthashCode()voidsetAttestationObject(String attestationObject) voidsetClientDataJSON(String clientDataJSON) voidsetCredPropsRk(Boolean credPropsRk) voidvoidsetTransports(List<String> transports) toJson()Convert an instance of AccountPasskeyRegistrationCredential to an JSON stringtoString()transports(List<String> transports) 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_ID
- See Also:
-
SERIALIZED_NAME_CLIENT_DATA_J_S_O_N
- See Also:
-
SERIALIZED_NAME_ATTESTATION_OBJECT
- See Also:
-
SERIALIZED_NAME_TRANSPORTS
- See Also:
-
SERIALIZED_NAME_CRED_PROPS_RK
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountPasskeyRegistrationCredential
public AccountPasskeyRegistrationCredential()
-
-
Method Details
-
id
-
getId
The credential id, base64url- Returns:
- id
-
setId
-
clientDataJSON
-
getClientDataJSON
response.clientDataJSON, base64url- Returns:
- clientDataJSON
-
setClientDataJSON
-
attestationObject
-
getAttestationObject
response.attestationObject, base64url- Returns:
- attestationObject
-
setAttestationObject
-
transports
-
addTransportsItem
-
getTransports
The transport hints the browser reported, at most 8- Returns:
- transports
-
setTransports
-
credPropsRk
-
getCredPropsRk
clientExtensionResults.credProps.rk; null when the browser did not report it- Returns:
- credPropsRk
-
setCredPropsRk
-
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 AccountPasskeyRegistrationCredential
-
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 AccountPasskeyRegistrationCredential
-
fromJson
Create an instance of AccountPasskeyRegistrationCredential given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountPasskeyRegistrationCredential
- Throws:
IOException- if the JSON string is invalid with respect to AccountPasskeyRegistrationCredential
-
toJson
Convert an instance of AccountPasskeyRegistrationCredential to an JSON string- Returns:
- JSON string
-