Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse

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 authenticate the user with an existing FIDO key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse.



2146
2147
2148
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2146

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

Instance Attribute Details

#authenticator_assertion_responseGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse

Authentication response from a FIDO authenticator. Corresponds to the JSON property authenticatorAssertionResponse



2133
2134
2135
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2133

def authenticator_assertion_response
  @authenticator_assertion_response
end

#credential_idString

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

Returns:

  • (String)


2139
2140
2141
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2139

def credential_id
  @credential_id
end

#credential_typeString

The type of public key. Corresponds to the JSON property credentialType

Returns:

  • (String)


2144
2145
2146
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2144

def credential_type
  @credential_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2151
2152
2153
2154
2155
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2151

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