Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ebd8cbf

Browse files
committedMay 24, 2023
feat(identitytoolkit): update the api
#### identitytoolkit:v1 The following keys were added: - schemas.GoogleCloudIdentitytoolkitV1EmailInfo (Total Keys: 3) - schemas.GoogleCloudIdentitytoolkitV1MfaEnrollment.properties.emailInfo.$ref (Total Keys: 1) - schemas.GoogleCloudIdentitytoolkitV1SignInWithPasswordResponse.properties.userNotifications (Total Keys: 2) - schemas.GoogleCloudIdentitytoolkitV1UserNotification (Total Keys: 4) #### identitytoolkit:v2 The following keys were added: - resources.accounts.resources.passkeyEnrollment.methods.finalize (Total Keys: 8) - resources.accounts.resources.passkeyEnrollment.methods.start (Total Keys: 8) - resources.accounts.resources.passkeySignIn.methods.finalize (Total Keys: 8) - resources.accounts.resources.passkeySignIn.methods.start (Total Keys: 8) - resources.v2.methods.getPasswordPolicy (Total Keys: 9) - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.passwordPolicyConfig.$ref (Total Keys: 1) - schemas.GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions (Total Keys: 10) - schemas.GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig (Total Keys: 9) - schemas.GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion (Total Keys: 6) - schemas.GoogleCloudIdentitytoolkitAdminV2Tenant.properties.passwordPolicyConfig.$ref (Total Keys: 1) - schemas.GoogleCloudIdentitytoolkitV2AuthenticatorAssertionResponse (Total Keys: 10) - schemas.GoogleCloudIdentitytoolkitV2AuthenticatorAttestationResponse (Total Keys: 8) - schemas.GoogleCloudIdentitytoolkitV2AuthenticatorAuthenticationResponse (Total Keys: 6) - schemas.GoogleCloudIdentitytoolkitV2AuthenticatorRegistrationResponse (Total Keys: 6) - schemas.GoogleCloudIdentitytoolkitV2AuthenticatorSelectionCriteria (Total Keys: 5) - schemas.GoogleCloudIdentitytoolkitV2CustomStrengthOptions (Total Keys: 10) - schemas.GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentRequest (Total Keys: 5) - schemas.GoogleCloudIdentitytoolkitV2FinalizePasskeyEnrollmentResponse (Total Keys: 4) - schemas.GoogleCloudIdentitytoolkitV2FinalizePasskeySignInRequest (Total Keys: 6) - schemas.GoogleCloudIdentitytoolkitV2FinalizePasskeySignInResponse (Total Keys: 4) - schemas.GoogleCloudIdentitytoolkitV2PasswordPolicy (Total Keys: 9) - schemas.GoogleCloudIdentitytoolkitV2PublicKeyCredentialCreationOptions (Total Keys: 11) - schemas.GoogleCloudIdentitytoolkitV2PublicKeyCredentialDescriptor (Total Keys: 7) - schemas.GoogleCloudIdentitytoolkitV2PublicKeyCredentialParameters (Total Keys: 5) - schemas.GoogleCloudIdentitytoolkitV2PublicKeyCredentialRequestOptions (Total Keys: 6) - schemas.GoogleCloudIdentitytoolkitV2RpEntity (Total Keys: 3) - schemas.GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentRequest (Total Keys: 4) - schemas.GoogleCloudIdentitytoolkitV2StartPasskeyEnrollmentResponse (Total Keys: 3) - schemas.GoogleCloudIdentitytoolkitV2StartPasskeySignInRequest (Total Keys: 5) - schemas.GoogleCloudIdentitytoolkitV2StartPasskeySignInResponse (Total Keys: 3) - schemas.GoogleCloudIdentitytoolkitV2UserEntity (Total Keys: 4)
1 parent cc26b91 commit ebd8cbf

12 files changed

+1269
-2
lines changed
 

‎docs/dyn/identitytoolkit_v1.accounts.html

