2015-06-23 23:05:46 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module IdentitytoolkitV3
|
|
|
|
|
|
|
|
class CreateAuthUriResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DeleteAccountResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DownloadAccountResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2017-10-04 00:35:08 +00:00
|
|
|
class EmailLinkSigninResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
class EmailTemplate
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class GetAccountInfoResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class GetOobConfirmationCodeResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class GetRecaptchaParamResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CreateAuthUriRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DeleteAccountRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class DownloadAccountRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2017-10-04 00:35:08 +00:00
|
|
|
class IdentitytoolkitRelyingpartyEmailLinkSigninRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class GetAccountInfoRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class GetProjectConfigResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class ResetPasswordRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2017-08-27 00:35:39 +00:00
|
|
|
class IdentitytoolkitRelyingpartySendVerificationCodeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class IdentitytoolkitRelyingpartySendVerificationCodeResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class SetAccountInfoRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
class SetProjectConfigRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class IdentitytoolkitRelyingpartySetProjectConfigResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2016-01-14 18:49:46 +00:00
|
|
|
class SignOutUserRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-14 18:49:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SignOutUserResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SignupNewUserRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-14 18:49:46 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class UploadAccountRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VerifyAssertionRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2016-01-14 18:49:46 +00:00
|
|
|
class VerifyCustomTokenRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-14 18:49:46 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class VerifyPasswordRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2017-08-27 00:35:39 +00:00
|
|
|
class IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class IdpConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Relyingparty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ResetPasswordResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class SetAccountInfoResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
class ProviderUserInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SignupNewUserResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class UploadAccountResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
class Error
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class UserInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
class ProviderUserInfo
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class VerifyAssertionResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
2016-01-14 18:49:46 +00:00
|
|
|
class VerifyCustomTokenResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2016-01-14 18:49:46 +00:00
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class VerifyPasswordResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class CreateAuthUriResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2016-01-22 19:23:05 +00:00
|
|
|
collection :all_providers, as: 'allProviders'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :auth_uri, as: 'authUri'
|
|
|
|
property :captcha_required, as: 'captchaRequired'
|
|
|
|
property :for_existing_provider, as: 'forExistingProvider'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :provider_id, as: 'providerId'
|
|
|
|
property :registered, as: 'registered'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :session_id, as: 'sessionId'
|
2017-10-04 00:35:08 +00:00
|
|
|
collection :signin_methods, as: 'signinMethods'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DeleteAccountResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DownloadAccountResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-10-04 00:35:08 +00:00
|
|
|
class EmailLinkSigninResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :is_new_user, as: 'isNewUser'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :local_id, as: 'localId'
|
|
|
|
property :refresh_token, as: 'refreshToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
class EmailTemplate
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :body, as: 'body'
|
|
|
|
property :format, as: 'format'
|
|
|
|
property :from, as: 'from'
|
|
|
|
property :from_display_name, as: 'fromDisplayName'
|
|
|
|
property :reply_to, as: 'replyTo'
|
|
|
|
property :subject, as: 'subject'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class GetAccountInfoResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GetOobConfirmationCodeResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2015-12-03 01:10:07 +00:00
|
|
|
property :email, as: 'email'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :oob_code, as: 'oobCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class GetRecaptchaParamResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :recaptcha_site_key, as: 'recaptchaSiteKey'
|
|
|
|
property :recaptcha_stoken, as: 'recaptchaStoken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateAuthUriRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :app_id, as: 'appId'
|
2016-08-17 17:19:48 +00:00
|
|
|
property :auth_flow_type, as: 'authFlowType'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :client_id, as: 'clientId'
|
|
|
|
property :context, as: 'context'
|
|
|
|
property :continue_uri, as: 'continueUri'
|
2016-10-04 00:27:26 +00:00
|
|
|
hash :custom_parameter, as: 'customParameter'
|
2016-08-08 20:25:38 +00:00
|
|
|
property :hosted_domain, as: 'hostedDomain'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :identifier, as: 'identifier'
|
|
|
|
property :oauth_consumer_key, as: 'oauthConsumerKey'
|
|
|
|
property :oauth_scope, as: 'oauthScope'
|
|
|
|
property :openid_realm, as: 'openidRealm'
|
|
|
|
property :ota_app, as: 'otaApp'
|
|
|
|
property :provider_id, as: 'providerId'
|
2016-08-17 17:19:48 +00:00
|
|
|
property :session_id, as: 'sessionId'
|
2018-05-18 00:36:22 +00:00
|
|
|
property :tenant_id, as: 'tenantId'
|
|
|
|
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DeleteAccountRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :id_token, as: 'idToken'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :local_id, as: 'localId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DownloadAccountRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :max_results, as: 'maxResults'
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-01-13 23:04:35 +00:00
|
|
|
property :target_project_id, as: 'targetProjectId'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-10-04 00:35:08 +00:00
|
|
|
class IdentitytoolkitRelyingpartyEmailLinkSigninRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :oob_code, as: 'oobCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class GetAccountInfoRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :email, as: 'email'
|
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
collection :local_id, as: 'localId'
|
2017-07-12 20:10:42 +00:00
|
|
|
collection :phone_number, as: 'phoneNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class GetProjectConfigResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :allow_password_user, as: 'allowPasswordUser'
|
|
|
|
property :api_key, as: 'apiKey'
|
2016-03-11 22:41:20 +00:00
|
|
|
collection :authorized_domains, as: 'authorizedDomains'
|
|
|
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
2016-11-08 23:43:14 +00:00
|
|
|
property :dynamic_links_domain, as: 'dynamicLinksDomain'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
2015-12-03 01:10:07 +00:00
|
|
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
property :project_id, as: 'projectId'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
|
|
|
property :use_email_sending, as: 'useEmailSending'
|
|
|
|
property :verify_email_template, as: 'verifyEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class ResetPasswordRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :new_password, as: 'newPassword'
|
|
|
|
property :old_password, as: 'oldPassword'
|
|
|
|
property :oob_code, as: 'oobCode'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-27 00:35:39 +00:00
|
|
|
class IdentitytoolkitRelyingpartySendVerificationCodeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ios_receipt, as: 'iosReceipt'
|
|
|
|
property :ios_secret, as: 'iosSecret'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :recaptcha_token, as: 'recaptchaToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class IdentitytoolkitRelyingpartySendVerificationCodeResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :session_info, as: 'sessionInfo'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class SetAccountInfoRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :captcha_challenge, as: 'captchaChallenge'
|
|
|
|
property :captcha_response, as: 'captchaResponse'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :created_at, :numeric_string => true, as: 'createdAt'
|
2017-08-27 00:35:39 +00:00
|
|
|
property :custom_attributes, as: 'customAttributes'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2016-03-11 22:41:20 +00:00
|
|
|
collection :delete_attribute, as: 'deleteAttribute'
|
|
|
|
collection :delete_provider, as: 'deleteProvider'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :disable_user, as: 'disableUser'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :email_verified, as: 'emailVerified'
|
|
|
|
property :id_token, as: 'idToken'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :instance_id, as: 'instanceId'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :last_login_at, :numeric_string => true, as: 'lastLoginAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :local_id, as: 'localId'
|
|
|
|
property :oob_code, as: 'oobCode'
|
|
|
|
property :password, as: 'password'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :phone_number, as: 'phoneNumber'
|
2016-02-10 21:57:13 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :provider, as: 'provider'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :return_secure_token, as: 'returnSecureToken'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :valid_since, :numeric_string => true, as: 'validSince'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
class SetProjectConfigRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :allow_password_user, as: 'allowPasswordUser'
|
|
|
|
property :api_key, as: 'apiKey'
|
2016-04-14 18:15:27 +00:00
|
|
|
collection :authorized_domains, as: 'authorizedDomains'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
2016-03-11 22:41:20 +00:00
|
|
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
|
|
|
|
2016-04-14 18:15:27 +00:00
|
|
|
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
|
|
|
property :use_email_sending, as: 'useEmailSending'
|
|
|
|
property :verify_email_template, as: 'verifyEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class IdentitytoolkitRelyingpartySetProjectConfigResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-14 18:49:46 +00:00
|
|
|
class SignOutUserRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :instance_id, as: 'instanceId'
|
|
|
|
property :local_id, as: 'localId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SignOutUserResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :local_id, as: 'localId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-02-25 23:16:53 +00:00
|
|
|
class SignupNewUserRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :captcha_challenge, as: 'captchaChallenge'
|
|
|
|
property :captcha_response, as: 'captchaResponse'
|
2016-11-08 23:43:14 +00:00
|
|
|
property :disabled, as: 'disabled'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
2016-11-08 23:43:14 +00:00
|
|
|
property :email_verified, as: 'emailVerified'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :instance_id, as: 'instanceId'
|
2017-02-13 23:28:52 +00:00
|
|
|
property :local_id, as: 'localId'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :password, as: 'password'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :phone_number, as: 'phoneNumber'
|
2016-11-08 23:43:14 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
2018-05-18 00:36:22 +00:00
|
|
|
property :tenant_id, as: 'tenantId'
|
|
|
|
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class UploadAccountRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2016-11-08 23:43:14 +00:00
|
|
|
property :allow_overwrite, as: 'allowOverwrite'
|
2017-09-07 00:36:04 +00:00
|
|
|
property :block_size, as: 'blockSize'
|
|
|
|
property :cpu_mem_cost, as: 'cpuMemCost'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2017-09-07 00:36:04 +00:00
|
|
|
property :dk_len, as: 'dkLen'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :hash_algorithm, as: 'hashAlgorithm'
|
|
|
|
property :memory_cost, as: 'memoryCost'
|
2017-09-07 00:36:04 +00:00
|
|
|
property :parallelization, as: 'parallelization'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :rounds, as: 'rounds'
|
|
|
|
property :salt_separator, :base64 => true, as: 'saltSeparator'
|
2016-09-19 21:24:23 +00:00
|
|
|
property :sanity_check, as: 'sanityCheck'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :signer_key, :base64 => true, as: 'signerKey'
|
2016-10-14 22:48:26 +00:00
|
|
|
property :target_project_id, as: 'targetProjectId'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VerifyAssertionRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :auto_create, as: 'autoCreate'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :id_token, as: 'idToken'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :instance_id, as: 'instanceId'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :pending_id_token, as: 'pendingIdToken'
|
|
|
|
property :post_body, as: 'postBody'
|
|
|
|
property :request_uri, as: 'requestUri'
|
2016-08-31 20:33:12 +00:00
|
|
|
property :return_idp_credential, as: 'returnIdpCredential'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :return_refresh_token, as: 'returnRefreshToken'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :return_secure_token, as: 'returnSecureToken'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :session_id, as: 'sessionId'
|
2018-05-18 00:36:22 +00:00
|
|
|
property :tenant_id, as: 'tenantId'
|
|
|
|
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-14 18:49:46 +00:00
|
|
|
class VerifyCustomTokenRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :instance_id, as: 'instanceId'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :return_secure_token, as: 'returnSecureToken'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :token, as: 'token'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class VerifyPasswordRequest
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :captcha_challenge, as: 'captchaChallenge'
|
|
|
|
property :captcha_response, as: 'captchaResponse'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :email, as: 'email'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :id_token, as: 'idToken'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :instance_id, as: 'instanceId'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :password, as: 'password'
|
|
|
|
property :pending_id_token, as: 'pendingIdToken'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :return_secure_token, as: 'returnSecureToken'
|
2018-05-18 00:36:22 +00:00
|
|
|
property :tenant_id, as: 'tenantId'
|
|
|
|
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-27 00:35:39 +00:00
|
|
|
class IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :operation, as: 'operation'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :session_info, as: 'sessionInfo'
|
|
|
|
property :temporary_proof, as: 'temporaryProof'
|
|
|
|
property :verification_proof, as: 'verificationProof'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :is_new_user, as: 'isNewUser'
|
|
|
|
property :local_id, as: 'localId'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :refresh_token, as: 'refreshToken'
|
|
|
|
property :temporary_proof, as: 'temporaryProof'
|
|
|
|
property :temporary_proof_expires_in, :numeric_string => true, as: 'temporaryProofExpiresIn'
|
|
|
|
property :verification_proof, as: 'verificationProof'
|
|
|
|
property :verification_proof_expires_in, :numeric_string => true, as: 'verificationProofExpiresIn'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
class IdpConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :client_id, as: 'clientId'
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :experiment_percent, as: 'experimentPercent'
|
|
|
|
property :provider, as: 'provider'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :secret, as: 'secret'
|
2016-06-09 20:22:21 +00:00
|
|
|
collection :whitelisted_audiences, as: 'whitelistedAudiences'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class Relyingparty
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :android_install_app, as: 'androidInstallApp'
|
|
|
|
property :android_minimum_version, as: 'androidMinimumVersion'
|
|
|
|
property :android_package_name, as: 'androidPackageName'
|
|
|
|
property :can_handle_code_in_app, as: 'canHandleCodeInApp'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :captcha_resp, as: 'captchaResp'
|
|
|
|
property :challenge, as: 'challenge'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :continue_url, as: 'continueUrl'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :email, as: 'email'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :i_os_app_store_id, as: 'iOSAppStoreId'
|
|
|
|
property :i_os_bundle_id, as: 'iOSBundleId'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :new_email, as: 'newEmail'
|
|
|
|
property :request_type, as: 'requestType'
|
|
|
|
property :user_ip, as: 'userIp'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ResetPasswordResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :kind, as: 'kind'
|
2016-09-19 21:24:23 +00:00
|
|
|
property :new_email, as: 'newEmail'
|
|
|
|
property :request_type, as: 'requestType'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SetAccountInfoResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
2017-02-13 23:28:52 +00:00
|
|
|
property :email_verified, as: 'emailVerified'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :kind, as: 'kind'
|
2016-05-16 16:49:15 +00:00
|
|
|
property :local_id, as: 'localId'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :new_email, as: 'newEmail'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :password_hash, :base64 => true, as: 'passwordHash'
|
2016-02-10 21:57:13 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
2015-06-23 23:05:46 +00:00
|
|
|
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
property :refresh_token, as: 'refreshToken'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class ProviderUserInfo
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
2016-05-16 16:49:15 +00:00
|
|
|
property :federated_id, as: 'federatedId'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
|
|
|
property :provider_id, as: 'providerId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-02-25 23:16:53 +00:00
|
|
|
class SignupNewUserResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
2016-02-25 23:16:53 +00:00
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :kind, as: 'kind'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :local_id, as: 'localId'
|
|
|
|
property :refresh_token, as: 'refreshToken'
|
2016-02-25 23:16:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class UploadAccountResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :error, as: 'error', class: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error, decorator: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error::Representation
|
|
|
|
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
end
|
|
|
|
|
|
|
|
class Error
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :index, as: 'index'
|
|
|
|
property :message, as: 'message'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UserInfo
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :created_at, :numeric_string => true, as: 'createdAt'
|
2017-08-27 00:35:39 +00:00
|
|
|
property :custom_attributes, as: 'customAttributes'
|
2016-09-19 21:24:23 +00:00
|
|
|
property :custom_auth, as: 'customAuth'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :disabled, as: 'disabled'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :email_verified, as: 'emailVerified'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :last_login_at, :numeric_string => true, as: 'lastLoginAt'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :local_id, as: 'localId'
|
|
|
|
property :password_hash, :base64 => true, as: 'passwordHash'
|
|
|
|
property :password_updated_at, as: 'passwordUpdatedAt'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :phone_number, as: 'phoneNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
|
|
|
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation
|
|
|
|
|
2016-11-08 23:43:14 +00:00
|
|
|
property :raw_password, as: 'rawPassword'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :salt, :base64 => true, as: 'salt'
|
2016-08-17 17:19:48 +00:00
|
|
|
property :screen_name, as: 'screenName'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :valid_since, :numeric_string => true, as: 'validSince'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :version, as: 'version'
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProviderUserInfo
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
2016-02-10 21:57:13 +00:00
|
|
|
property :email, as: 'email'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :federated_id, as: 'federatedId'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :phone_number, as: 'phoneNumber'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
|
|
|
property :provider_id, as: 'providerId'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :raw_id, as: 'rawId'
|
2016-08-17 17:19:48 +00:00
|
|
|
property :screen_name, as: 'screenName'
|
2015-06-23 23:05:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class VerifyAssertionResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :app_installation_url, as: 'appInstallationUrl'
|
|
|
|
property :app_scheme, as: 'appScheme'
|
|
|
|
property :context, as: 'context'
|
|
|
|
property :date_of_birth, as: 'dateOfBirth'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :email_recycled, as: 'emailRecycled'
|
|
|
|
property :email_verified, as: 'emailVerified'
|
2016-08-31 20:33:12 +00:00
|
|
|
property :error_message, as: 'errorMessage'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :federated_id, as: 'federatedId'
|
|
|
|
property :first_name, as: 'firstName'
|
|
|
|
property :full_name, as: 'fullName'
|
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :input_email, as: 'inputEmail'
|
2017-02-13 23:28:52 +00:00
|
|
|
property :is_new_user, as: 'isNewUser'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :language, as: 'language'
|
|
|
|
property :last_name, as: 'lastName'
|
|
|
|
property :local_id, as: 'localId'
|
|
|
|
property :need_confirmation, as: 'needConfirmation'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :need_email, as: 'needEmail'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :nick_name, as: 'nickName'
|
|
|
|
property :oauth_access_token, as: 'oauthAccessToken'
|
|
|
|
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
|
|
|
property :oauth_expire_in, as: 'oauthExpireIn'
|
2016-04-14 18:15:27 +00:00
|
|
|
property :oauth_id_token, as: 'oauthIdToken'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :oauth_request_token, as: 'oauthRequestToken'
|
|
|
|
property :oauth_scope, as: 'oauthScope'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :oauth_token_secret, as: 'oauthTokenSecret'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :original_email, as: 'originalEmail'
|
|
|
|
property :photo_url, as: 'photoUrl'
|
|
|
|
property :provider_id, as: 'providerId'
|
2016-08-31 20:33:12 +00:00
|
|
|
property :raw_user_info, as: 'rawUserInfo'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :refresh_token, as: 'refreshToken'
|
2016-08-08 20:25:38 +00:00
|
|
|
property :screen_name, as: 'screenName'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :time_zone, as: 'timeZone'
|
|
|
|
collection :verified_provider, as: 'verifiedProvider'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-01-14 18:49:46 +00:00
|
|
|
class VerifyCustomTokenResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-04-03 20:18:48 +00:00
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :id_token, as: 'idToken'
|
2017-08-27 00:35:39 +00:00
|
|
|
property :is_new_user, as: 'isNewUser'
|
2016-01-14 18:49:46 +00:00
|
|
|
property :kind, as: 'kind'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :refresh_token, as: 'refreshToken'
|
2016-01-14 18:49:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
class VerifyPasswordResponse
|
2015-06-25 23:12:26 +00:00
|
|
|
# @private
|
2015-06-23 23:05:46 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :id_token, as: 'idToken'
|
|
|
|
property :kind, as: 'kind'
|
|
|
|
property :local_id, as: 'localId'
|
2015-12-03 01:10:07 +00:00
|
|
|
property :oauth_access_token, as: 'oauthAccessToken'
|
|
|
|
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
|
|
|
property :oauth_expire_in, as: 'oauthExpireIn'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :photo_url, as: 'photoUrl'
|
2016-03-11 22:41:20 +00:00
|
|
|
property :refresh_token, as: 'refreshToken'
|
2015-06-23 23:05:46 +00:00
|
|
|
property :registered, as: 'registered'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|