Class: Google::Apis::IdentitytoolkitV3::IdentityToolkitService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::IdentitytoolkitV3::IdentityToolkitService
- Defined in:
- generated/google/apis/identitytoolkit_v3/service.rb
Overview
Google Identity Toolkit API
Help the third party sites to implement federated login.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#create_auth_uri(create_auth_uri_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::CreateAuthUriResponse
Creates the URI used by the IdP to authenticate the user.
-
#delete_account(delete_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::DeleteAccountResponse
Delete user account.
-
#download_account(download_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::DownloadAccountResponse
Batch download user accounts.
-
#email_relyingparty_link_signin(identitytoolkit_relyingparty_email_link_signin_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse
Reset password for a user.
-
#get_account_info(get_account_info_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetAccountInfoResponse
Returns the account info.
-
#get_oob_confirmation_code(relyingparty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse
Get a code for user action confirmation.
-
#get_project_config(delegated_project_number: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse
Get project configuration.
-
#get_public_keys(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Hash<String,String>
Get token signing public key.
-
#get_recaptcha_param(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse
Get recaptcha secure param.
-
#initialize ⇒ IdentityToolkitService
constructor
A new instance of IdentityToolkitService.
-
#reset_password(reset_password_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::ResetPasswordResponse
Reset password for a user.
-
#send_relyingparty_verification_code(identitytoolkit_relyingparty_send_verification_code_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeResponse
Send SMS verification code.
-
#set_account_info(set_account_info_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse
Set account info for a user.
-
#set_relyingparty_project_config(set_project_config_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse
Set project configuration.
-
#sign_out_user(sign_out_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::SignOutUserResponse
Sign out user.
-
#signup_new_user(signup_new_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::SignupNewUserResponse
Signup new user.
-
#upload_account(upload_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::UploadAccountResponse
Batch upload existing user accounts.
-
#verify_assertion(verify_assertion_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::VerifyAssertionResponse
Verifies the assertion returned by the IdP.
-
#verify_custom_token(verify_custom_token_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse
Verifies the developer asserted ID token.
-
#verify_password(verify_password_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse
Verifies the user entered password.
-
#verify_relyingparty_phone_number(identitytoolkit_relyingparty_verify_phone_number_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
Verifies ownership of a phone number and creates/updates the user account accordingly.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ IdentityToolkitService
Returns a new instance of IdentityToolkitService
51 52 53 54 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 51 def initialize super('https://www.googleapis.com/', 'identitytoolkit/v3/relyingparty/') @batch_path = 'batch/identitytoolkit/v3' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
44 45 46 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 44 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
49 50 51 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 49 def user_ip @user_ip end |
Instance Method Details
#create_auth_uri(create_auth_uri_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::CreateAuthUriResponse
Creates the URI used by the IdP to authenticate the user.
79 80 81 82 83 84 85 86 87 88 89 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 79 def create_auth_uri(create_auth_uri_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'createAuthUri', ) command.request_representation = Google::Apis::IdentitytoolkitV3::CreateAuthUriRequest::Representation command.request_object = create_auth_uri_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::CreateAuthUriResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::CreateAuthUriResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_account(delete_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::DeleteAccountResponse
Delete user account.
114 115 116 117 118 119 120 121 122 123 124 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 114 def delete_account(delete_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'deleteAccount', ) command.request_representation = Google::Apis::IdentitytoolkitV3::DeleteAccountRequest::Representation command.request_object = delete_account_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::DeleteAccountResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::DeleteAccountResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#download_account(download_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::DownloadAccountResponse
Batch download user accounts.
149 150 151 152 153 154 155 156 157 158 159 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 149 def download_account(download_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'downloadAccount', ) command.request_representation = Google::Apis::IdentitytoolkitV3::DownloadAccountRequest::Representation command.request_object = download_account_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::DownloadAccountResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::DownloadAccountResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#email_relyingparty_link_signin(identitytoolkit_relyingparty_email_link_signin_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse
Reset password for a user.
184 185 186 187 188 189 190 191 192 193 194 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 184 def ( = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'emailLinkSignin', ) command.request_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyEmailLinkSigninRequest::Representation command.request_object = command.response_representation = Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_account_info(get_account_info_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetAccountInfoResponse
Returns the account info.
219 220 221 222 223 224 225 226 227 228 229 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 219 def get_account_info(get_account_info_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'getAccountInfo', ) command.request_representation = Google::Apis::IdentitytoolkitV3::GetAccountInfoRequest::Representation command.request_object = get_account_info_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::GetAccountInfoResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::GetAccountInfoResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_oob_confirmation_code(relyingparty_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse
Get a code for user action confirmation.
254 255 256 257 258 259 260 261 262 263 264 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 254 def get_oob_confirmation_code( = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'getOobConfirmationCode', ) command.request_representation = Google::Apis::IdentitytoolkitV3::Relyingparty::Representation command.request_object = command.response_representation = Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::GetOobConfirmationCodeResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_project_config(delegated_project_number: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse
Get project configuration.
292 293 294 295 296 297 298 299 300 301 302 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 292 def get_project_config(delegated_project_number: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'getProjectConfig', ) command.response_representation = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse command.query['delegatedProjectNumber'] = delegated_project_number unless delegated_project_number.nil? command.query['projectNumber'] = project_number unless project_number.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_public_keys(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Hash<String,String>
Get token signing public key.
326 327 328 329 330 331 332 333 334 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 326 def get_public_keys(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'publicKeys', ) command.response_representation = Hash<String,String>::Representation command.response_class = Hash<String,String> command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_recaptcha_param(fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse
Get recaptcha secure param.
358 359 360 361 362 363 364 365 366 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 358 def get_recaptcha_param(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'getRecaptchaParam', ) command.response_representation = Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::GetRecaptchaParamResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#reset_password(reset_password_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::ResetPasswordResponse
Reset password for a user.
391 392 393 394 395 396 397 398 399 400 401 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 391 def reset_password(reset_password_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'resetPassword', ) command.request_representation = Google::Apis::IdentitytoolkitV3::ResetPasswordRequest::Representation command.request_object = reset_password_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::ResetPasswordResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::ResetPasswordResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#send_relyingparty_verification_code(identitytoolkit_relyingparty_send_verification_code_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeResponse
Send SMS verification code.
426 427 428 429 430 431 432 433 434 435 436 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 426 def ( = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'sendVerificationCode', ) command.request_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeRequest::Representation command.request_object = command.response_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySendVerificationCodeResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_account_info(set_account_info_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse
Set account info for a user.
461 462 463 464 465 466 467 468 469 470 471 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 461 def set_account_info(set_account_info_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'setAccountInfo', ) command.request_representation = Google::Apis::IdentitytoolkitV3::SetAccountInfoRequest::Representation command.request_object = set_account_info_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_relyingparty_project_config(set_project_config_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse
Set project configuration.
496 497 498 499 500 501 502 503 504 505 506 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 496 def (set_project_config_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'setProjectConfig', ) command.request_representation = Google::Apis::IdentitytoolkitV3::SetProjectConfigRequest::Representation command.request_object = set_project_config_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartySetProjectConfigResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#sign_out_user(sign_out_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::SignOutUserResponse
Sign out user.
531 532 533 534 535 536 537 538 539 540 541 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 531 def sign_out_user(sign_out_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'signOutUser', ) command.request_representation = Google::Apis::IdentitytoolkitV3::SignOutUserRequest::Representation command.request_object = sign_out_user_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::SignOutUserResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::SignOutUserResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#signup_new_user(signup_new_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::SignupNewUserResponse
Signup new user.
566 567 568 569 570 571 572 573 574 575 576 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 566 def signup_new_user(signup_new_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'signupNewUser', ) command.request_representation = Google::Apis::IdentitytoolkitV3::SignupNewUserRequest::Representation command.request_object = signup_new_user_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::SignupNewUserResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::SignupNewUserResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#upload_account(upload_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::UploadAccountResponse
Batch upload existing user accounts.
601 602 603 604 605 606 607 608 609 610 611 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 601 def upload_account(upload_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'uploadAccount', ) command.request_representation = Google::Apis::IdentitytoolkitV3::UploadAccountRequest::Representation command.request_object = upload_account_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::UploadAccountResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#verify_assertion(verify_assertion_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::VerifyAssertionResponse
Verifies the assertion returned by the IdP.
636 637 638 639 640 641 642 643 644 645 646 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 636 def verify_assertion(verify_assertion_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'verifyAssertion', ) command.request_representation = Google::Apis::IdentitytoolkitV3::VerifyAssertionRequest::Representation command.request_object = verify_assertion_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::VerifyAssertionResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::VerifyAssertionResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#verify_custom_token(verify_custom_token_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse
Verifies the developer asserted ID token.
671 672 673 674 675 676 677 678 679 680 681 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 671 def verify_custom_token(verify_custom_token_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'verifyCustomToken', ) command.request_representation = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest::Representation command.request_object = verify_custom_token_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#verify_password(verify_password_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse
Verifies the user entered password.
706 707 708 709 710 711 712 713 714 715 716 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 706 def verify_password(verify_password_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'verifyPassword', ) command.request_representation = Google::Apis::IdentitytoolkitV3::VerifyPasswordRequest::Representation command.request_object = verify_password_request_object command.response_representation = Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#verify_relyingparty_phone_number(identitytoolkit_relyingparty_verify_phone_number_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
Verifies ownership of a phone number and creates/updates the user account accordingly.
742 743 744 745 746 747 748 749 750 751 752 |
# File 'generated/google/apis/identitytoolkit_v3/service.rb', line 742 def ( = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'verifyPhoneNumber', ) command.request_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest::Representation command.request_object = command.response_representation = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse::Representation command.response_class = Google::Apis::IdentitytoolkitV3::IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |