Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse

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

Authentication response from a FIDO authenticator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse.



2080
2081
2082
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2080

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

Instance Attribute Details

#authenticator_dataString

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

Returns:

  • (String)


2060
2061
2062
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2060

def authenticator_data
  @authenticator_data
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)


2066
2067
2068
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2066

def client_data_json
  @client_data_json
end

#signatureString

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

Returns:

  • (String)


2072
2073
2074
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2072

def signature
  @signature
end

#user_handleString

The user handle. Corresponds to the JSON property userHandle NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2078
2079
2080
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2078

def user_handle
  @user_handle
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2085
2086
2087
2088
2089
2090
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2085

def update!(**args)
  @authenticator_data = args[:authenticator_data] if args.key?(:authenticator_data)
  @client_data_json = args[:client_data_json] if args.key?(:client_data_json)
  @signature = args[:signature] if args.key?(:signature)
  @user_handle = args[:user_handle] if args.key?(:user_handle)
end