Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

Attestation response from a FIDO authenticator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse.



2114
2115
2116
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2114

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attestation_objectString

The attestation object from the authenticator. Corresponds to the JSON property attestationObject NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2101
2102
2103
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2101

def attestation_object
  @attestation_object
end

#client_data_jsonString

The CollectedClientData object from the authenticator. Corresponds to the JSON property clientDataJson NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2107
2108
2109
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2107

def client_data_json
  @client_data_json
end

#transportsArray<String>

Authenticator transports that are supported by the authenticator. Corresponds to the JSON property transports

Returns:

  • (Array<String>)


2112
2113
2114
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2112

def transports
  @transports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2119
2120
2121
2122
2123
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2119

def update!(**args)
  @attestation_object = args[:attestation_object] if args.key?(:attestation_object)
  @client_data_json = args[:client_data_json] if args.key?(:client_data_json)
  @transports = args[:transports] if args.key?(:transports)
end