Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse

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

Authenticator response to register a new FIDO key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse.



2178
2179
2180
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2178

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

Instance Attribute Details

#authenticator_attestation_responseGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse

Attestation response from a FIDO authenticator. Corresponds to the JSON property authenticatorAttestationResponse



2165
2166
2167
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2165

def authenticator_attestation_response
  @authenticator_attestation_response
end

#credential_idString

Identifier for the registered credential. Corresponds to the JSON property credentialId NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2171
2172
2173
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2171

def credential_id
  @credential_id
end

#credential_typeString

The type of credential. Corresponds to the JSON property credentialType

Returns:

  • (String)


2176
2177
2178
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2176

def credential_type
  @credential_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2183
2184
2185
2186
2187
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2183

def update!(**args)
  @authenticator_attestation_response = args[:authenticator_attestation_response] if args.key?(:authenticator_attestation_response)
  @credential_id = args[:credential_id] if args.key?(:credential_id)
  @credential_type = args[:credential_type] if args.key?(:credential_type)
end