Class: Google::Apis::IdentitytoolkitV3::VerifyPasswordRequest

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

Overview

Request to verify the password.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VerifyPasswordRequest

Returns a new instance of VerifyPasswordRequest



1443
1444
1445
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1443

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

Instance Attribute Details

#captcha_challengeString

The captcha challenge. Corresponds to the JSON property captchaChallenge

Returns:

  • (String)


1399
1400
1401
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1399

def captcha_challenge
  @captcha_challenge
end

#captcha_responseString

Response to the captcha. Corresponds to the JSON property captchaResponse

Returns:

  • (String)


1404
1405
1406
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1404

def captcha_response
  @captcha_response
end

#delegated_project_numberFixnum

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration. Corresponds to the JSON property delegatedProjectNumber

Returns:

  • (Fixnum)


1410
1411
1412
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1410

def delegated_project_number
  @delegated_project_number
end

#emailString

The email of the user. Corresponds to the JSON property email

Returns:

  • (String)


1415
1416
1417
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1415

def email
  @email
end

#id_tokenString

The GITKit token of the authenticated user. Corresponds to the JSON property idToken

Returns:

  • (String)


1420
1421
1422
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1420

def id_token
  @id_token
end

#instance_idString

Instance id token of the app. Corresponds to the JSON property instanceId

Returns:

  • (String)


1425
1426
1427
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1425

def instance_id
  @instance_id
end

#passwordString

The password inputed by the user. Corresponds to the JSON property password

Returns:

  • (String)


1430
1431
1432
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1430

def password
  @password
end

#pending_id_tokenString

The GITKit token for the non-trusted IDP, which is to be confirmed by the user. Corresponds to the JSON property pendingIdToken

Returns:

  • (String)


1435
1436
1437
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1435

def pending_id_token
  @pending_id_token
end

#return_secure_tokenBoolean Also known as: return_secure_token?

Whether return sts id token and refresh token instead of gitkit token. Corresponds to the JSON property returnSecureToken

Returns:

  • (Boolean)


1440
1441
1442
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1440

def return_secure_token
  @return_secure_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1448

def update!(**args)
  @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge)
  @captcha_response = args[:captcha_response] if args.key?(:captcha_response)
  @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
  @email = args[:email] if args.key?(:email)
  @id_token = args[:id_token] if args.key?(:id_token)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
  @password = args[:password] if args.key?(:password)
  @pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token)
  @return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
end