+24
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ <h3>Method Details</h3>
307307
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
308308
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
309309
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
310+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
311+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
312+
},
310313
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
311314
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
312315
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -372,6 +375,9 @@ <h3>Method Details</h3>
372375
&quot;kind&quot;: &quot;A String&quot;,
373376
&quot;mfaInfo&quot;: { # Information on which multi-factor authentication (MFA) providers are enabled for an account.
374377
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
378+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
379+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
380+
},
375381
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
376382
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
377383
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -531,6 +537,9 @@ <h3>Method Details</h3>
531537
&quot;mfaInfo&quot;: [ # Info on which multi-factor authentication providers are enabled. Present if the user needs to complete the sign-in using multi-factor authentication.
532538
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
533539
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
540+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
541+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
542+
},
534543
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
535544
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
536545
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -639,6 +648,9 @@ <h3>Method Details</h3>
639648
&quot;mfaInfo&quot;: [ # Info on which multi-factor authentication providers are enabled for the account. Present if the user needs to complete the sign-in using multi-factor authentication.
640649
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
641650
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
651+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
652+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
653+
},
642654
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
643655
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
644656
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -713,6 +725,9 @@ <h3>Method Details</h3>
713725
&quot;mfaInfo&quot;: [ # Info on which multi-factor authentication providers are enabled for the account. Present if the user needs to complete the sign-in using multi-factor authentication.
714726
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
715727
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
728+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
729+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
730+
},
716731
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
717732
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
718733
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -728,6 +743,12 @@ <h3>Method Details</h3>
728743
&quot;profilePicture&quot;: &quot;A String&quot;, # The user&#x27;s profile picture stored in the account&#x27;s attributes.
729744
&quot;refreshToken&quot;: &quot;A String&quot;, # An Identity Platform refresh token for the authenticated user.
730745
&quot;registered&quot;: True or False, # Whether the email is for an existing account. Always true.
746+
&quot;userNotifications&quot;: [ # Warning notifications for the user.
747+
{ # Warning notifications for the user.
748+
&quot;notificationCode&quot;: &quot;A String&quot;, # Warning notification enum. Can be used for localization.
749+
&quot;notificationMessage&quot;: &quot;A String&quot;, # Warning notification string. Can be used as fallback.
750+
},
751+
],
731752
}</pre>
732753
</div>
733754

@@ -866,6 +887,9 @@ <h3>Method Details</h3>
866887
&quot;enrollments&quot;: [ # The second factors the user has enrolled.
867888
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
868889
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
890+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
891+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
892+
},
869893
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
870894
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
871895
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.

‎docs/dyn/identitytoolkit_v1.projects.accounts.html

+15
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ <h3>Method Details</h3>
157157
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
158158
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
159159
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
160+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
161+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
162+
},
160163
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
161164
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
162165
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -287,6 +290,9 @@ <h3>Method Details</h3>
287290
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
288291
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
289292
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
293+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
294+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
295+
},
290296
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
291297
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
292298
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -435,6 +441,9 @@ <h3>Method Details</h3>
435441
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
436442
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
437443
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
444+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
445+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
446+
},
438447
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
439448
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
440449
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -525,6 +534,9 @@ <h3>Method Details</h3>
525534
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
526535
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
527536
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
537+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
538+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
539+
},
528540
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
529541
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
530542
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -652,6 +664,9 @@ <h3>Method Details</h3>
652664
&quot;enrollments&quot;: [ # The second factors the user has enrolled.
653665
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
654666
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
667+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
668+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
669+
},
655670
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
656671
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
657672
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.

‎docs/dyn/identitytoolkit_v1.projects.html

+3
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ <h3>Method Details</h3>
181181
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
182182
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
183183
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
184+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
185+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
186+
},
184187
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
185188
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
186189
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.

‎docs/dyn/identitytoolkit_v1.projects.tenants.accounts.html

