Class: Google::Apis::IdentitytoolkitV3::VerifyPasswordRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::VerifyPasswordRequest
- 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
-
#captcha_challenge ⇒ String
The captcha challenge.
-
#captcha_response ⇒ String
Response to the captcha.
-
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app.
-
#email ⇒ String
The email of the user.
-
#id_token ⇒ String
The GITKit token of the authenticated user.
-
#instance_id ⇒ String
Instance id token of the app.
-
#password ⇒ String
The password inputed by the user.
-
#pending_id_token ⇒ String
The GITKit token for the non-trusted IDP, which is to be confirmed by the user.
-
#return_secure_token ⇒ Boolean
(also: #return_secure_token?)
Whether return sts id token and refresh token instead of gitkit token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyPasswordRequest
constructor
A new instance of VerifyPasswordRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VerifyPasswordRequest
Returns a new instance of VerifyPasswordRequest
1350 1351 1352 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#captcha_challenge ⇒ String
The captcha challenge.
Corresponds to the JSON property captchaChallenge
1306 1307 1308 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1306 def captcha_challenge @captcha_challenge end |
#captcha_response ⇒ String
Response to the captcha.
Corresponds to the JSON property captchaResponse
1311 1312 1313 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1311 def captcha_response @captcha_response end |
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app. Currently only intended
for Firebase V1 migration.
Corresponds to the JSON property delegatedProjectNumber
1317 1318 1319 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1317 def delegated_project_number @delegated_project_number end |
#email ⇒ String
The email of the user.
Corresponds to the JSON property email
1322 1323 1324 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1322 def email @email end |
#id_token ⇒ String
The GITKit token of the authenticated user.
Corresponds to the JSON property idToken
1327 1328 1329 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1327 def id_token @id_token end |
#instance_id ⇒ String
Instance id token of the app.
Corresponds to the JSON property instanceId
1332 1333 1334 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1332 def instance_id @instance_id end |
#password ⇒ String
The password inputed by the user.
Corresponds to the JSON property password
1337 1338 1339 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1337 def password @password end |
#pending_id_token ⇒ String
The GITKit token for the non-trusted IDP, which is to be confirmed by the user.
Corresponds to the JSON property pendingIdToken
1342 1343 1344 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1342 def pending_id_token @pending_id_token end |
#return_secure_token ⇒ Boolean Also known as: return_secure_token?
Whether return sts id token and refresh token instead of gitkit token.
Corresponds to the JSON property returnSecureToken
1347 1348 1349 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1347 def return_secure_token @return_secure_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1355 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 |