google-apis-identitytoolkit_v2 0.12.0 → 0.14.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 +16 -559
- data/lib/google/apis/identitytoolkit_v2/gem_version.rb +2 -2
- data/lib/google/apis/identitytoolkit_v2/representations.rb +2 -287
- data/lib/google/apis/identitytoolkit_v2/service.rb +0 -121
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e03e135d0641f5ea14781a483bf8a09bbaef51f43b70bd856b1bae8a1780d5e5
|
4
|
+
data.tar.gz: d6fb3d23683fe27698a6172de883287cf52337f481f091fdae53c0ef0e53168c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9160d9dbeb46c8e5fc4e17399c5aea891caaeb7dccd4a67a497e79cb523abb705421b167f5ce8a1235b2b0bb49ac41b9ddec6f8177eb7f1f6f05cce7e2062735
|
7
|
+
data.tar.gz: 7f6f615fc8dc7c2813f1358120a329353a1fe962d7dd2a9c92d839bdaa920ef19e11f7d51a7ae1e586aba06b818d51d4b2f66a190d85db90b34ed0f5b2e46e4f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-identitytoolkit_v2
|
2
2
|
|
3
|
+
### v0.14.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230707
|
6
|
+
|
7
|
+
### v0.13.0 (2023-06-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230531
|
10
|
+
|
3
11
|
### v0.12.0 (2023-05-14)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230505
|
@@ -2049,176 +2049,6 @@ module Google
|
|
2049
2049
|
end
|
2050
2050
|
end
|
2051
2051
|
|
2052
|
-
# Authentication response from a FIDO authenticator.
|
2053
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse
|
2054
|
-
include Google::Apis::Core::Hashable
|
2055
|
-
|
2056
|
-
# The AuthenticatorData from the authenticator.
|
2057
|
-
# Corresponds to the JSON property `authenticatorData`
|
2058
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2059
|
-
# @return [String]
|
2060
|
-
attr_accessor :authenticator_data
|
2061
|
-
|
2062
|
-
# The CollectedClientData object from the authenticator.
|
2063
|
-
# Corresponds to the JSON property `clientDataJson`
|
2064
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2065
|
-
# @return [String]
|
2066
|
-
attr_accessor :client_data_json
|
2067
|
-
|
2068
|
-
# The signature from the authenticator.
|
2069
|
-
# Corresponds to the JSON property `signature`
|
2070
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2071
|
-
# @return [String]
|
2072
|
-
attr_accessor :signature
|
2073
|
-
|
2074
|
-
# The user handle.
|
2075
|
-
# Corresponds to the JSON property `userHandle`
|
2076
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2077
|
-
# @return [String]
|
2078
|
-
attr_accessor :user_handle
|
2079
|
-
|
2080
|
-
def initialize(**args)
|
2081
|
-
update!(**args)
|
2082
|
-
end
|
2083
|
-
|
2084
|
-
# Update properties of this object
|
2085
|
-
def update!(**args)
|
2086
|
-
@authenticator_data = args[:authenticator_data] if args.key?(:authenticator_data)
|
2087
|
-
@client_data_json = args[:client_data_json] if args.key?(:client_data_json)
|
2088
|
-
@signature = args[:signature] if args.key?(:signature)
|
2089
|
-
@user_handle = args[:user_handle] if args.key?(:user_handle)
|
2090
|
-
end
|
2091
|
-
end
|
2092
|
-
|
2093
|
-
# Attestation response from a FIDO authenticator.
|
2094
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse
|
2095
|
-
include Google::Apis::Core::Hashable
|
2096
|
-
|
2097
|
-
# The attestation object from the authenticator.
|
2098
|
-
# Corresponds to the JSON property `attestationObject`
|
2099
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2100
|
-
# @return [String]
|
2101
|
-
attr_accessor :attestation_object
|
2102
|
-
|
2103
|
-
# The CollectedClientData object from the authenticator.
|
2104
|
-
# Corresponds to the JSON property `clientDataJson`
|
2105
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2106
|
-
# @return [String]
|
2107
|
-
attr_accessor :client_data_json
|
2108
|
-
|
2109
|
-
# Authenticator transports that are supported by the authenticator.
|
2110
|
-
# Corresponds to the JSON property `transports`
|
2111
|
-
# @return [Array<String>]
|
2112
|
-
attr_accessor :transports
|
2113
|
-
|
2114
|
-
def initialize(**args)
|
2115
|
-
update!(**args)
|
2116
|
-
end
|
2117
|
-
|
2118
|
-
# Update properties of this object
|
2119
|
-
def update!(**args)
|
2120
|
-
@attestation_object = args[:attestation_object] if args.key?(:attestation_object)
|
2121
|
-
@client_data_json = args[:client_data_json] if args.key?(:client_data_json)
|
2122
|
-
@transports = args[:transports] if args.key?(:transports)
|
2123
|
-
end
|
2124
|
-
end
|
2125
|
-
|
2126
|
-
# Authenticator response to authenticate the user with an existing FIDO key.
|
2127
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse
|
2128
|
-
include Google::Apis::Core::Hashable
|
2129
|
-
|
2130
|
-
# Authentication response from a FIDO authenticator.
|
2131
|
-
# Corresponds to the JSON property `authenticatorAssertionResponse`
|
2132
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse]
|
2133
|
-
attr_accessor :authenticator_assertion_response
|
2134
|
-
|
2135
|
-
# Identifier for the authentication credential.
|
2136
|
-
# Corresponds to the JSON property `credentialId`
|
2137
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2138
|
-
# @return [String]
|
2139
|
-
attr_accessor :credential_id
|
2140
|
-
|
2141
|
-
# The type of public key.
|
2142
|
-
# Corresponds to the JSON property `credentialType`
|
2143
|
-
# @return [String]
|
2144
|
-
attr_accessor :credential_type
|
2145
|
-
|
2146
|
-
def initialize(**args)
|
2147
|
-
update!(**args)
|
2148
|
-
end
|
2149
|
-
|
2150
|
-
# Update properties of this object
|
2151
|
-
def update!(**args)
|
2152
|
-
@authenticator_assertion_response = args[:authenticator_assertion_response] if args.key?(:authenticator_assertion_response)
|
2153
|
-
@credential_id = args[:credential_id] if args.key?(:credential_id)
|
2154
|
-
@credential_type = args[:credential_type] if args.key?(:credential_type)
|
2155
|
-
end
|
2156
|
-
end
|
2157
|
-
|
2158
|
-
# Authenticator response to register a new FIDO key.
|
2159
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse
|
2160
|
-
include Google::Apis::Core::Hashable
|
2161
|
-
|
2162
|
-
# Attestation response from a FIDO authenticator.
|
2163
|
-
# Corresponds to the JSON property `authenticatorAttestationResponse`
|
2164
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse]
|
2165
|
-
attr_accessor :authenticator_attestation_response
|
2166
|
-
|
2167
|
-
# Identifier for the registered credential.
|
2168
|
-
# Corresponds to the JSON property `credentialId`
|
2169
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2170
|
-
# @return [String]
|
2171
|
-
attr_accessor :credential_id
|
2172
|
-
|
2173
|
-
# The type of credential.
|
2174
|
-
# Corresponds to the JSON property `credentialType`
|
2175
|
-
# @return [String]
|
2176
|
-
attr_accessor :credential_type
|
2177
|
-
|
2178
|
-
def initialize(**args)
|
2179
|
-
update!(**args)
|
2180
|
-
end
|
2181
|
-
|
2182
|
-
# Update properties of this object
|
2183
|
-
def update!(**args)
|
2184
|
-
@authenticator_attestation_response = args[:authenticator_attestation_response] if args.key?(:authenticator_attestation_response)
|
2185
|
-
@credential_id = args[:credential_id] if args.key?(:credential_id)
|
2186
|
-
@credential_type = args[:credential_type] if args.key?(:credential_type)
|
2187
|
-
end
|
2188
|
-
end
|
2189
|
-
|
2190
|
-
# Criteria for the authenticator to create a registered FIDO key.
|
2191
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
|
2192
|
-
include Google::Apis::Core::Hashable
|
2193
|
-
|
2194
|
-
# The preferred authenticator attachment modality.
|
2195
|
-
# Corresponds to the JSON property `authenticatorAttachment`
|
2196
|
-
# @return [String]
|
2197
|
-
attr_accessor :authenticator_attachment
|
2198
|
-
|
2199
|
-
# Whether resident key is required.
|
2200
|
-
# Corresponds to the JSON property `requireResidentKey`
|
2201
|
-
# @return [Boolean]
|
2202
|
-
attr_accessor :require_resident_key
|
2203
|
-
alias_method :require_resident_key?, :require_resident_key
|
2204
|
-
|
2205
|
-
# The Relying Party's user verification requirements.
|
2206
|
-
# Corresponds to the JSON property `userVerification`
|
2207
|
-
# @return [String]
|
2208
|
-
attr_accessor :user_verification
|
2209
|
-
|
2210
|
-
def initialize(**args)
|
2211
|
-
update!(**args)
|
2212
|
-
end
|
2213
|
-
|
2214
|
-
# Update properties of this object
|
2215
|
-
def update!(**args)
|
2216
|
-
@authenticator_attachment = args[:authenticator_attachment] if args.key?(:authenticator_attachment)
|
2217
|
-
@require_resident_key = args[:require_resident_key] if args.key?(:require_resident_key)
|
2218
|
-
@user_verification = args[:user_verification] if args.key?(:user_verification)
|
2219
|
-
end
|
2220
|
-
end
|
2221
|
-
|
2222
2052
|
# The information required to auto-retrieve an SMS.
|
2223
2053
|
class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
|
2224
2054
|
include Google::Apis::Core::Hashable
|
@@ -2554,122 +2384,6 @@ module Google
|
|
2554
2384
|
end
|
2555
2385
|
end
|
2556
2386
|
|
2557
|
-
# FinalizePasskeyEnrollment request. Registers passkey as a first factor for the
|
2558
|
-
# user.
|
2559
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest
|
2560
|
-
include Google::Apis::Core::Hashable
|
2561
|
-
|
2562
|
-
# Authenticator response to register a new FIDO key.
|
2563
|
-
# Corresponds to the JSON property `authenticatorRegistrationResponse`
|
2564
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse]
|
2565
|
-
attr_accessor :authenticator_registration_response
|
2566
|
-
|
2567
|
-
# Required. The GCIP ID token of the signed-in user
|
2568
|
-
# Corresponds to the JSON property `idToken`
|
2569
|
-
# @return [String]
|
2570
|
-
attr_accessor :id_token
|
2571
|
-
|
2572
|
-
# Optional. The ID of the Identity Platform tenant the user is signing in to. If
|
2573
|
-
# not set, the user will sign in to the default Identity Platform project.
|
2574
|
-
# Corresponds to the JSON property `tenantId`
|
2575
|
-
# @return [String]
|
2576
|
-
attr_accessor :tenant_id
|
2577
|
-
|
2578
|
-
def initialize(**args)
|
2579
|
-
update!(**args)
|
2580
|
-
end
|
2581
|
-
|
2582
|
-
# Update properties of this object
|
2583
|
-
def update!(**args)
|
2584
|
-
@authenticator_registration_response = args[:authenticator_registration_response] if args.key?(:authenticator_registration_response)
|
2585
|
-
@id_token = args[:id_token] if args.key?(:id_token)
|
2586
|
-
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
2587
|
-
end
|
2588
|
-
end
|
2589
|
-
|
2590
|
-
# FinalizePasskeyEnrollment response.
|
2591
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse
|
2592
|
-
include Google::Apis::Core::Hashable
|
2593
|
-
|
2594
|
-
# ID token for the authenticated user.
|
2595
|
-
# Corresponds to the JSON property `idToken`
|
2596
|
-
# @return [String]
|
2597
|
-
attr_accessor :id_token
|
2598
|
-
|
2599
|
-
# Refresh token for the authenticated user.
|
2600
|
-
# Corresponds to the JSON property `refreshToken`
|
2601
|
-
# @return [String]
|
2602
|
-
attr_accessor :refresh_token
|
2603
|
-
|
2604
|
-
def initialize(**args)
|
2605
|
-
update!(**args)
|
2606
|
-
end
|
2607
|
-
|
2608
|
-
# Update properties of this object
|
2609
|
-
def update!(**args)
|
2610
|
-
@id_token = args[:id_token] if args.key?(:id_token)
|
2611
|
-
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
2612
|
-
end
|
2613
|
-
end
|
2614
|
-
|
2615
|
-
# Request to finalize a passkey sign-in.
|
2616
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest
|
2617
|
-
include Google::Apis::Core::Hashable
|
2618
|
-
|
2619
|
-
# Authenticator response to authenticate the user with an existing FIDO key.
|
2620
|
-
# Corresponds to the JSON property `authenticatorAuthenticationResponse`
|
2621
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse]
|
2622
|
-
attr_accessor :authenticator_authentication_response
|
2623
|
-
|
2624
|
-
# Optional. The session ID that was passed into StartPasskeySignIn, if any.
|
2625
|
-
# Corresponds to the JSON property `sessionId`
|
2626
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2627
|
-
# @return [String]
|
2628
|
-
attr_accessor :session_id
|
2629
|
-
|
2630
|
-
# Optional. The ID of the Identity Platform tenant the user is signing in to. If
|
2631
|
-
# not set, the user will sign in to the default Identity Platform project.
|
2632
|
-
# Corresponds to the JSON property `tenantId`
|
2633
|
-
# @return [String]
|
2634
|
-
attr_accessor :tenant_id
|
2635
|
-
|
2636
|
-
def initialize(**args)
|
2637
|
-
update!(**args)
|
2638
|
-
end
|
2639
|
-
|
2640
|
-
# Update properties of this object
|
2641
|
-
def update!(**args)
|
2642
|
-
@authenticator_authentication_response = args[:authenticator_authentication_response] if args.key?(:authenticator_authentication_response)
|
2643
|
-
@session_id = args[:session_id] if args.key?(:session_id)
|
2644
|
-
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
2645
|
-
end
|
2646
|
-
end
|
2647
|
-
|
2648
|
-
# Response for FinalizePasskeySignIn.
|
2649
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse
|
2650
|
-
include Google::Apis::Core::Hashable
|
2651
|
-
|
2652
|
-
# ID token for the authenticated user.
|
2653
|
-
# Corresponds to the JSON property `idToken`
|
2654
|
-
# @return [String]
|
2655
|
-
attr_accessor :id_token
|
2656
|
-
|
2657
|
-
# Refresh token for the authenticated user.
|
2658
|
-
# Corresponds to the JSON property `refreshToken`
|
2659
|
-
# @return [String]
|
2660
|
-
attr_accessor :refresh_token
|
2661
|
-
|
2662
|
-
def initialize(**args)
|
2663
|
-
update!(**args)
|
2664
|
-
end
|
2665
|
-
|
2666
|
-
# Update properties of this object
|
2667
|
-
def update!(**args)
|
2668
|
-
@id_token = args[:id_token] if args.key?(:id_token)
|
2669
|
-
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
2670
|
-
end
|
2671
|
-
end
|
2672
|
-
|
2673
2387
|
# TOTP verification info for FinalizeMfaSignInRequest.
|
2674
2388
|
class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
|
2675
2389
|
include Google::Apis::Core::Hashable
|
@@ -2703,6 +2417,17 @@ module Google
|
|
2703
2417
|
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions]
|
2704
2418
|
attr_accessor :custom_strength_options
|
2705
2419
|
|
2420
|
+
# Output only. Which enforcement mode to use for the password policy.
|
2421
|
+
# Corresponds to the JSON property `enforcementState`
|
2422
|
+
# @return [String]
|
2423
|
+
attr_accessor :enforcement_state
|
2424
|
+
|
2425
|
+
# Users must have a password compliant with the password policy to sign-in.
|
2426
|
+
# Corresponds to the JSON property `forceUpgradeOnSignin`
|
2427
|
+
# @return [Boolean]
|
2428
|
+
attr_accessor :force_upgrade_on_signin
|
2429
|
+
alias_method :force_upgrade_on_signin?, :force_upgrade_on_signin
|
2430
|
+
|
2706
2431
|
# Output only. schema version number for the password policy
|
2707
2432
|
# Corresponds to the JSON property `schemaVersion`
|
2708
2433
|
# @return [Fixnum]
|
@@ -2716,149 +2441,12 @@ module Google
|
|
2716
2441
|
def update!(**args)
|
2717
2442
|
@allowed_non_alphanumeric_characters = args[:allowed_non_alphanumeric_characters] if args.key?(:allowed_non_alphanumeric_characters)
|
2718
2443
|
@custom_strength_options = args[:custom_strength_options] if args.key?(:custom_strength_options)
|
2444
|
+
@enforcement_state = args[:enforcement_state] if args.key?(:enforcement_state)
|
2445
|
+
@force_upgrade_on_signin = args[:force_upgrade_on_signin] if args.key?(:force_upgrade_on_signin)
|
2719
2446
|
@schema_version = args[:schema_version] if args.key?(:schema_version)
|
2720
2447
|
end
|
2721
2448
|
end
|
2722
2449
|
|
2723
|
-
# Parameters for creating a FIDO key.
|
2724
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions
|
2725
|
-
include Google::Apis::Core::Hashable
|
2726
|
-
|
2727
|
-
# Criteria for the authenticator to create a registered FIDO key.
|
2728
|
-
# Corresponds to the JSON property `authenticatorSelection`
|
2729
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria]
|
2730
|
-
attr_accessor :authenticator_selection
|
2731
|
-
|
2732
|
-
# The FIDO challenge.
|
2733
|
-
# Corresponds to the JSON property `challenge`
|
2734
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2735
|
-
# @return [String]
|
2736
|
-
attr_accessor :challenge
|
2737
|
-
|
2738
|
-
# Credentials already mapped to this user.
|
2739
|
-
# Corresponds to the JSON property `excludeCredentials`
|
2740
|
-
# @return [Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor>]
|
2741
|
-
attr_accessor :exclude_credentials
|
2742
|
-
|
2743
|
-
# Lists the supported key types and signature algorithms.
|
2744
|
-
# Corresponds to the JSON property `pubKeyCredParams`
|
2745
|
-
# @return [Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters>]
|
2746
|
-
attr_accessor :pub_key_cred_params
|
2747
|
-
|
2748
|
-
# The entity object for the Relying Party.
|
2749
|
-
# Corresponds to the JSON property `rp`
|
2750
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RpEntity]
|
2751
|
-
attr_accessor :rp
|
2752
|
-
|
2753
|
-
# The entity object for the user.
|
2754
|
-
# Corresponds to the JSON property `user`
|
2755
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2UserEntity]
|
2756
|
-
attr_accessor :user
|
2757
|
-
|
2758
|
-
def initialize(**args)
|
2759
|
-
update!(**args)
|
2760
|
-
end
|
2761
|
-
|
2762
|
-
# Update properties of this object
|
2763
|
-
def update!(**args)
|
2764
|
-
@authenticator_selection = args[:authenticator_selection] if args.key?(:authenticator_selection)
|
2765
|
-
@challenge = args[:challenge] if args.key?(:challenge)
|
2766
|
-
@exclude_credentials = args[:exclude_credentials] if args.key?(:exclude_credentials)
|
2767
|
-
@pub_key_cred_params = args[:pub_key_cred_params] if args.key?(:pub_key_cred_params)
|
2768
|
-
@rp = args[:rp] if args.key?(:rp)
|
2769
|
-
@user = args[:user] if args.key?(:user)
|
2770
|
-
end
|
2771
|
-
end
|
2772
|
-
|
2773
|
-
# Descriptor for a public key credential.
|
2774
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
|
2775
|
-
include Google::Apis::Core::Hashable
|
2776
|
-
|
2777
|
-
# The identifier for the credential.
|
2778
|
-
# Corresponds to the JSON property `credentialId`
|
2779
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2780
|
-
# @return [String]
|
2781
|
-
attr_accessor :credential_id
|
2782
|
-
|
2783
|
-
# The type of public key.
|
2784
|
-
# Corresponds to the JSON property `credentialType`
|
2785
|
-
# @return [String]
|
2786
|
-
attr_accessor :credential_type
|
2787
|
-
|
2788
|
-
# Authenticator transports that are supported by the authenticator.
|
2789
|
-
# Corresponds to the JSON property `transports`
|
2790
|
-
# @return [Array<String>]
|
2791
|
-
attr_accessor :transports
|
2792
|
-
|
2793
|
-
def initialize(**args)
|
2794
|
-
update!(**args)
|
2795
|
-
end
|
2796
|
-
|
2797
|
-
# Update properties of this object
|
2798
|
-
def update!(**args)
|
2799
|
-
@credential_id = args[:credential_id] if args.key?(:credential_id)
|
2800
|
-
@credential_type = args[:credential_type] if args.key?(:credential_type)
|
2801
|
-
@transports = args[:transports] if args.key?(:transports)
|
2802
|
-
end
|
2803
|
-
end
|
2804
|
-
|
2805
|
-
# Parameters to create a public credential.
|
2806
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters
|
2807
|
-
include Google::Apis::Core::Hashable
|
2808
|
-
|
2809
|
-
# The COSE registry number of the cryptographic signature algorithm.
|
2810
|
-
# Corresponds to the JSON property `alg`
|
2811
|
-
# @return [Fixnum]
|
2812
|
-
attr_accessor :alg
|
2813
|
-
|
2814
|
-
# The type of public key to be created.
|
2815
|
-
# Corresponds to the JSON property `credentialType`
|
2816
|
-
# @return [String]
|
2817
|
-
attr_accessor :credential_type
|
2818
|
-
|
2819
|
-
def initialize(**args)
|
2820
|
-
update!(**args)
|
2821
|
-
end
|
2822
|
-
|
2823
|
-
# Update properties of this object
|
2824
|
-
def update!(**args)
|
2825
|
-
@alg = args[:alg] if args.key?(:alg)
|
2826
|
-
@credential_type = args[:credential_type] if args.key?(:credential_type)
|
2827
|
-
end
|
2828
|
-
end
|
2829
|
-
|
2830
|
-
# Parameters for signing a challenge with a FIDO key.
|
2831
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
|
2832
|
-
include Google::Apis::Core::Hashable
|
2833
|
-
|
2834
|
-
# The FIDO challenge.
|
2835
|
-
# Corresponds to the JSON property `challenge`
|
2836
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2837
|
-
# @return [String]
|
2838
|
-
attr_accessor :challenge
|
2839
|
-
|
2840
|
-
# The relying party identifier.
|
2841
|
-
# Corresponds to the JSON property `rpId`
|
2842
|
-
# @return [String]
|
2843
|
-
attr_accessor :rp_id
|
2844
|
-
|
2845
|
-
# The requirements regarding user verification.
|
2846
|
-
# Corresponds to the JSON property `userVerification`
|
2847
|
-
# @return [String]
|
2848
|
-
attr_accessor :user_verification
|
2849
|
-
|
2850
|
-
def initialize(**args)
|
2851
|
-
update!(**args)
|
2852
|
-
end
|
2853
|
-
|
2854
|
-
# Update properties of this object
|
2855
|
-
def update!(**args)
|
2856
|
-
@challenge = args[:challenge] if args.key?(:challenge)
|
2857
|
-
@rp_id = args[:rp_id] if args.key?(:rp_id)
|
2858
|
-
@user_verification = args[:user_verification] if args.key?(:user_verification)
|
2859
|
-
end
|
2860
|
-
end
|
2861
|
-
|
2862
2450
|
# Configuration for reCAPTCHA
|
2863
2451
|
class GoogleCloudIdentitytoolkitV2RecaptchaConfig
|
2864
2452
|
include Google::Apis::Core::Hashable
|
@@ -2870,7 +2458,8 @@ module Google
|
|
2870
2458
|
attr_accessor :recaptcha_enforcement_state
|
2871
2459
|
|
2872
2460
|
# The reCAPTCHA Enterprise key resource name, e.g. "projects/`project`/keys/`key`
|
2873
|
-
# ".
|
2461
|
+
# ". This will only be returned when the reCAPTCHA enforcement state is AUDIT or
|
2462
|
+
# ENFORCE on at least one of the reCAPTCHA providers.
|
2874
2463
|
# Corresponds to the JSON property `recaptchaKey`
|
2875
2464
|
# @return [String]
|
2876
2465
|
attr_accessor :recaptcha_key
|
@@ -2931,7 +2520,7 @@ module Google
|
|
2931
2520
|
|
2932
2521
|
# The redirect URI provided in the initial authorization request made by the
|
2933
2522
|
# client to the IDP. The URI must use the HTTPS protocol, include a domain name,
|
2934
|
-
# and can
|
2523
|
+
# and can't contain an IP address or localhost. Required if token_type is CODE.
|
2935
2524
|
# Corresponds to the JSON property `redirectUri`
|
2936
2525
|
# @return [String]
|
2937
2526
|
attr_accessor :redirect_uri
|
@@ -2982,25 +2571,6 @@ module Google
|
|
2982
2571
|
end
|
2983
2572
|
end
|
2984
2573
|
|
2985
|
-
# The entity object for the Relying Party.
|
2986
|
-
class GoogleCloudIdentitytoolkitV2RpEntity
|
2987
|
-
include Google::Apis::Core::Hashable
|
2988
|
-
|
2989
|
-
# The RP ID of the FIDO Relying Party.
|
2990
|
-
# Corresponds to the JSON property `id`
|
2991
|
-
# @return [String]
|
2992
|
-
attr_accessor :id
|
2993
|
-
|
2994
|
-
def initialize(**args)
|
2995
|
-
update!(**args)
|
2996
|
-
end
|
2997
|
-
|
2998
|
-
# Update properties of this object
|
2999
|
-
def update!(**args)
|
3000
|
-
@id = args[:id] if args.key?(:id)
|
3001
|
-
end
|
3002
|
-
end
|
3003
|
-
|
3004
2574
|
# Sends MFA enrollment verification SMS for a user.
|
3005
2575
|
class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
|
3006
2576
|
include Google::Apis::Core::Hashable
|
@@ -3267,119 +2837,6 @@ module Google
|
|
3267
2837
|
end
|
3268
2838
|
end
|
3269
2839
|
|
3270
|
-
# Starts passkey enrollment for passkey as a first factor by returning the FIDO
|
3271
|
-
# challenge.
|
3272
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest
|
3273
|
-
include Google::Apis::Core::Hashable
|
3274
|
-
|
3275
|
-
# Required. The GCIP ID token of the signed-in user
|
3276
|
-
# Corresponds to the JSON property `idToken`
|
3277
|
-
# @return [String]
|
3278
|
-
attr_accessor :id_token
|
3279
|
-
|
3280
|
-
# Optional. The ID of the Identity Platform tenant the user is signing in to. If
|
3281
|
-
# not set, the user will sign in to the default Identity Platform project.
|
3282
|
-
# Corresponds to the JSON property `tenantId`
|
3283
|
-
# @return [String]
|
3284
|
-
attr_accessor :tenant_id
|
3285
|
-
|
3286
|
-
def initialize(**args)
|
3287
|
-
update!(**args)
|
3288
|
-
end
|
3289
|
-
|
3290
|
-
# Update properties of this object
|
3291
|
-
def update!(**args)
|
3292
|
-
@id_token = args[:id_token] if args.key?(:id_token)
|
3293
|
-
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
3294
|
-
end
|
3295
|
-
end
|
3296
|
-
|
3297
|
-
# StartPasskeyEnrollment response.
|
3298
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse
|
3299
|
-
include Google::Apis::Core::Hashable
|
3300
|
-
|
3301
|
-
# Parameters for creating a FIDO key.
|
3302
|
-
# Corresponds to the JSON property `credentialCreationOptions`
|
3303
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions]
|
3304
|
-
attr_accessor :credential_creation_options
|
3305
|
-
|
3306
|
-
def initialize(**args)
|
3307
|
-
update!(**args)
|
3308
|
-
end
|
3309
|
-
|
3310
|
-
# Update properties of this object
|
3311
|
-
def update!(**args)
|
3312
|
-
@credential_creation_options = args[:credential_creation_options] if args.key?(:credential_creation_options)
|
3313
|
-
end
|
3314
|
-
end
|
3315
|
-
|
3316
|
-
# Starts passkey sign-in by returning the FIDO challenge.
|
3317
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest
|
3318
|
-
include Google::Apis::Core::Hashable
|
3319
|
-
|
3320
|
-
# Optional. The developer can bind their own concept of a user session to this
|
3321
|
-
# flow.
|
3322
|
-
# Corresponds to the JSON property `sessionId`
|
3323
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3324
|
-
# @return [String]
|
3325
|
-
attr_accessor :session_id
|
3326
|
-
|
3327
|
-
# Optional. The ID of the Identity Platform tenant the user is signing in to. If
|
3328
|
-
# not set, the user will sign in to the default Identity Platform project.
|
3329
|
-
# Corresponds to the JSON property `tenantId`
|
3330
|
-
# @return [String]
|
3331
|
-
attr_accessor :tenant_id
|
3332
|
-
|
3333
|
-
def initialize(**args)
|
3334
|
-
update!(**args)
|
3335
|
-
end
|
3336
|
-
|
3337
|
-
# Update properties of this object
|
3338
|
-
def update!(**args)
|
3339
|
-
@session_id = args[:session_id] if args.key?(:session_id)
|
3340
|
-
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
3341
|
-
end
|
3342
|
-
end
|
3343
|
-
|
3344
|
-
# Response for StartPasskeySignIn.
|
3345
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse
|
3346
|
-
include Google::Apis::Core::Hashable
|
3347
|
-
|
3348
|
-
# Parameters for signing a challenge with a FIDO key.
|
3349
|
-
# Corresponds to the JSON property `credentialRequestOptions`
|
3350
|
-
# @return [Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions]
|
3351
|
-
attr_accessor :credential_request_options
|
3352
|
-
|
3353
|
-
def initialize(**args)
|
3354
|
-
update!(**args)
|
3355
|
-
end
|
3356
|
-
|
3357
|
-
# Update properties of this object
|
3358
|
-
def update!(**args)
|
3359
|
-
@credential_request_options = args[:credential_request_options] if args.key?(:credential_request_options)
|
3360
|
-
end
|
3361
|
-
end
|
3362
|
-
|
3363
|
-
# The entity object for the user.
|
3364
|
-
class GoogleCloudIdentitytoolkitV2UserEntity
|
3365
|
-
include Google::Apis::Core::Hashable
|
3366
|
-
|
3367
|
-
# The user ID.
|
3368
|
-
# Corresponds to the JSON property `id`
|
3369
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3370
|
-
# @return [String]
|
3371
|
-
attr_accessor :id
|
3372
|
-
|
3373
|
-
def initialize(**args)
|
3374
|
-
update!(**args)
|
3375
|
-
end
|
3376
|
-
|
3377
|
-
# Update properties of this object
|
3378
|
-
def update!(**args)
|
3379
|
-
@id = args[:id] if args.key?(:id)
|
3380
|
-
end
|
3381
|
-
end
|
3382
|
-
|
3383
2840
|
# Withdraws MFA.
|
3384
2841
|
class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
|
3385
2842
|
include Google::Apis::Core::Hashable
|
@@ -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.14.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 = "20230707"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -370,36 +370,6 @@ module Google
|
|
370
370
|
include Google::Apis::Core::JsonObjectSupport
|
371
371
|
end
|
372
372
|
|
373
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse
|
374
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
-
|
376
|
-
include Google::Apis::Core::JsonObjectSupport
|
377
|
-
end
|
378
|
-
|
379
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse
|
380
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
-
|
382
|
-
include Google::Apis::Core::JsonObjectSupport
|
383
|
-
end
|
384
|
-
|
385
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse
|
386
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
-
|
388
|
-
include Google::Apis::Core::JsonObjectSupport
|
389
|
-
end
|
390
|
-
|
391
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse
|
392
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
-
|
394
|
-
include Google::Apis::Core::JsonObjectSupport
|
395
|
-
end
|
396
|
-
|
397
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
|
398
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
-
|
400
|
-
include Google::Apis::Core::JsonObjectSupport
|
401
|
-
end
|
402
|
-
|
403
373
|
class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
|
404
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
375
|
|
@@ -460,30 +430,6 @@ module Google
|
|
460
430
|
include Google::Apis::Core::JsonObjectSupport
|
461
431
|
end
|
462
432
|
|
463
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest
|
464
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
-
|
466
|
-
include Google::Apis::Core::JsonObjectSupport
|
467
|
-
end
|
468
|
-
|
469
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse
|
470
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
-
|
472
|
-
include Google::Apis::Core::JsonObjectSupport
|
473
|
-
end
|
474
|
-
|
475
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest
|
476
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
-
|
478
|
-
include Google::Apis::Core::JsonObjectSupport
|
479
|
-
end
|
480
|
-
|
481
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
-
|
484
|
-
include Google::Apis::Core::JsonObjectSupport
|
485
|
-
end
|
486
|
-
|
487
433
|
class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
|
488
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
435
|
|
@@ -496,30 +442,6 @@ module Google
|
|
496
442
|
include Google::Apis::Core::JsonObjectSupport
|
497
443
|
end
|
498
444
|
|
499
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions
|
500
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
-
|
502
|
-
include Google::Apis::Core::JsonObjectSupport
|
503
|
-
end
|
504
|
-
|
505
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
|
506
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
-
|
508
|
-
include Google::Apis::Core::JsonObjectSupport
|
509
|
-
end
|
510
|
-
|
511
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters
|
512
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
-
|
514
|
-
include Google::Apis::Core::JsonObjectSupport
|
515
|
-
end
|
516
|
-
|
517
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
|
518
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
-
|
520
|
-
include Google::Apis::Core::JsonObjectSupport
|
521
|
-
end
|
522
|
-
|
523
445
|
class GoogleCloudIdentitytoolkitV2RecaptchaConfig
|
524
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
447
|
|
@@ -544,12 +466,6 @@ module Google
|
|
544
466
|
include Google::Apis::Core::JsonObjectSupport
|
545
467
|
end
|
546
468
|
|
547
|
-
class GoogleCloudIdentitytoolkitV2RpEntity
|
548
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
-
|
550
|
-
include Google::Apis::Core::JsonObjectSupport
|
551
|
-
end
|
552
|
-
|
553
469
|
class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
|
554
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
471
|
|
@@ -598,36 +514,6 @@ module Google
|
|
598
514
|
include Google::Apis::Core::JsonObjectSupport
|
599
515
|
end
|
600
516
|
|
601
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest
|
602
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
-
|
604
|
-
include Google::Apis::Core::JsonObjectSupport
|
605
|
-
end
|
606
|
-
|
607
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse
|
608
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
-
|
610
|
-
include Google::Apis::Core::JsonObjectSupport
|
611
|
-
end
|
612
|
-
|
613
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest
|
614
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
-
|
616
|
-
include Google::Apis::Core::JsonObjectSupport
|
617
|
-
end
|
618
|
-
|
619
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse
|
620
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
-
|
622
|
-
include Google::Apis::Core::JsonObjectSupport
|
623
|
-
end
|
624
|
-
|
625
|
-
class GoogleCloudIdentitytoolkitV2UserEntity
|
626
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
-
|
628
|
-
include Google::Apis::Core::JsonObjectSupport
|
629
|
-
end
|
630
|
-
|
631
517
|
class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
|
632
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
519
|
|
@@ -1298,54 +1184,6 @@ module Google
|
|
1298
1184
|
end
|
1299
1185
|
end
|
1300
1186
|
|
1301
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse
|
1302
|
-
# @private
|
1303
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1304
|
-
property :authenticator_data, :base64 => true, as: 'authenticatorData'
|
1305
|
-
property :client_data_json, :base64 => true, as: 'clientDataJson'
|
1306
|
-
property :signature, :base64 => true, as: 'signature'
|
1307
|
-
property :user_handle, :base64 => true, as: 'userHandle'
|
1308
|
-
end
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse
|
1312
|
-
# @private
|
1313
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1314
|
-
property :attestation_object, :base64 => true, as: 'attestationObject'
|
1315
|
-
property :client_data_json, :base64 => true, as: 'clientDataJson'
|
1316
|
-
collection :transports, as: 'transports'
|
1317
|
-
end
|
1318
|
-
end
|
1319
|
-
|
1320
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse
|
1321
|
-
# @private
|
1322
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1323
|
-
property :authenticator_assertion_response, as: 'authenticatorAssertionResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse::Representation
|
1324
|
-
|
1325
|
-
property :credential_id, :base64 => true, as: 'credentialId'
|
1326
|
-
property :credential_type, as: 'credentialType'
|
1327
|
-
end
|
1328
|
-
end
|
1329
|
-
|
1330
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse
|
1331
|
-
# @private
|
1332
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1333
|
-
property :authenticator_attestation_response, as: 'authenticatorAttestationResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse::Representation
|
1334
|
-
|
1335
|
-
property :credential_id, :base64 => true, as: 'credentialId'
|
1336
|
-
property :credential_type, as: 'credentialType'
|
1337
|
-
end
|
1338
|
-
end
|
1339
|
-
|
1340
|
-
class GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria
|
1341
|
-
# @private
|
1342
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1343
|
-
property :authenticator_attachment, as: 'authenticatorAttachment'
|
1344
|
-
property :require_resident_key, as: 'requireResidentKey'
|
1345
|
-
property :user_verification, as: 'userVerification'
|
1346
|
-
end
|
1347
|
-
end
|
1348
|
-
|
1349
1187
|
class GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
|
1350
1188
|
# @private
|
1351
1189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1446,42 +1284,6 @@ module Google
|
|
1446
1284
|
end
|
1447
1285
|
end
|
1448
1286
|
|
1449
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest
|
1450
|
-
# @private
|
1451
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1452
|
-
property :authenticator_registration_response, as: 'authenticatorRegistrationResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse::Representation
|
1453
|
-
|
1454
|
-
property :id_token, as: 'idToken'
|
1455
|
-
property :tenant_id, as: 'tenantId'
|
1456
|
-
end
|
1457
|
-
end
|
1458
|
-
|
1459
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse
|
1460
|
-
# @private
|
1461
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1462
|
-
property :id_token, as: 'idToken'
|
1463
|
-
property :refresh_token, as: 'refreshToken'
|
1464
|
-
end
|
1465
|
-
end
|
1466
|
-
|
1467
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest
|
1468
|
-
# @private
|
1469
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1470
|
-
property :authenticator_authentication_response, as: 'authenticatorAuthenticationResponse', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse::Representation
|
1471
|
-
|
1472
|
-
property :session_id, :base64 => true, as: 'sessionId'
|
1473
|
-
property :tenant_id, as: 'tenantId'
|
1474
|
-
end
|
1475
|
-
end
|
1476
|
-
|
1477
|
-
class GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse
|
1478
|
-
# @private
|
1479
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1480
|
-
property :id_token, as: 'idToken'
|
1481
|
-
property :refresh_token, as: 'refreshToken'
|
1482
|
-
end
|
1483
|
-
end
|
1484
|
-
|
1485
1287
|
class GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo
|
1486
1288
|
# @private
|
1487
1289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1495,53 +1297,12 @@ module Google
|
|
1495
1297
|
collection :allowed_non_alphanumeric_characters, as: 'allowedNonAlphanumericCharacters'
|
1496
1298
|
property :custom_strength_options, as: 'customStrengthOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions::Representation
|
1497
1299
|
|
1300
|
+
property :enforcement_state, as: 'enforcementState'
|
1301
|
+
property :force_upgrade_on_signin, as: 'forceUpgradeOnSignin'
|
1498
1302
|
property :schema_version, as: 'schemaVersion'
|
1499
1303
|
end
|
1500
1304
|
end
|
1501
1305
|
|
1502
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions
|
1503
|
-
# @private
|
1504
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1505
|
-
property :authenticator_selection, as: 'authenticatorSelection', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria::Representation
|
1506
|
-
|
1507
|
-
property :challenge, :base64 => true, as: 'challenge'
|
1508
|
-
collection :exclude_credentials, as: 'excludeCredentials', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor::Representation
|
1509
|
-
|
1510
|
-
collection :pub_key_cred_params, as: 'pubKeyCredParams', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters::Representation
|
1511
|
-
|
1512
|
-
property :rp, as: 'rp', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RpEntity, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RpEntity::Representation
|
1513
|
-
|
1514
|
-
property :user, as: 'user', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2UserEntity, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2UserEntity::Representation
|
1515
|
-
|
1516
|
-
end
|
1517
|
-
end
|
1518
|
-
|
1519
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor
|
1520
|
-
# @private
|
1521
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1522
|
-
property :credential_id, :base64 => true, as: 'credentialId'
|
1523
|
-
property :credential_type, as: 'credentialType'
|
1524
|
-
collection :transports, as: 'transports'
|
1525
|
-
end
|
1526
|
-
end
|
1527
|
-
|
1528
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters
|
1529
|
-
# @private
|
1530
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1531
|
-
property :alg, :numeric_string => true, as: 'alg'
|
1532
|
-
property :credential_type, as: 'credentialType'
|
1533
|
-
end
|
1534
|
-
end
|
1535
|
-
|
1536
|
-
class GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions
|
1537
|
-
# @private
|
1538
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1539
|
-
property :challenge, :base64 => true, as: 'challenge'
|
1540
|
-
property :rp_id, as: 'rpId'
|
1541
|
-
property :user_verification, as: 'userVerification'
|
1542
|
-
end
|
1543
|
-
end
|
1544
|
-
|
1545
1306
|
class GoogleCloudIdentitytoolkitV2RecaptchaConfig
|
1546
1307
|
# @private
|
1547
1308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1577,13 +1338,6 @@ module Google
|
|
1577
1338
|
end
|
1578
1339
|
end
|
1579
1340
|
|
1580
|
-
class GoogleCloudIdentitytoolkitV2RpEntity
|
1581
|
-
# @private
|
1582
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1583
|
-
property :id, as: 'id'
|
1584
|
-
end
|
1585
|
-
end
|
1586
|
-
|
1587
1341
|
class GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest
|
1588
1342
|
# @private
|
1589
1343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1664,45 +1418,6 @@ module Google
|
|
1664
1418
|
end
|
1665
1419
|
end
|
1666
1420
|
|
1667
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest
|
1668
|
-
# @private
|
1669
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1670
|
-
property :id_token, as: 'idToken'
|
1671
|
-
property :tenant_id, as: 'tenantId'
|
1672
|
-
end
|
1673
|
-
end
|
1674
|
-
|
1675
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse
|
1676
|
-
# @private
|
1677
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
-
property :credential_creation_options, as: 'credentialCreationOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions::Representation
|
1679
|
-
|
1680
|
-
end
|
1681
|
-
end
|
1682
|
-
|
1683
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest
|
1684
|
-
# @private
|
1685
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1686
|
-
property :session_id, :base64 => true, as: 'sessionId'
|
1687
|
-
property :tenant_id, as: 'tenantId'
|
1688
|
-
end
|
1689
|
-
end
|
1690
|
-
|
1691
|
-
class GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse
|
1692
|
-
# @private
|
1693
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1694
|
-
property :credential_request_options, as: 'credentialRequestOptions', class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions, decorator: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions::Representation
|
1695
|
-
|
1696
|
-
end
|
1697
|
-
end
|
1698
|
-
|
1699
|
-
class GoogleCloudIdentitytoolkitV2UserEntity
|
1700
|
-
# @private
|
1701
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1702
|
-
property :id, :base64 => true, as: 'id'
|
1703
|
-
end
|
1704
|
-
end
|
1705
|
-
|
1706
1421
|
class GoogleCloudIdentitytoolkitV2WithdrawMfaRequest
|
1707
1422
|
# @private
|
1708
1423
|
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.
|
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.14.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-
|
11
|
+
date: 2023-07-16 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.14.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: []
|