+15
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ <h3>Method Details</h3>
158158
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
159159
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
160160
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
161+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
162+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
163+
},
161164
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
162165
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
163166
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -289,6 +292,9 @@ <h3>Method Details</h3>
289292
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
290293
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
291294
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
295+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
296+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
297+
},
292298
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
293299
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
294300
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -439,6 +445,9 @@ <h3>Method Details</h3>
439445
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
440446
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
441447
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
448+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
449+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
450+
},
442451
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
443452
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
444453
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -530,6 +539,9 @@ <h3>Method Details</h3>
530539
&quot;mfaInfo&quot;: [ # Information on which multi-factor authentication providers are enabled for this account.
531540
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
532541
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
542+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
543+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
544+
},
533545
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
534546
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
535547
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.
@@ -659,6 +671,9 @@ <h3>Method Details</h3>
659671
&quot;enrollments&quot;: [ # The second factors the user has enrolled.
660672
{ # Information on which multi-factor authentication (MFA) providers are enabled for an account.
661673
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this mfa option e.g. &quot;corp cell phone&quot;.
674+
&quot;emailInfo&quot;: { # Information about email MFA. # Contains information specific to email MFA.
675+
&quot;emailAddress&quot;: &quot;A String&quot;, # Email address that a MFA verification should be sent to.
676+
},
662677
&quot;enrolledAt&quot;: &quot;A String&quot;, # Timestamp when the account enrolled this second factor.
663678
&quot;mfaEnrollmentId&quot;: &quot;A String&quot;, # ID of this MFA option.
664679
&quot;phoneInfo&quot;: &quot;A String&quot;, # Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number.

‎docs/dyn/identitytoolkit_v2.accounts.html

+10
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the mfaSignIn Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="identitytoolkit_v2.accounts.passkeyEnrollment.html">passkeyEnrollment()</a></code>
89+
</p>
90+
<p class="firstline">Returns the passkeyEnrollment Resource.</p>
91+
92+
<p class="toc_element">
93+
<code><a href="identitytoolkit_v2.accounts.passkeySignIn.html">passkeySignIn()</a></code>
94+
</p>
95+
<p class="firstline">Returns the passkeySignIn Resource.</p>
96+
8797
<p class="toc_element">
8898
<code><a href="#close">close()</a></code></p>
8999
<p class="firstline">Close httplib2 connections.</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="identitytoolkit_v2.html">Identity Toolkit API</a> . <a href="identitytoolkit_v2.accounts.html">accounts</a> . <a href="identitytoolkit_v2.accounts.passkeyEnrollment.html">passkeyEnrollment</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#finalize">finalize(body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Finishes enrolling a passkey credential for the user.</p>
83+
<p class="toc_element">
84+
<code><a href="#start">start(body=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Step one of the passkey enrollment process. Returns a challenge and parameters for creation of the passkey credential.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="finalize">finalize(body=None, x__xgafv=None)</code>
94+
<pre>Finishes enrolling a passkey credential for the user.
95+
96+
Args:
97+
body: object, The request body.
98+
The object takes the form of:
99+
100+
{ # FinalizePasskeyEnrollment request. Registers passkey as a first factor for the user.
101+
&quot;authenticatorRegistrationResponse&quot;: { # Authenticator response to register a new FIDO key. # Optional. The registration object from the authenticator.
102+
&quot;authenticatorAttestationResponse&quot;: { # Attestation response from a FIDO authenticator. # The attestation response object as described in the spec.
103+
&quot;attestationObject&quot;: &quot;A String&quot;, # The attestation object from the authenticator.
104+
&quot;clientDataJson&quot;: &quot;A String&quot;, # The CollectedClientData object from the authenticator.
105+
&quot;transports&quot;: [ # Authenticator transports that are supported by the authenticator.
106+
&quot;A String&quot;,
107+
],
108+
},
109+
&quot;credentialId&quot;: &quot;A String&quot;, # Identifier for the registered credential.
110+
&quot;credentialType&quot;: &quot;A String&quot;, # The type of credential.
111+
},
112+
&quot;idToken&quot;: &quot;A String&quot;, # Required. The GCIP ID token of the signed-in user
113+
&quot;tenantId&quot;: &quot;A String&quot;, # Optional. The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
114+
}
115+
116+
x__xgafv: string, V1 error format.
117+
Allowed values
118+
1 - v1 error format
119+
2 - v2 error format
120+
121+
Returns:
122+
An object of the form:
123+
124+
{ # FinalizePasskeyEnrollment response.
125+
&quot;idToken&quot;: &quot;A String&quot;, # ID token for the authenticated user.
126+
&quot;refreshToken&quot;: &quot;A String&quot;, # Refresh token for the authenticated user.
127+
}</pre>
128+
</div>
129+
130+
<div class="method">
131+
<code class="details" id="start">start(body=None, x__xgafv=None)</code>
132+
<pre>Step one of the passkey enrollment process. Returns a challenge and parameters for creation of the passkey credential.
133+
134+
Args:
135+
body: object, The request body.
136+
The object takes the form of:
137+
138+
{ # Starts passkey enrollment for passkey as a first factor by returning the FIDO challenge.
139+
&quot;idToken&quot;: &quot;A String&quot;, # Required. The GCIP ID token of the signed-in user
140+
&quot;tenantId&quot;: &quot;A String&quot;, # Optional. The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
141+
}
142+
143+
x__xgafv: string, V1 error format.
144+
Allowed values
145+
1 - v1 error format
146+
2 - v2 error format
147+
148+
Returns:
149+
An object of the form:
150+
151+
{ # StartPasskeyEnrollment response.
152+
&quot;credentialCreationOptions&quot;: { # Parameters for creating a FIDO key. # Parameters specified for the authenticator to create a public key.
153+
&quot;authenticatorSelection&quot;: { # Criteria for the authenticator to create a registered FIDO key. # Criteria for the authenticator to create a credential.
154+
&quot;authenticatorAttachment&quot;: &quot;A String&quot;, # The preferred authenticator attachment modality.
155+
&quot;requireResidentKey&quot;: True or False, # Whether resident key is required.
156+
&quot;userVerification&quot;: &quot;A String&quot;, # The Relying Party&#x27;s user verification requirements.
157+
},
158+
&quot;challenge&quot;: &quot;A String&quot;, # The FIDO challenge.
159+
&quot;excludeCredentials&quot;: [ # Credentials already mapped to this user.
160+
{ # Descriptor for a public key credential.
161+
&quot;credentialId&quot;: &quot;A String&quot;, # The identifier for the credential.
162+
&quot;credentialType&quot;: &quot;A String&quot;, # The type of public key.
163+
&quot;transports&quot;: [ # Authenticator transports that are supported by the authenticator.
164+
&quot;A String&quot;,
165+
],
166+
},
167+
],
168+
&quot;pubKeyCredParams&quot;: [ # Lists the supported key types and signature algorithms.
169+
{ # Parameters to create a public credential.
170+
&quot;alg&quot;: &quot;A String&quot;, # The COSE registry number of the cryptographic signature algorithm.
171+
&quot;credentialType&quot;: &quot;A String&quot;, # The type of public key to be created.
172+
},
173+
],
174+
&quot;rp&quot;: { # The entity object for the Relying Party. # The relying party attributes for creating a new credential.
175+
&quot;id&quot;: &quot;A String&quot;, # The RP ID of the FIDO Relying Party.
176+
},
177+
&quot;user&quot;: { # The entity object for the user. # The user attributes for creating a new credential.
178+
&quot;id&quot;: &quot;A String&quot;, # The user ID.
179+
},
180+
},
181+
}</pre>
182+
</div>
183+
184+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="identitytoolkit_v2.html">Identity Toolkit API</a> . <a href="identitytoolkit_v2.accounts.html">accounts</a> . <a href="identitytoolkit_v2.accounts.passkeySignIn.html">passkeySignIn</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#finalize">finalize(body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Verifies the passkey assertion and signs the user in.</p>
83+
<p class="toc_element">
84+
<code><a href="#start">start(body=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Creates and returns the passkey challenge</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="finalize">finalize(body=None, x__xgafv=None)</code>
94+
<pre>Verifies the passkey assertion and signs the user in.
95+
96+
Args:
97+
body: object, The request body.
98+
The object takes the form of:
99+
100+
{ # Request to finalize a passkey sign-in.
101+
&quot;authenticatorAuthenticationResponse&quot;: { # Authenticator response to authenticate the user with an existing FIDO key. # Required. The authentication response object from the authenticator.
102+
&quot;authenticatorAssertionResponse&quot;: { # Authentication response from a FIDO authenticator. # Authentication assertion from the authenticator.
103+
&quot;authenticatorData&quot;: &quot;A String&quot;, # The AuthenticatorData from the authenticator.
104+
&quot;clientDataJson&quot;: &quot;A String&quot;, # The CollectedClientData object from the authenticator.
105+
&quot;signature&quot;: &quot;A String&quot;, # The signature from the authenticator.
106+
&quot;userHandle&quot;: &quot;A String&quot;, # The user handle.
107+
},
108+
&quot;credentialId&quot;: &quot;A String&quot;, # Identifier for the authentication credential.
109+
&quot;credentialType&quot;: &quot;A String&quot;, # The type of public key.
110+
},
111+
&quot;sessionId&quot;: &quot;A String&quot;, # Optional. The session ID that was passed into StartPasskeySignIn, if any.
112+
&quot;tenantId&quot;: &quot;A String&quot;, # Optional. The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
113+
}
114+
115+
x__xgafv: string, V1 error format.
116+
Allowed values
117+
1 - v1 error format
118+
2 - v2 error format
119+
120+
Returns:
121+
An object of the form:
122+
123+
{ # Response for FinalizePasskeySignIn.
124+
&quot;idToken&quot;: &quot;A String&quot;, # ID token for the authenticated user.
125+
&quot;refreshToken&quot;: &quot;A String&quot;, # Refresh token for the authenticated user.
126+
}</pre>
127+
</div>
128+
129+
<div class="method">
130+
<code class="details" id="start">start(body=None, x__xgafv=None)</code>
131+
<pre>Creates and returns the passkey challenge
132+
133+
Args:
134+
body: object, The request body.
135+
The object takes the form of:
136+
137+
{ # Starts passkey sign-in by returning the FIDO challenge.
138+
&quot;sessionId&quot;: &quot;A String&quot;, # Optional. The developer can bind their own concept of a user session to this flow.
139+
&quot;tenantId&quot;: &quot;A String&quot;, # Optional. The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
140+
}
141+
142+
x__xgafv: string, V1 error format.
143+
Allowed values
144+
1 - v1 error format
145+
2 - v2 error format
146+
147+
Returns:
148+
An object of the form:
149+
150+
{ # Response for StartPasskeySignIn.
151+
&quot;credentialRequestOptions&quot;: { # Parameters for signing a challenge with a FIDO key. # Parameters specified for the authenticator to sign a challenge.
152+
&quot;challenge&quot;: &quot;A String&quot;, # The FIDO challenge.
153+
&quot;rpId&quot;: &quot;A String&quot;, # The relying party identifier.
154+
&quot;userVerification&quot;: &quot;A String&quot;, # The requirements regarding user verification.
155+
},
156+
}</pre>
157+
</div>
158+
159+
</body></html>

‎docs/dyn/identitytoolkit_v2.projects.html

+54
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,24 @@ <h3>Method Details</h3>
254254
&quot;useDeviceLocale&quot;: True or False, # Whether to use the accept_language header for SMS.
255255
},
256256
},
257+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The project level password policy configuration.
258+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
259+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
260+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
261+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
262+
{ # The strength attributes for the password policy on the project.
263+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
264+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
265+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
266+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
267+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
268+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
269+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
270+
},
271+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
272+
},
273+
],
274+
},
257275
&quot;quota&quot;: { # Configuration related to quotas. # Configuration related to quotas.
258276
&quot;signUpQuotaConfig&quot;: { # Temporary quota increase / decrease # Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP.
259277
&quot;quota&quot;: &quot;A String&quot;, # Corresponds to the &#x27;refill_token_count&#x27; field in QuotaServer config
@@ -451,6 +469,24 @@ <h3>Method Details</h3>
451469
&quot;useDeviceLocale&quot;: True or False, # Whether to use the accept_language header for SMS.
452470
},
453471
},
472+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The project level password policy configuration.
473+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
474+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
475+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
476+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
477+
{ # The strength attributes for the password policy on the project.
478+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
479+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
480+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
481+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
482+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
483+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
484+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
485+
},
486+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
487+
},
488+
],
489+
},
454490
&quot;quota&quot;: { # Configuration related to quotas. # Configuration related to quotas.
455491
&quot;signUpQuotaConfig&quot;: { # Temporary quota increase / decrease # Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP.
456492
&quot;quota&quot;: &quot;A String&quot;, # Corresponds to the &#x27;refill_token_count&#x27; field in QuotaServer config
@@ -647,6 +683,24 @@ <h3>Method Details</h3>
647683
&quot;useDeviceLocale&quot;: True or False, # Whether to use the accept_language header for SMS.
648684
},
649685
},
686+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The project level password policy configuration.
687+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
688+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
689+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
690+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
691+
{ # The strength attributes for the password policy on the project.
692+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
693+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
694+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
695+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
696+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
697+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
698+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
699+
},
700+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
701+
},
702+
],
703+
},
650704
&quot;quota&quot;: { # Configuration related to quotas. # Configuration related to quotas.
651705
&quot;signUpQuotaConfig&quot;: { # Temporary quota increase / decrease # Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP.
652706
&quot;quota&quot;: &quot;A String&quot;, # Corresponds to the &#x27;refill_token_count&#x27; field in QuotaServer config

‎docs/dyn/identitytoolkit_v2.projects.tenants.html

+108
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,24 @@ <h3>Method Details</h3>
180180
},
181181
},
182182
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
183+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The tenant-level password policy config
184+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
185+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
186+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
187+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
188+
{ # The strength attributes for the password policy on the project.
189+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
190+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
191+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
192+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
193+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
194+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
195+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
196+
},
197+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
198+
},
199+
],
200+
},
183201
&quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The tenant-level reCAPTCHA config.
184202
&quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA.
185203
&quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
@@ -267,6 +285,24 @@ <h3>Method Details</h3>
267285
},
268286
},
269287
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
288+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The tenant-level password policy config
289+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
290+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
291+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
292+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
293+
{ # The strength attributes for the password policy on the project.
294+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
295+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
296+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
297+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
298+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
299+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
300+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
301+
},
302+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
303+
},
304+
],
305+
},
270306
&quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The tenant-level reCAPTCHA config.
271307
&quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA.
272308
&quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
@@ -379,6 +415,24 @@ <h3>Method Details</h3>
379415
},
380416
},
381417
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
418+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The tenant-level password policy config
419+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
420+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
421+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
422+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
423+
{ # The strength attributes for the password policy on the project.
424+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
425+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
426+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
427+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
428+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
429+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
430+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
431+
},
432+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
433+
},
434+
],
435+
},
382436
&quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The tenant-level reCAPTCHA config.
383437
&quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA.
384438
&quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
@@ -534,6 +588,24 @@ <h3>Method Details</h3>
534588
},
535589
},
536590
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
591+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The tenant-level password policy config
592+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
593+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
594+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
595+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
596+
{ # The strength attributes for the password policy on the project.
597+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
598+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
599+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
600+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
601+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
602+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
603+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
604+
},
605+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
606+
},
607+
],
608+
},
537609
&quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The tenant-level reCAPTCHA config.
538610
&quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA.
539611
&quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
@@ -639,6 +711,24 @@ <h3>Method Details</h3>
639711
},
640712
},
641713
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
714+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The tenant-level password policy config
715+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
716+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
717+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
718+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
719+
{ # The strength attributes for the password policy on the project.
720+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
721+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
722+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
723+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
724+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
725+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
726+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
727+
},
728+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
729+
},
730+
],
731+
},
642732
&quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The tenant-level reCAPTCHA config.
643733
&quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA.
644734
&quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
@@ -727,6 +817,24 @@ <h3>Method Details</h3>
727817
},
728818
},
729819
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a tenant. For example: &quot;projects/{project-id}/tenants/{tenant-id}&quot;
820+
&quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The tenant-level password policy config
821+
&quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
822+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
823+
&quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
824+
&quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
825+
{ # The strength attributes for the password policy on the project.
826+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
827+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
828+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
829+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
830+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
831+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
832+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
833+
},
834+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
835+
},
836+
],
837+
},
730838
&quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The tenant-level reCAPTCHA config.
731839
&quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA.
732840
&quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.

