google-apis-identitytoolkit_v2 0.11.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/identitytoolkit_v2/classes.rb +187 -531
- data/lib/google/apis/identitytoolkit_v2/gem_version.rb +2 -2
- data/lib/google/apis/identitytoolkit_v2/representations.rb +70 -269
- data/lib/google/apis/identitytoolkit_v2/service.rb +30 -121
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IdentitytoolkitV2
|
18
18
|
# Version of the google-apis-identitytoolkit_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230531"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -232,6 +238,18 @@ module Google
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
241
|
+
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
235
253
|
class GoogleCloudIdentitytoolkitAdminV2Permissions
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
255
|
|
@@ -352,37 +370,13 @@ module Google
|
|
352
370
|
include Google::Apis::Core::JsonObjectSupport
|
353
371
|
end
|
354
372
|
|
355
|
-
class
|
356
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
-
|
358
|
-
include Google::Apis::Core::JsonObjectSupport
|
359
|
-
end
|
360
|
-
|
361
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse
|
362
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
-
|
364
|
-
include Google::Apis::Core::JsonObjectSupport
|
365
|
-
end
|
366
|
-
|
367
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse
|
368
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
-
|
370
|
-
include Google::Apis::Core::JsonObjectSupport
|
371
|
-
end
|
372
|
-
|
373
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse
|
374
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
-
|
376
|
-
include Google::Apis::Core::JsonObjectSupport
|
377
|
-
end
|
378
|
-
|
379
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
|
373
|
+
class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
|
380
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
375
|
|
382
376
|
include Google::Apis::Core::JsonObjectSupport
|
383
377
|
end
|
384
378
|
|
385
|
-
class
|
379
|
+
class GoogleCloudIdentitytoolkitV2CustomStrengthOptions
|
386
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
381
|
|
388
382
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -436,55 +430,13 @@ module Google
|
|
436
430
|
include Google::Apis::Core::JsonObjectSupport
|
437
431
|
end
|
438
432
|
|
439
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest
|
440
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
-
|
442
|
-
include Google::Apis::Core::JsonObjectSupport
|
443
|
-
end
|
444
|
-
|
445
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse
|
446
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
-
|
448
|
-
include Google::Apis::Core::JsonObjectSupport
|
449
|
-
end
|
450
|
-
|
451
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest
|
452
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
-
|
454
|
-
include Google::Apis::Core::JsonObjectSupport
|
455
|
-
end
|
456
|
-
|
457
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse
|
458
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
-
|
460
|
-
include Google::Apis::Core::JsonObjectSupport
|
461
|
-
end
|
462
|
-
|
463
433
|
class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
|
464
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
435
|
|
466
436
|
include Google::Apis::Core::JsonObjectSupport
|
467
437
|
end
|
468
438
|
|
469
|
-
class
|
470
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
-
|
472
|
-
include Google::Apis::Core::JsonObjectSupport
|
473
|
-
end
|
474
|
-
|
475
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
|
476
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
-
|
478
|
-
include Google::Apis::Core::JsonObjectSupport
|
479
|
-
end
|
480
|
-
|
481
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
-
|
484
|
-
include Google::Apis::Core::JsonObjectSupport
|
485
|
-
end
|
486
|
-
|
487
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
|
439
|
+
class GoogleCloudIdentitytoolkitV2PasswordPolicy
|
488
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
441
|
|
490
442
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -514,12 +466,6 @@ module Google
|
|
514
466
|
include Google::Apis::Core::JsonObjectSupport
|
515
467
|
end
|
516
468
|
|
517
|
-
class GoogleCloudIdentitytoolkitV2RpEntity
|
518
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
-
|
520
|
-
include Google::Apis::Core::JsonObjectSupport
|
521
|
-
end
|
522
|
-
|
523
469
|
class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
|
524
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
471
|
|
@@ -568,36 +514,6 @@ module Google
|
|
568
514
|
include Google::Apis::Core::JsonObjectSupport
|
569
515
|
end
|
570
516
|
|
571
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest
|
572
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
-
|
574
|
-
include Google::Apis::Core::JsonObjectSupport
|
575
|
-
end
|
576
|
-
|
577
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse
|
578
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
-
|
580
|
-
include Google::Apis::Core::JsonObjectSupport
|
581
|
-
end
|
582
|
-
|
583
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest
|
584
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
-
|
586
|
-
include Google::Apis::Core::JsonObjectSupport
|
587
|
-
end
|
588
|
-
|
589
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse
|
590
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
-
|
592
|
-
include Google::Apis::Core::JsonObjectSupport
|
593
|
-
end
|
594
|
-
|
595
|
-
class GoogleCloudIdentitytoolkitV2UserEntity
|
596
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
-
|
598
|
-
include Google::Apis::Core::JsonObjectSupport
|
599
|
-
end
|
600
|
-
|
601
517
|
class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
|
602
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
519
|
|
@@ -771,6 +687,8 @@ module Google
|
|
771
687
|
property :name, as: 'name'
|
772
688
|
property :notification, as: 'notification', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig::Representation
|
773
689
|
|
690
|
+
property :password_policy_config, as: 'passwordPolicyConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig::Representation
|
691
|
+
|
774
692
|
property :quota, as: 'quota', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2QuotaConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2QuotaConfig::Representation
|
775
693
|
|
776
694
|
property :recaptcha_config, as: 'recaptchaConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig::Representation
|
@@ -783,6 +701,18 @@ module Google
|
|
783
701
|
end
|
784
702
|
end
|
785
703
|
|
704
|
+
class GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions
|
705
|
+
# @private
|
706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
707
|
+
property :contains_lowercase_character, as: 'containsLowercaseCharacter'
|
708
|
+
property :contains_non_alphanumeric_character, as: 'containsNonAlphanumericCharacter'
|
709
|
+
property :contains_numeric_character, as: 'containsNumericCharacter'
|
710
|
+
property :contains_uppercase_character, as: 'containsUppercaseCharacter'
|
711
|
+
property :max_password_length, as: 'maxPasswordLength'
|
712
|
+
property :min_password_length, as: 'minPasswordLength'
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
786
716
|
class GoogleCloudIdentitytoolkitAdminV2DefaultSupportedIdp
|
787
717
|
# @private
|
788
718
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1017,6 +947,26 @@ module Google
|
|
1017
947
|
end
|
1018
948
|
end
|
1019
949
|
|
950
|
+
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig
|
951
|
+
# @private
|
952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
953
|
+
property :force_upgrade_on_signin, as: 'forceUpgradeOnSignin'
|
954
|
+
property :last_update_time, as: 'lastUpdateTime'
|
955
|
+
property :password_policy_enforcement_state, as: 'passwordPolicyEnforcementState'
|
956
|
+
collection :password_policy_versions, as: 'passwordPolicyVersions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion::Representation
|
957
|
+
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
961
|
+
class GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
|
962
|
+
# @private
|
963
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
964
|
+
property :custom_strength_options, as: 'customStrengthOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions::Representation
|
965
|
+
|
966
|
+
property :schema_version, as: 'schemaVersion'
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
1020
970
|
class GoogleCloudIdentitytoolkitAdminV2Permissions
|
1021
971
|
# @private
|
1022
972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1209,6 +1159,8 @@ module Google
|
|
1209
1159
|
property :monitoring, as: 'monitoring', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig::Representation
|
1210
1160
|
|
1211
1161
|
property :name, as: 'name'
|
1162
|
+
property :password_policy_config, as: 'passwordPolicyConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig::Representation
|
1163
|
+
|
1212
1164
|
property :recaptcha_config, as: 'recaptchaConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig::Representation
|
1213
1165
|
|
1214
1166
|
property :sms_region_config, as: 'smsRegionConfig', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig::Representation
|
@@ -1232,58 +1184,22 @@ module Google
|
|
1232
1184
|
end
|
1233
1185
|
end
|
1234
1186
|
|
1235
|
-
class
|
1236
|
-
# @private
|
1237
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1238
|
-
property :authenticator_data, :base64 => true, as: 'authenticatorData'
|
1239
|
-
property :client_data_json, :base64 => true, as: 'clientDataJson'
|
1240
|
-
property :signature, :base64 => true, as: 'signature'
|
1241
|
-
property :user_handle, :base64 => true, as: 'userHandle'
|
1242
|
-
end
|
1243
|
-
end
|
1244
|
-
|
1245
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse
|
1246
|
-
# @private
|
1247
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1248
|
-
property :attestation_object, :base64 => true, as: 'attestationObject'
|
1249
|
-
property :client_data_json, :base64 => true, as: 'clientDataJson'
|
1250
|
-
collection :transports, as: 'transports'
|
1251
|
-
end
|
1252
|
-
end
|
1253
|
-
|
1254
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse
|
1255
|
-
# @private
|
1256
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1257
|
-
property :authenticator_assertion_response, as: 'authenticatorAssertionResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse::Representation
|
1258
|
-
|
1259
|
-
property :credential_id, :base64 => true, as: 'credentialId'
|
1260
|
-
property :credential_type, as: 'credentialType'
|
1261
|
-
end
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse
|
1265
|
-
# @private
|
1266
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1267
|
-
property :authenticator_attestation_response, as: 'authenticatorAttestationResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse::Representation
|
1268
|
-
|
1269
|
-
property :credential_id, :base64 => true, as: 'credentialId'
|
1270
|
-
property :credential_type, as: 'credentialType'
|
1271
|
-
end
|
1272
|
-
end
|
1273
|
-
|
1274
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
|
1187
|
+
class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
|
1275
1188
|
# @private
|
1276
1189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1277
|
-
property :
|
1278
|
-
property :require_resident_key, as: 'requireResidentKey'
|
1279
|
-
property :user_verification, as: 'userVerification'
|
1190
|
+
property :app_signature_hash, as: 'appSignatureHash'
|
1280
1191
|
end
|
1281
1192
|
end
|
1282
1193
|
|
1283
|
-
class
|
1194
|
+
class GoogleCloudIdentitytoolkitV2CustomStrengthOptions
|
1284
1195
|
# @private
|
1285
1196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1286
|
-
property :
|
1197
|
+
property :contains_lowercase_character, as: 'containsLowercaseCharacter'
|
1198
|
+
property :contains_non_alphanumeric_character, as: 'containsNonAlphanumericCharacter'
|
1199
|
+
property :contains_numeric_character, as: 'containsNumericCharacter'
|
1200
|
+
property :contains_uppercase_character, as: 'containsUppercaseCharacter'
|
1201
|
+
property :max_password_length, as: 'maxPasswordLength'
|
1202
|
+
property :min_password_length, as: 'minPasswordLength'
|
1287
1203
|
end
|
1288
1204
|
end
|
1289
1205
|
|
@@ -1368,42 +1284,6 @@ module Google
|
|
1368
1284
|
end
|
1369
1285
|
end
|
1370
1286
|
|
1371
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest
|
1372
|
-
# @private
|
1373
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1374
|
-
property :authenticator_registration_response, as: 'authenticatorRegistrationResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse::Representation
|
1375
|
-
|
1376
|
-
property :id_token, as: 'idToken'
|
1377
|
-
property :tenant_id, as: 'tenantId'
|
1378
|
-
end
|
1379
|
-
end
|
1380
|
-
|
1381
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse
|
1382
|
-
# @private
|
1383
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1384
|
-
property :id_token, as: 'idToken'
|
1385
|
-
property :refresh_token, as: 'refreshToken'
|
1386
|
-
end
|
1387
|
-
end
|
1388
|
-
|
1389
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest
|
1390
|
-
# @private
|
1391
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1392
|
-
property :authenticator_authentication_response, as: 'authenticatorAuthenticationResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse::Representation
|
1393
|
-
|
1394
|
-
property :session_id, :base64 => true, as: 'sessionId'
|
1395
|
-
property :tenant_id, as: 'tenantId'
|
1396
|
-
end
|
1397
|
-
end
|
1398
|
-
|
1399
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse
|
1400
|
-
# @private
|
1401
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1402
|
-
property :id_token, as: 'idToken'
|
1403
|
-
property :refresh_token, as: 'refreshToken'
|
1404
|
-
end
|
1405
|
-
end
|
1406
|
-
|
1407
1287
|
class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
|
1408
1288
|
# @private
|
1409
1289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1411,46 +1291,13 @@ module Google
|
|
1411
1291
|
end
|
1412
1292
|
end
|
1413
1293
|
|
1414
|
-
class
|
1294
|
+
class GoogleCloudIdentitytoolkitV2PasswordPolicy
|
1415
1295
|
# @private
|
1416
1296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1417
|
-
|
1418
|
-
|
1419
|
-
property :challenge, :base64 => true, as: 'challenge'
|
1420
|
-
collection :exclude_credentials, as: 'excludeCredentials', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor::Representation
|
1421
|
-
|
1422
|
-
collection :pub_key_cred_params, as: 'pubKeyCredParams', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters::Representation
|
1423
|
-
|
1424
|
-
property :rp, as: 'rp', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RpEntity, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RpEntity::Representation
|
1425
|
-
|
1426
|
-
property :user, as: 'user', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2UserEntity, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2UserEntity::Representation
|
1297
|
+
collection :allowed_non_alphanumeric_characters, as: 'allowedNonAlphanumericCharacters'
|
1298
|
+
property :custom_strength_options, as: 'customStrengthOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions::Representation
|
1427
1299
|
|
1428
|
-
|
1429
|
-
end
|
1430
|
-
|
1431
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
|
1432
|
-
# @private
|
1433
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1434
|
-
property :credential_id, :base64 => true, as: 'credentialId'
|
1435
|
-
property :credential_type, as: 'credentialType'
|
1436
|
-
collection :transports, as: 'transports'
|
1437
|
-
end
|
1438
|
-
end
|
1439
|
-
|
1440
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters
|
1441
|
-
# @private
|
1442
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1443
|
-
property :alg, :numeric_string => true, as: 'alg'
|
1444
|
-
property :credential_type, as: 'credentialType'
|
1445
|
-
end
|
1446
|
-
end
|
1447
|
-
|
1448
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
|
1449
|
-
# @private
|
1450
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1451
|
-
property :challenge, :base64 => true, as: 'challenge'
|
1452
|
-
property :rp_id, as: 'rpId'
|
1453
|
-
property :user_verification, as: 'userVerification'
|
1300
|
+
property :schema_version, as: 'schemaVersion'
|
1454
1301
|
end
|
1455
1302
|
end
|
1456
1303
|
|
@@ -1489,13 +1336,6 @@ module Google
|
|
1489
1336
|
end
|
1490
1337
|
end
|
1491
1338
|
|
1492
|
-
class GoogleCloudIdentitytoolkitV2RpEntity
|
1493
|
-
# @private
|
1494
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1495
|
-
property :id, as: 'id'
|
1496
|
-
end
|
1497
|
-
end
|
1498
|
-
|
1499
1339
|
class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
|
1500
1340
|
# @private
|
1501
1341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1576,45 +1416,6 @@ module Google
|
|
1576
1416
|
end
|
1577
1417
|
end
|
1578
1418
|
|
1579
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest
|
1580
|
-
# @private
|
1581
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1582
|
-
property :id_token, as: 'idToken'
|
1583
|
-
property :tenant_id, as: 'tenantId'
|
1584
|
-
end
|
1585
|
-
end
|
1586
|
-
|
1587
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse
|
1588
|
-
# @private
|
1589
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1590
|
-
property :credential_creation_options, as: 'credentialCreationOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions::Representation
|
1591
|
-
|
1592
|
-
end
|
1593
|
-
end
|
1594
|
-
|
1595
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest
|
1596
|
-
# @private
|
1597
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1598
|
-
property :session_id, :base64 => true, as: 'sessionId'
|
1599
|
-
property :tenant_id, as: 'tenantId'
|
1600
|
-
end
|
1601
|
-
end
|
1602
|
-
|
1603
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse
|
1604
|
-
# @private
|
1605
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1606
|
-
property :credential_request_options, as: 'credentialRequestOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions::Representation
|
1607
|
-
|
1608
|
-
end
|
1609
|
-
end
|
1610
|
-
|
1611
|
-
class GoogleCloudIdentitytoolkitV2UserEntity
|
1612
|
-
# @private
|
1613
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1614
|
-
property :id, :base64 => true, as: 'id'
|
1615
|
-
end
|
1616
|
-
end
|
1617
|
-
|
1618
1419
|
class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
|
1619
1420
|
# @private
|
1620
1421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -234,127 +234,6 @@ module Google
|
|
234
234
|
execute_or_queue_command(command, &block)
|
235
235
|
end
|
236
236
|
|
237
|
-
# Finishes enrolling a passkey credential for the user.
|
238
|
-
# @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest] google_cloud_identitytoolkit_v2_finalize_passkey_enrollment_request_object
|
239
|
-
# @param [String] fields
|
240
|
-
# Selector specifying which fields to include in a partial response.
|
241
|
-
# @param [String] quota_user
|
242
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
243
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
244
|
-
# @param [Google::Apis::RequestOptions] options
|
245
|
-
# Request-specific options
|
246
|
-
#
|
247
|
-
# @yield [result, err] Result & error if block supplied
|
248
|
-
# @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse] parsed result object
|
249
|
-
# @yieldparam err [StandardError] error object if request failed
|
250
|
-
#
|
251
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse]
|
252
|
-
#
|
253
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
254
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
255
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
256
|
-
def finalize_account_passkey_enrollment(google_cloud_identitytoolkit_v2_finalize_passkey_enrollment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
257
|
-
command = make_simple_command(:post, 'v2/accounts/passkeyEnrollment:finalize', options)
|
258
|
-
command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest::Representation
|
259
|
-
command.request_object = google_cloud_identitytoolkit_v2_finalize_passkey_enrollment_request_object
|
260
|
-
command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse::Representation
|
261
|
-
command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse
|
262
|
-
command.query['fields'] = fields unless fields.nil?
|
263
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
264
|
-
execute_or_queue_command(command, &block)
|
265
|
-
end
|
266
|
-
|
267
|
-
# Step one of the passkey enrollment process. Returns a challenge and parameters
|
268
|
-
# for creation of the passkey credential.
|
269
|
-
# @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest] google_cloud_identitytoolkit_v2_start_passkey_enrollment_request_object
|
270
|
-
# @param [String] fields
|
271
|
-
# Selector specifying which fields to include in a partial response.
|
272
|
-
# @param [String] quota_user
|
273
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
274
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
275
|
-
# @param [Google::Apis::RequestOptions] options
|
276
|
-
# Request-specific options
|
277
|
-
#
|
278
|
-
# @yield [result, err] Result & error if block supplied
|
279
|
-
# @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse] parsed result object
|
280
|
-
# @yieldparam err [StandardError] error object if request failed
|
281
|
-
#
|
282
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse]
|
283
|
-
#
|
284
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
285
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
|
-
def start_account_passkey_enrollment(google_cloud_identitytoolkit_v2_start_passkey_enrollment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
288
|
-
command = make_simple_command(:post, 'v2/accounts/passkeyEnrollment:start', options)
|
289
|
-
command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest::Representation
|
290
|
-
command.request_object = google_cloud_identitytoolkit_v2_start_passkey_enrollment_request_object
|
291
|
-
command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse::Representation
|
292
|
-
command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse
|
293
|
-
command.query['fields'] = fields unless fields.nil?
|
294
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
295
|
-
execute_or_queue_command(command, &block)
|
296
|
-
end
|
297
|
-
|
298
|
-
# Verifies the passkey assertion and signs the user in.
|
299
|
-
# @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest] google_cloud_identitytoolkit_v2_finalize_passkey_sign_in_request_object
|
300
|
-
# @param [String] fields
|
301
|
-
# Selector specifying which fields to include in a partial response.
|
302
|
-
# @param [String] quota_user
|
303
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
304
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
305
|
-
# @param [Google::Apis::RequestOptions] options
|
306
|
-
# Request-specific options
|
307
|
-
#
|
308
|
-
# @yield [result, err] Result & error if block supplied
|
309
|
-
# @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse] parsed result object
|
310
|
-
# @yieldparam err [StandardError] error object if request failed
|
311
|
-
#
|
312
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse]
|
313
|
-
#
|
314
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
315
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
|
-
def finalize_account_passkey_sign_in(google_cloud_identitytoolkit_v2_finalize_passkey_sign_in_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
318
|
-
command = make_simple_command(:post, 'v2/accounts/passkeySignIn:finalize', options)
|
319
|
-
command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest::Representation
|
320
|
-
command.request_object = google_cloud_identitytoolkit_v2_finalize_passkey_sign_in_request_object
|
321
|
-
command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse::Representation
|
322
|
-
command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse
|
323
|
-
command.query['fields'] = fields unless fields.nil?
|
324
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
325
|
-
execute_or_queue_command(command, &block)
|
326
|
-
end
|
327
|
-
|
328
|
-
# Creates and returns the passkey challenge
|
329
|
-
# @param [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest] google_cloud_identitytoolkit_v2_start_passkey_sign_in_request_object
|
330
|
-
# @param [String] fields
|
331
|
-
# Selector specifying which fields to include in a partial response.
|
332
|
-
# @param [String] quota_user
|
333
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
334
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
335
|
-
# @param [Google::Apis::RequestOptions] options
|
336
|
-
# Request-specific options
|
337
|
-
#
|
338
|
-
# @yield [result, err] Result & error if block supplied
|
339
|
-
# @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse] parsed result object
|
340
|
-
# @yieldparam err [StandardError] error object if request failed
|
341
|
-
#
|
342
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse]
|
343
|
-
#
|
344
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
345
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
346
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
347
|
-
def start_account_passkey_sign_in(google_cloud_identitytoolkit_v2_start_passkey_sign_in_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
348
|
-
command = make_simple_command(:post, 'v2/accounts/passkeySignIn:start', options)
|
349
|
-
command.request_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest::Representation
|
350
|
-
command.request_object = google_cloud_identitytoolkit_v2_start_passkey_sign_in_request_object
|
351
|
-
command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse::Representation
|
352
|
-
command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse
|
353
|
-
command.query['fields'] = fields unless fields.nil?
|
354
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
355
|
-
execute_or_queue_command(command, &block)
|
356
|
-
end
|
357
|
-
|
358
237
|
# List all default supported Idps.
|
359
238
|
# @param [Fixnum] page_size
|
360
239
|
# The maximum number of items to return.
|
@@ -1826,6 +1705,36 @@ module Google
|
|
1826
1705
|
execute_or_queue_command(command, &block)
|
1827
1706
|
end
|
1828
1707
|
|
1708
|
+
# Gets password policy config set on the project or tenant.
|
1709
|
+
# @param [String] tenant_id
|
1710
|
+
# The id of a tenant.
|
1711
|
+
# @param [String] fields
|
1712
|
+
# Selector specifying which fields to include in a partial response.
|
1713
|
+
# @param [String] quota_user
|
1714
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1715
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1716
|
+
# @param [Google::Apis::RequestOptions] options
|
1717
|
+
# Request-specific options
|
1718
|
+
#
|
1719
|
+
# @yield [result, err] Result & error if block supplied
|
1720
|
+
# @yieldparam result [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PasswordPolicy] parsed result object
|
1721
|
+
# @yieldparam err [StandardError] error object if request failed
|
1722
|
+
#
|
1723
|
+
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PasswordPolicy]
|
1724
|
+
#
|
1725
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1726
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1727
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1728
|
+
def get_password_policy(tenant_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1729
|
+
command = make_simple_command(:get, 'v2/passwordPolicy', options)
|
1730
|
+
command.response_representation = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PasswordPolicy::Representation
|
1731
|
+
command.response_class = Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PasswordPolicy
|
1732
|
+
command.query['tenantId'] = tenant_id unless tenant_id.nil?
|
1733
|
+
command.query['fields'] = fields unless fields.nil?
|
1734
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1735
|
+
execute_or_queue_command(command, &block)
|
1736
|
+
end
|
1737
|
+
|
1829
1738
|
# Gets parameters needed for reCAPTCHA analysis.
|
1830
1739
|
# @param [String] client_type
|
1831
1740
|
# reCAPTCHA Enterprise uses separate site keys for different client types.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-identitytoolkit_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04
|
11
|
+
date: 2023-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-identitytoolkit_v2/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-identitytoolkit_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|