Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse

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

FinalizeMfaSignIn response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse

Returns a new instance of GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse.



2337
2338
2339
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2337

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

Instance Attribute Details

#id_tokenString

ID token for the authenticated user. Corresponds to the JSON property idToken

Returns:

  • (String)


2325
2326
2327
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2325

def id_token
  @id_token
end

#phone_auth_infoGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo

Phone Verification info for a FinalizeMfa response. Corresponds to the JSON property phoneAuthInfo



2330
2331
2332
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2330

def phone_auth_info
  @phone_auth_info
end

#refresh_tokenString

Refresh token for the authenticated user. Corresponds to the JSON property refreshToken

Returns:

  • (String)


2335
2336
2337
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2335

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2342
2343
2344
2345
2346
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2342

def update!(**args)
  @id_token = args[:id_token] if args.key?(:id_token)
  @phone_auth_info = args[:phone_auth_info] if args.key?(:phone_auth_info)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end