google-apis-identitytoolkit_v3 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-identitytoolkit_v3.rb +15 -0
- data/lib/google/apis/identitytoolkit_v3.rb +39 -0
- data/lib/google/apis/identitytoolkit_v3/classes.rb +2669 -0
- data/lib/google/apis/identitytoolkit_v3/gem_version.rb +28 -0
- data/lib/google/apis/identitytoolkit_v3/representations.rb +878 -0
- data/lib/google/apis/identitytoolkit_v3/service.rb +724 -0
- metadata +76 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module IdentitytoolkitV3
|
18
|
+
# Version of the google-apis-identitytoolkit_v3 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20180723"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,878 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module IdentitytoolkitV3
|
24
|
+
|
25
|
+
class CreateAuthUriResponse
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class DeleteAccountResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class DownloadAccountResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class EmailLinkSigninResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class EmailTemplate
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GetAccountInfoResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GetOobConfirmationCodeResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GetRecaptchaParamResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CreateAuthUriRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class DeleteAccountRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class DownloadAccountRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class IdentitytoolkitRelyingpartyEmailLinkSigninRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GetAccountInfoRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GetProjectConfigResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ResetPasswordRequest
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class IdentitytoolkitRelyingpartySendVerificationCodeRequest
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class IdentitytoolkitRelyingpartySendVerificationCodeResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class SetAccountInfoRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class SetProjectConfigRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class IdentitytoolkitRelyingpartySetProjectConfigResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class SignOutUserRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class SignOutUserResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class SignupNewUserRequest
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class UploadAccountRequest
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class VerifyAssertionRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class VerifyCustomTokenRequest
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class VerifyPasswordRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class IdpConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class Relyingparty
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class ResetPasswordResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class SetAccountInfoResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
class ProviderUserInfo
|
221
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
222
|
+
|
223
|
+
include Google::Apis::Core::JsonObjectSupport
|
224
|
+
end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class SignupNewUserResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class UploadAccountResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
class Error
|
239
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
240
|
+
|
241
|
+
include Google::Apis::Core::JsonObjectSupport
|
242
|
+
end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class UserInfo
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
class ProviderUserInfo
|
251
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
252
|
+
|
253
|
+
include Google::Apis::Core::JsonObjectSupport
|
254
|
+
end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class VerifyAssertionResponse
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class VerifyCustomTokenResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class VerifyPasswordResponse
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class CreateAuthUriResponse
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
collection :all_providers, as: 'allProviders'
|
281
|
+
property :auth_uri, as: 'authUri'
|
282
|
+
property :captcha_required, as: 'captchaRequired'
|
283
|
+
property :for_existing_provider, as: 'forExistingProvider'
|
284
|
+
property :kind, as: 'kind'
|
285
|
+
property :provider_id, as: 'providerId'
|
286
|
+
property :registered, as: 'registered'
|
287
|
+
property :session_id, as: 'sessionId'
|
288
|
+
collection :signin_methods, as: 'signinMethods'
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
class DeleteAccountResponse
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
property :kind, as: 'kind'
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class DownloadAccountResponse
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :kind, as: 'kind'
|
303
|
+
property :next_page_token, as: 'nextPageToken'
|
304
|
+
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
|
305
|
+
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
class EmailLinkSigninResponse
|
310
|
+
# @private
|
311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
+
property :email, as: 'email'
|
313
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
314
|
+
property :id_token, as: 'idToken'
|
315
|
+
property :is_new_user, as: 'isNewUser'
|
316
|
+
property :kind, as: 'kind'
|
317
|
+
property :local_id, as: 'localId'
|
318
|
+
property :refresh_token, as: 'refreshToken'
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class EmailTemplate
|
323
|
+
# @private
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
325
|
+
property :body, as: 'body'
|
326
|
+
property :format, as: 'format'
|
327
|
+
property :from, as: 'from'
|
328
|
+
property :from_display_name, as: 'fromDisplayName'
|
329
|
+
property :reply_to, as: 'replyTo'
|
330
|
+
property :subject, as: 'subject'
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class GetAccountInfoResponse
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :kind, as: 'kind'
|
338
|
+
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
|
339
|
+
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
class GetOobConfirmationCodeResponse
|
344
|
+
# @private
|
345
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
346
|
+
property :email, as: 'email'
|
347
|
+
property :kind, as: 'kind'
|
348
|
+
property :oob_code, as: 'oobCode'
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class GetRecaptchaParamResponse
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
property :kind, as: 'kind'
|
356
|
+
property :recaptcha_site_key, as: 'recaptchaSiteKey'
|
357
|
+
property :recaptcha_stoken, as: 'recaptchaStoken'
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
class CreateAuthUriRequest
|
362
|
+
# @private
|
363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
364
|
+
property :app_id, as: 'appId'
|
365
|
+
property :auth_flow_type, as: 'authFlowType'
|
366
|
+
property :client_id, as: 'clientId'
|
367
|
+
property :context, as: 'context'
|
368
|
+
property :continue_uri, as: 'continueUri'
|
369
|
+
hash :custom_parameter, as: 'customParameter'
|
370
|
+
property :hosted_domain, as: 'hostedDomain'
|
371
|
+
property :identifier, as: 'identifier'
|
372
|
+
property :oauth_consumer_key, as: 'oauthConsumerKey'
|
373
|
+
property :oauth_scope, as: 'oauthScope'
|
374
|
+
property :openid_realm, as: 'openidRealm'
|
375
|
+
property :ota_app, as: 'otaApp'
|
376
|
+
property :provider_id, as: 'providerId'
|
377
|
+
property :session_id, as: 'sessionId'
|
378
|
+
property :tenant_id, as: 'tenantId'
|
379
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
class DeleteAccountRequest
|
384
|
+
# @private
|
385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
386
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
387
|
+
property :id_token, as: 'idToken'
|
388
|
+
property :local_id, as: 'localId'
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
class DownloadAccountRequest
|
393
|
+
# @private
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
396
|
+
property :max_results, as: 'maxResults'
|
397
|
+
property :next_page_token, as: 'nextPageToken'
|
398
|
+
property :target_project_id, as: 'targetProjectId'
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
class IdentitytoolkitRelyingpartyEmailLinkSigninRequest
|
403
|
+
# @private
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
+
property :email, as: 'email'
|
406
|
+
property :id_token, as: 'idToken'
|
407
|
+
property :oob_code, as: 'oobCode'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
class GetAccountInfoRequest
|
412
|
+
# @private
|
413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
414
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
415
|
+
collection :email, as: 'email'
|
416
|
+
property :id_token, as: 'idToken'
|
417
|
+
collection :local_id, as: 'localId'
|
418
|
+
collection :phone_number, as: 'phoneNumber'
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
class GetProjectConfigResponse
|
423
|
+
# @private
|
424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
425
|
+
property :allow_password_user, as: 'allowPasswordUser'
|
426
|
+
property :api_key, as: 'apiKey'
|
427
|
+
collection :authorized_domains, as: 'authorizedDomains'
|
428
|
+
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
429
|
+
|
430
|
+
property :dynamic_links_domain, as: 'dynamicLinksDomain'
|
431
|
+
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
432
|
+
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
433
|
+
|
434
|
+
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
435
|
+
|
436
|
+
property :project_id, as: 'projectId'
|
437
|
+
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
438
|
+
|
439
|
+
property :use_email_sending, as: 'useEmailSending'
|
440
|
+
property :verify_email_template, as: 'verifyEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
441
|
+
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
class ResetPasswordRequest
|
446
|
+
# @private
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
448
|
+
property :email, as: 'email'
|
449
|
+
property :new_password, as: 'newPassword'
|
450
|
+
property :old_password, as: 'oldPassword'
|
451
|
+
property :oob_code, as: 'oobCode'
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
class IdentitytoolkitRelyingpartySendVerificationCodeRequest
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
property :ios_receipt, as: 'iosReceipt'
|
459
|
+
property :ios_secret, as: 'iosSecret'
|
460
|
+
property :phone_number, as: 'phoneNumber'
|
461
|
+
property :recaptcha_token, as: 'recaptchaToken'
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
class IdentitytoolkitRelyingpartySendVerificationCodeResponse
|
466
|
+
# @private
|
467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
468
|
+
property :session_info, as: 'sessionInfo'
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class SetAccountInfoRequest
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
property :captcha_challenge, as: 'captchaChallenge'
|
476
|
+
property :captcha_response, as: 'captchaResponse'
|
477
|
+
property :created_at, :numeric_string => true, as: 'createdAt'
|
478
|
+
property :custom_attributes, as: 'customAttributes'
|
479
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
480
|
+
collection :delete_attribute, as: 'deleteAttribute'
|
481
|
+
collection :delete_provider, as: 'deleteProvider'
|
482
|
+
property :disable_user, as: 'disableUser'
|
483
|
+
property :display_name, as: 'displayName'
|
484
|
+
property :email, as: 'email'
|
485
|
+
property :email_verified, as: 'emailVerified'
|
486
|
+
property :id_token, as: 'idToken'
|
487
|
+
property :instance_id, as: 'instanceId'
|
488
|
+
property :last_login_at, :numeric_string => true, as: 'lastLoginAt'
|
489
|
+
property :local_id, as: 'localId'
|
490
|
+
property :oob_code, as: 'oobCode'
|
491
|
+
property :password, as: 'password'
|
492
|
+
property :phone_number, as: 'phoneNumber'
|
493
|
+
property :photo_url, as: 'photoUrl'
|
494
|
+
collection :provider, as: 'provider'
|
495
|
+
property :return_secure_token, as: 'returnSecureToken'
|
496
|
+
property :upgrade_to_federated_login, as: 'upgradeToFederatedLogin'
|
497
|
+
property :valid_since, :numeric_string => true, as: 'validSince'
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
class SetProjectConfigRequest
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :allow_password_user, as: 'allowPasswordUser'
|
505
|
+
property :api_key, as: 'apiKey'
|
506
|
+
collection :authorized_domains, as: 'authorizedDomains'
|
507
|
+
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
508
|
+
|
509
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
510
|
+
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
511
|
+
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
512
|
+
|
513
|
+
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
514
|
+
|
515
|
+
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
516
|
+
|
517
|
+
property :use_email_sending, as: 'useEmailSending'
|
518
|
+
property :verify_email_template, as: 'verifyEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
519
|
+
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
class IdentitytoolkitRelyingpartySetProjectConfigResponse
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
property :project_id, as: 'projectId'
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
class SignOutUserRequest
|
531
|
+
# @private
|
532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
533
|
+
property :instance_id, as: 'instanceId'
|
534
|
+
property :local_id, as: 'localId'
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
class SignOutUserResponse
|
539
|
+
# @private
|
540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
541
|
+
property :local_id, as: 'localId'
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
class SignupNewUserRequest
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
property :captcha_challenge, as: 'captchaChallenge'
|
549
|
+
property :captcha_response, as: 'captchaResponse'
|
550
|
+
property :disabled, as: 'disabled'
|
551
|
+
property :display_name, as: 'displayName'
|
552
|
+
property :email, as: 'email'
|
553
|
+
property :email_verified, as: 'emailVerified'
|
554
|
+
property :id_token, as: 'idToken'
|
555
|
+
property :instance_id, as: 'instanceId'
|
556
|
+
property :local_id, as: 'localId'
|
557
|
+
property :password, as: 'password'
|
558
|
+
property :phone_number, as: 'phoneNumber'
|
559
|
+
property :photo_url, as: 'photoUrl'
|
560
|
+
property :tenant_id, as: 'tenantId'
|
561
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
class UploadAccountRequest
|
566
|
+
# @private
|
567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
568
|
+
property :allow_overwrite, as: 'allowOverwrite'
|
569
|
+
property :block_size, as: 'blockSize'
|
570
|
+
property :cpu_mem_cost, as: 'cpuMemCost'
|
571
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
572
|
+
property :dk_len, as: 'dkLen'
|
573
|
+
property :hash_algorithm, as: 'hashAlgorithm'
|
574
|
+
property :memory_cost, as: 'memoryCost'
|
575
|
+
property :parallelization, as: 'parallelization'
|
576
|
+
property :rounds, as: 'rounds'
|
577
|
+
property :salt_separator, :base64 => true, as: 'saltSeparator'
|
578
|
+
property :sanity_check, as: 'sanityCheck'
|
579
|
+
property :signer_key, :base64 => true, as: 'signerKey'
|
580
|
+
property :target_project_id, as: 'targetProjectId'
|
581
|
+
collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation
|
582
|
+
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
class VerifyAssertionRequest
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :auto_create, as: 'autoCreate'
|
590
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
591
|
+
property :id_token, as: 'idToken'
|
592
|
+
property :instance_id, as: 'instanceId'
|
593
|
+
property :pending_id_token, as: 'pendingIdToken'
|
594
|
+
property :post_body, as: 'postBody'
|
595
|
+
property :request_uri, as: 'requestUri'
|
596
|
+
property :return_idp_credential, as: 'returnIdpCredential'
|
597
|
+
property :return_refresh_token, as: 'returnRefreshToken'
|
598
|
+
property :return_secure_token, as: 'returnSecureToken'
|
599
|
+
property :session_id, as: 'sessionId'
|
600
|
+
property :tenant_id, as: 'tenantId'
|
601
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class VerifyCustomTokenRequest
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
609
|
+
property :instance_id, as: 'instanceId'
|
610
|
+
property :return_secure_token, as: 'returnSecureToken'
|
611
|
+
property :token, as: 'token'
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
class VerifyPasswordRequest
|
616
|
+
# @private
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
+
property :captcha_challenge, as: 'captchaChallenge'
|
619
|
+
property :captcha_response, as: 'captchaResponse'
|
620
|
+
property :delegated_project_number, :numeric_string => true, as: 'delegatedProjectNumber'
|
621
|
+
property :email, as: 'email'
|
622
|
+
property :id_token, as: 'idToken'
|
623
|
+
property :instance_id, as: 'instanceId'
|
624
|
+
property :password, as: 'password'
|
625
|
+
property :pending_id_token, as: 'pendingIdToken'
|
626
|
+
property :return_secure_token, as: 'returnSecureToken'
|
627
|
+
property :tenant_id, as: 'tenantId'
|
628
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
632
|
+
class IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
|
633
|
+
# @private
|
634
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
+
property :code, as: 'code'
|
636
|
+
property :id_token, as: 'idToken'
|
637
|
+
property :operation, as: 'operation'
|
638
|
+
property :phone_number, as: 'phoneNumber'
|
639
|
+
property :session_info, as: 'sessionInfo'
|
640
|
+
property :temporary_proof, as: 'temporaryProof'
|
641
|
+
property :verification_proof, as: 'verificationProof'
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
class IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
|
646
|
+
# @private
|
647
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
648
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
649
|
+
property :id_token, as: 'idToken'
|
650
|
+
property :is_new_user, as: 'isNewUser'
|
651
|
+
property :local_id, as: 'localId'
|
652
|
+
property :phone_number, as: 'phoneNumber'
|
653
|
+
property :refresh_token, as: 'refreshToken'
|
654
|
+
property :temporary_proof, as: 'temporaryProof'
|
655
|
+
property :temporary_proof_expires_in, :numeric_string => true, as: 'temporaryProofExpiresIn'
|
656
|
+
property :verification_proof, as: 'verificationProof'
|
657
|
+
property :verification_proof_expires_in, :numeric_string => true, as: 'verificationProofExpiresIn'
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class IdpConfig
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
property :client_id, as: 'clientId'
|
665
|
+
property :enabled, as: 'enabled'
|
666
|
+
property :experiment_percent, as: 'experimentPercent'
|
667
|
+
property :provider, as: 'provider'
|
668
|
+
property :secret, as: 'secret'
|
669
|
+
collection :whitelisted_audiences, as: 'whitelistedAudiences'
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
class Relyingparty
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
property :android_install_app, as: 'androidInstallApp'
|
677
|
+
property :android_minimum_version, as: 'androidMinimumVersion'
|
678
|
+
property :android_package_name, as: 'androidPackageName'
|
679
|
+
property :can_handle_code_in_app, as: 'canHandleCodeInApp'
|
680
|
+
property :captcha_resp, as: 'captchaResp'
|
681
|
+
property :challenge, as: 'challenge'
|
682
|
+
property :continue_url, as: 'continueUrl'
|
683
|
+
property :email, as: 'email'
|
684
|
+
property :i_os_app_store_id, as: 'iOSAppStoreId'
|
685
|
+
property :i_os_bundle_id, as: 'iOSBundleId'
|
686
|
+
property :id_token, as: 'idToken'
|
687
|
+
property :kind, as: 'kind'
|
688
|
+
property :new_email, as: 'newEmail'
|
689
|
+
property :request_type, as: 'requestType'
|
690
|
+
property :user_ip, as: 'userIp'
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
class ResetPasswordResponse
|
695
|
+
# @private
|
696
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
697
|
+
property :email, as: 'email'
|
698
|
+
property :kind, as: 'kind'
|
699
|
+
property :new_email, as: 'newEmail'
|
700
|
+
property :request_type, as: 'requestType'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
class SetAccountInfoResponse
|
705
|
+
# @private
|
706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
707
|
+
property :display_name, as: 'displayName'
|
708
|
+
property :email, as: 'email'
|
709
|
+
property :email_verified, as: 'emailVerified'
|
710
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
711
|
+
property :id_token, as: 'idToken'
|
712
|
+
property :kind, as: 'kind'
|
713
|
+
property :local_id, as: 'localId'
|
714
|
+
property :new_email, as: 'newEmail'
|
715
|
+
property :password_hash, :base64 => true, as: 'passwordHash'
|
716
|
+
property :photo_url, as: 'photoUrl'
|
717
|
+
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
|
718
|
+
|
719
|
+
property :refresh_token, as: 'refreshToken'
|
720
|
+
end
|
721
|
+
|
722
|
+
class ProviderUserInfo
|
723
|
+
# @private
|
724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
725
|
+
property :display_name, as: 'displayName'
|
726
|
+
property :federated_id, as: 'federatedId'
|
727
|
+
property :photo_url, as: 'photoUrl'
|
728
|
+
property :provider_id, as: 'providerId'
|
729
|
+
end
|
730
|
+
end
|
731
|
+
end
|
732
|
+
|
733
|
+
class SignupNewUserResponse
|
734
|
+
# @private
|
735
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
736
|
+
property :display_name, as: 'displayName'
|
737
|
+
property :email, as: 'email'
|
738
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
739
|
+
property :id_token, as: 'idToken'
|
740
|
+
property :kind, as: 'kind'
|
741
|
+
property :local_id, as: 'localId'
|
742
|
+
property :refresh_token, as: 'refreshToken'
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
class UploadAccountResponse
|
747
|
+
# @private
|
748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
749
|
+
collection :error, as: 'error', class: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error, decorator: Google::Apis::IdentitytoolkitV3::UploadAccountResponse::Error::Representation
|
750
|
+
|
751
|
+
property :kind, as: 'kind'
|
752
|
+
end
|
753
|
+
|
754
|
+
class Error
|
755
|
+
# @private
|
756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
757
|
+
property :index, as: 'index'
|
758
|
+
property :message, as: 'message'
|
759
|
+
end
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
class UserInfo
|
764
|
+
# @private
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :created_at, :numeric_string => true, as: 'createdAt'
|
767
|
+
property :custom_attributes, as: 'customAttributes'
|
768
|
+
property :custom_auth, as: 'customAuth'
|
769
|
+
property :disabled, as: 'disabled'
|
770
|
+
property :display_name, as: 'displayName'
|
771
|
+
property :email, as: 'email'
|
772
|
+
property :email_verified, as: 'emailVerified'
|
773
|
+
property :last_login_at, :numeric_string => true, as: 'lastLoginAt'
|
774
|
+
property :local_id, as: 'localId'
|
775
|
+
property :password_hash, :base64 => true, as: 'passwordHash'
|
776
|
+
property :password_updated_at, as: 'passwordUpdatedAt'
|
777
|
+
property :phone_number, as: 'phoneNumber'
|
778
|
+
property :photo_url, as: 'photoUrl'
|
779
|
+
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation
|
780
|
+
|
781
|
+
property :raw_password, as: 'rawPassword'
|
782
|
+
property :salt, :base64 => true, as: 'salt'
|
783
|
+
property :screen_name, as: 'screenName'
|
784
|
+
property :valid_since, :numeric_string => true, as: 'validSince'
|
785
|
+
property :version, as: 'version'
|
786
|
+
end
|
787
|
+
|
788
|
+
class ProviderUserInfo
|
789
|
+
# @private
|
790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
791
|
+
property :display_name, as: 'displayName'
|
792
|
+
property :email, as: 'email'
|
793
|
+
property :federated_id, as: 'federatedId'
|
794
|
+
property :phone_number, as: 'phoneNumber'
|
795
|
+
property :photo_url, as: 'photoUrl'
|
796
|
+
property :provider_id, as: 'providerId'
|
797
|
+
property :raw_id, as: 'rawId'
|
798
|
+
property :screen_name, as: 'screenName'
|
799
|
+
end
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
class VerifyAssertionResponse
|
804
|
+
# @private
|
805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
property :action, as: 'action'
|
807
|
+
property :app_installation_url, as: 'appInstallationUrl'
|
808
|
+
property :app_scheme, as: 'appScheme'
|
809
|
+
property :context, as: 'context'
|
810
|
+
property :date_of_birth, as: 'dateOfBirth'
|
811
|
+
property :display_name, as: 'displayName'
|
812
|
+
property :email, as: 'email'
|
813
|
+
property :email_recycled, as: 'emailRecycled'
|
814
|
+
property :email_verified, as: 'emailVerified'
|
815
|
+
property :error_message, as: 'errorMessage'
|
816
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
817
|
+
property :federated_id, as: 'federatedId'
|
818
|
+
property :first_name, as: 'firstName'
|
819
|
+
property :full_name, as: 'fullName'
|
820
|
+
property :id_token, as: 'idToken'
|
821
|
+
property :input_email, as: 'inputEmail'
|
822
|
+
property :is_new_user, as: 'isNewUser'
|
823
|
+
property :kind, as: 'kind'
|
824
|
+
property :language, as: 'language'
|
825
|
+
property :last_name, as: 'lastName'
|
826
|
+
property :local_id, as: 'localId'
|
827
|
+
property :need_confirmation, as: 'needConfirmation'
|
828
|
+
property :need_email, as: 'needEmail'
|
829
|
+
property :nick_name, as: 'nickName'
|
830
|
+
property :oauth_access_token, as: 'oauthAccessToken'
|
831
|
+
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
832
|
+
property :oauth_expire_in, as: 'oauthExpireIn'
|
833
|
+
property :oauth_id_token, as: 'oauthIdToken'
|
834
|
+
property :oauth_request_token, as: 'oauthRequestToken'
|
835
|
+
property :oauth_scope, as: 'oauthScope'
|
836
|
+
property :oauth_token_secret, as: 'oauthTokenSecret'
|
837
|
+
property :original_email, as: 'originalEmail'
|
838
|
+
property :photo_url, as: 'photoUrl'
|
839
|
+
property :provider_id, as: 'providerId'
|
840
|
+
property :raw_user_info, as: 'rawUserInfo'
|
841
|
+
property :refresh_token, as: 'refreshToken'
|
842
|
+
property :screen_name, as: 'screenName'
|
843
|
+
property :time_zone, as: 'timeZone'
|
844
|
+
collection :verified_provider, as: 'verifiedProvider'
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
class VerifyCustomTokenResponse
|
849
|
+
# @private
|
850
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
851
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
852
|
+
property :id_token, as: 'idToken'
|
853
|
+
property :is_new_user, as: 'isNewUser'
|
854
|
+
property :kind, as: 'kind'
|
855
|
+
property :refresh_token, as: 'refreshToken'
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
class VerifyPasswordResponse
|
860
|
+
# @private
|
861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
862
|
+
property :display_name, as: 'displayName'
|
863
|
+
property :email, as: 'email'
|
864
|
+
property :expires_in, :numeric_string => true, as: 'expiresIn'
|
865
|
+
property :id_token, as: 'idToken'
|
866
|
+
property :kind, as: 'kind'
|
867
|
+
property :local_id, as: 'localId'
|
868
|
+
property :oauth_access_token, as: 'oauthAccessToken'
|
869
|
+
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
870
|
+
property :oauth_expire_in, as: 'oauthExpireIn'
|
871
|
+
property :photo_url, as: 'photoUrl'
|
872
|
+
property :refresh_token, as: 'refreshToken'
|
873
|
+
property :registered, as: 'registered'
|
874
|
+
end
|
875
|
+
end
|
876
|
+
end
|
877
|
+
end
|
878
|
+
end
|