Class: Google::Apis::IdentitytoolkitV3::Relyingparty

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 of getting a code for user confirmation (reset password, change email etc.)

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) ⇒ Relyingparty

Returns a new instance of Relyingparty.


1302
1303
1304
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1302

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

Instance Attribute Details

#captcha_respString

The recaptcha response from the user. Corresponds to the JSON property captchaResp

Returns:

  • (String)

1265
1266
1267
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1265

def captcha_resp
  @captcha_resp
end

#challengeString

The recaptcha challenge presented to the user. Corresponds to the JSON property challenge

Returns:

  • (String)

1270
1271
1272
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1270

def challenge
  @challenge
end

#emailString

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

Returns:

  • (String)

1275
1276
1277
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1275

def email
  @email
end

#id_tokenString

The user's Gitkit login token for email change. Corresponds to the JSON property idToken

Returns:

  • (String)

1280
1281
1282
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1280

def id_token
  @id_token
end

#kindString

The fixed string "identitytoolkit#relyingparty". Corresponds to the JSON property kind

Returns:

  • (String)

1285
1286
1287
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1285

def kind
  @kind
end

#new_emailString

The new email if the code is for email change. Corresponds to the JSON property newEmail

Returns:

  • (String)

1290
1291
1292
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1290

def new_email
  @new_email
end

#request_typeString

The request type. Corresponds to the JSON property requestType

Returns:

  • (String)

1295
1296
1297
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1295

def request_type
  @request_type
end

#user_ipString

The IP address of the user. Corresponds to the JSON property userIp

Returns:

  • (String)

1300
1301
1302
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1300

def user_ip
  @user_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1307

def update!(**args)
  @captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp)
  @challenge = args[:challenge] if args.key?(:challenge)
  @email = args[:email] if args.key?(:email)
  @id_token = args[:id_token] if args.key?(:id_token)
  @kind = args[:kind] if args.key?(:kind)
  @new_email = args[:new_email] if args.key?(:new_email)
  @request_type = args[:request_type] if args.key?(:request_type)
  @user_ip = args[:user_ip] if args.key?(:user_ip)
end