‎docs/dyn/identitytoolkit_v2.v2.html

+33
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#getPasswordPolicy">getPasswordPolicy(tenantId=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets password policy config set on the project or tenant.</p>
8083
<p class="toc_element">
8184
<code><a href="#getRecaptchaConfig">getRecaptchaConfig(clientType=None, tenantId=None, version=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Gets parameters needed for reCAPTCHA analysis.</p>
@@ -86,6 +89,36 @@ <h3>Method Details</h3>
8689
<pre>Close httplib2 connections.</pre>
8790
</div>
8891

92+
<div class="method">
93+
<code class="details" id="getPasswordPolicy">getPasswordPolicy(tenantId=None, x__xgafv=None)</code>
94+
<pre>Gets password policy config set on the project or tenant.
95+
96+
Args:
97+
tenantId: string, The id of a tenant.
98+
x__xgafv: string, V1 error format.
99+
Allowed values
100+
1 - v1 error format
101+
2 - v2 error format
102+
103+
Returns:
104+
An object of the form:
105+
106+
{ # Configuration for password policy.
107+
&quot;allowedNonAlphanumericCharacters&quot;: [ # Output only. Allowed characters which satisfy the non_alphanumeric requirement.
108+
&quot;A String&quot;,
109+
],
110+
&quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
111+
&quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
112+
&quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
113+
&quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
114+
&quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
115+
&quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
116+
&quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
117+
},
118+
&quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
119+
}</pre>
120+
</div>
121+
89122
<div class="method">
90123
<code class="details" id="getRecaptchaConfig">getRecaptchaConfig(clientType=None, tenantId=None, version=None, x__xgafv=None)</code>
91124
<pre>Gets parameters needed for reCAPTCHA analysis.

‎googleapiclient/discovery_cache/documents/identitytoolkit.v1.json

+56-1
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
}
12381238
}
12391239
},
1240-
"revision": "20230410",
1240+
"revision": "20230516",
12411241
"rootUrl": "https://identitytoolkit.googleapis.com/",
12421242
"schemas": {
12431243
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {
@@ -1567,6 +1567,17 @@
15671567
},
15681568
"type": "object"
15691569
},
1570+
"GoogleCloudIdentitytoolkitV1EmailInfo": {
1571+
"description": "Information about email MFA.",
1572+
"id": "GoogleCloudIdentitytoolkitV1EmailInfo",
1573+
"properties": {
1574+
"emailAddress": {
1575+
"description": "Email address that a MFA verification should be sent to.",
1576+
"type": "string"
1577+
}
1578+
},
1579+
"type": "object"
1580+
},
15701581
"GoogleCloudIdentitytoolkitV1EmailTemplate": {
15711582
"description": "Email template",
15721583
"id": "GoogleCloudIdentitytoolkitV1EmailTemplate",
@@ -2105,6 +2116,10 @@
21052116
"description": "Display name for this mfa option e.g. \"corp cell phone\".",
21062117
"type": "string"
21072118
},
2119+
"emailInfo": {
2120+
"$ref": "GoogleCloudIdentitytoolkitV1EmailInfo",
2121+
"description": "Contains information specific to email MFA."
2122+
},
21082123
"enrolledAt": {
21092124
"description": "Timestamp when the account enrolled this second factor.",
21102125
"format": "google-datetime",
@@ -3204,6 +3219,13 @@
32043219
"registered": {
32053220
"description": "Whether the email is for an existing account. Always true.",
32063221
"type": "boolean"
3222+
},
3223+
"userNotifications": {
3224+
"description": "Warning notifications for the user.",
3225+
"items": {
3226+
"$ref": "GoogleCloudIdentitytoolkitV1UserNotification"
3227+
},
3228+
"type": "array"
32073229
}
32083230
},
32093231
"type": "object"
@@ -3710,6 +3732,39 @@
37103732
},
37113733
"type": "object"
37123734
},
3735+
"GoogleCloudIdentitytoolkitV1UserNotification": {
3736+
"description": "Warning notifications for the user.",
3737+
"id": "GoogleCloudIdentitytoolkitV1UserNotification",
3738+
"properties": {
3739+
"notificationCode": {
3740+
"description": "Warning notification enum. Can be used for localization.",
3741+
"enum": [
3742+
"NOTIFICATION_CODE_UNSPECIFIED",
3743+
"MISSING_LOWERCASE_CHARACTER",
3744+
"MISSING_UPPERCASE_CHARACTER",
3745+
"MISSING_NUMERIC_CHARACTER",
3746+
"MISSING_NON_ALPHANUMERIC_CHARACTER",
3747+
"MINIMUM_PASSWORD_LENGTH",
3748+
"MAXIMUM_PASSWORD_LENGTH"
3749+
],
3750+
"enumDescriptions": [
3751+
"No notification specified.",
3752+
"Password missing lowercase character.",
3753+
"Password missing uppercase character.",
3754+
"Password missing numeric character.",
3755+
"Password missing non alphanumeric character.",
3756+
"Password less than minimum required length.",
3757+
"Password greater than maximum required length."
3758+
],
3759+
"type": "string"
3760+
},
3761+
"notificationMessage": {
3762+
"description": "Warning notification string. Can be used as fallback.",
3763+
"type": "string"
3764+
}
3765+
},
3766+
"type": "object"
3767+
},
37133768
"GoogleCloudIdentitytoolkitV1VerifyIosClientRequest": {
37143769
"description": "Request message for VerifyIosClient",
37153770
"id": "GoogleCloudIdentitytoolkitV1VerifyIosClientRequest",

‎googleapiclient/discovery_cache/documents/identitytoolkit.v2.json

+608-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.