Debian Codegraph @

docs/dyn/identitytoolkit_v1.v1.html

raw
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_v1.html">Identity Toolkit API</a> . <a href="identitytoolkit_v1.v1.html">v1</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="#getProjects">getProjects(androidPackageName=None, clientId=None, delegatedProjectNumber=None, firebaseAppId=None, iosBundleId=None, projectNumber=None, returnDynamicLink=None, sha1Cert=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets a project's public Identity Toolkit configuration. (Legacy) This method also supports authenticated calls from a developer to retrieve non-public configuration.</p>
83 <p class="toc_element">
84 <code><a href="#getPublicKeys">getPublicKeys(x__xgafv=None)</a></code></p>
85 <p class="firstline">Retrieves public keys of the legacy Identity Toolkit token signer to enable third parties to verify the legacy ID token. For now the X509 pem cert is the only format supported.</p>
86 <p class="toc_element">
87 <code><a href="#getRecaptchaParams">getRecaptchaParams(x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets parameters needed for generating a reCAPTCHA challenge.</p>
89 <p class="toc_element">
90 <code><a href="#getSessionCookiePublicKeys">getSessionCookiePublicKeys(x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves the set of public keys of the session cookie JSON Web Token (JWT) signer that can be used to validate the session cookie created through createSessionCookie.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="getProjects">getProjects(androidPackageName=None, clientId=None, delegatedProjectNumber=None, firebaseAppId=None, iosBundleId=None, projectNumber=None, returnDynamicLink=None, sha1Cert=None, x__xgafv=None)</code>
100 <pre>Gets a project&#x27;s public Identity Toolkit configuration. (Legacy) This method also supports authenticated calls from a developer to retrieve non-public configuration.
101
102 Args:
103 androidPackageName: string, Android package name to check against the real android package name. If this field is provided, and sha1_cert_hash is not provided, the action will throw an error if this does not match the real android package name.
104 clientId: string, The RP OAuth client ID. If set, a check will be performed to ensure that the OAuth client is valid for the retrieved project and the request rejected with a client error if not valid.
105 delegatedProjectNumber: string, Project Number of the delegated project request. This field should only be used as part of the Firebase V1 migration.
106 firebaseAppId: string, The Firebase app ID, for applications that use Firebase. This can be found in the Firebase console for your project. If set, a check will be performed to ensure that the app ID is valid for the retrieved project. If not valid, the request will be rejected with a client error.
107 iosBundleId: string, iOS bundle id to check against the real ios bundle id. If this field is provided, the action will throw an error if this does not match the real iOS bundle id.
108 projectNumber: string, Project number of the configuration to retrieve. This field is deprecated and should not be used by new integrations.
109 returnDynamicLink: boolean, Whether dynamic link should be returned.
110 sha1Cert: string, SHA-1 Android application cert hash. If set, a check will be performed to ensure that the cert hash is valid for the retrieved project and android_package_name.
111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116 Returns:
117 An object of the form:
118
119 { # Response message for GetProjectConfig.
120 &quot;allowPasswordUser&quot;: True or False, # Whether to allow password account sign up. This field is only returned for authenticated calls from a developer.
121 &quot;apiKey&quot;: &quot;A String&quot;, # Google Cloud API key. This field is only returned for authenticated calls from a developer.
122 &quot;authorizedDomains&quot;: [ # Authorized domains for widget redirect.
123 &quot;A String&quot;,
124 ],
125 &quot;changeEmailTemplate&quot;: { # Email template # Email template for change email. This field is only returned for authenticated calls from a developer.
126 &quot;body&quot;: &quot;A String&quot;, # Email body
127 &quot;customized&quot;: True or False, # Whether the body or subject of the email is customized.
128 &quot;disabled&quot;: True or False, # Whether the template is disabled. If true, a default template will be used.
129 &quot;format&quot;: &quot;A String&quot;, # Email body format
130 &quot;from&quot;: &quot;A String&quot;, # From address of the email
131 &quot;fromDisplayName&quot;: &quot;A String&quot;, # From display name
132 &quot;fromLocalPart&quot;: &quot;A String&quot;, # Local part of From address
133 &quot;locale&quot;: &quot;A String&quot;, # Value is in III language code format (e.g. &quot;zh-CN&quot;, &quot;es&quot;). Both &#x27;-&#x27; and &#x27;_&#x27; separators are accepted.
134 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
135 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
136 },
137 &quot;dynamicLinksDomain&quot;: &quot;A String&quot;, # The Firebase Dynamic Links domain used to construct links for redirects to native apps.
138 &quot;enableAnonymousUser&quot;: True or False, # Whether anonymous user is enabled. This field is only returned for authenticated calls from a developer.
139 &quot;idpConfig&quot;: [ # OAuth2 provider config. This field is only returned for authenticated calls from a developer.
140 { # Config of an identity provider.
141 &quot;clientId&quot;: &quot;A String&quot;, # OAuth2 client ID.
142 &quot;enabled&quot;: True or False, # True if allows the user to sign in with the provider.
143 &quot;experimentPercent&quot;: 42, # Percent of users who will be prompted/redirected federated login for this IdP
144 &quot;provider&quot;: &quot;A String&quot;,
145 &quot;secret&quot;: &quot;A String&quot;, # OAuth2 client secret.
146 &quot;whitelistedAudiences&quot;: [ # Whitelisted client IDs for audience check.
147 &quot;A String&quot;,
148 ],
149 },
150 ],
151 &quot;legacyResetPasswordTemplate&quot;: { # Email template # Reset password email template for legacy Firebase V1 app. This field is only returned for authenticated calls from a developer.
152 &quot;body&quot;: &quot;A String&quot;, # Email body
153 &quot;customized&quot;: True or False, # Whether the body or subject of the email is customized.
154 &quot;disabled&quot;: True or False, # Whether the template is disabled. If true, a default template will be used.
155 &quot;format&quot;: &quot;A String&quot;, # Email body format
156 &quot;from&quot;: &quot;A String&quot;, # From address of the email
157 &quot;fromDisplayName&quot;: &quot;A String&quot;, # From display name
158 &quot;fromLocalPart&quot;: &quot;A String&quot;, # Local part of From address
159 &quot;locale&quot;: &quot;A String&quot;, # Value is in III language code format (e.g. &quot;zh-CN&quot;, &quot;es&quot;). Both &#x27;-&#x27; and &#x27;_&#x27; separators are accepted.
160 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
161 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
162 },
163 &quot;projectId&quot;: &quot;A String&quot;, # The project id of the retrieved configuration.
164 &quot;resetPasswordTemplate&quot;: { # Email template # Email template for reset password. This field is only returned for authenticated calls from a developer.
165 &quot;body&quot;: &quot;A String&quot;, # Email body
166 &quot;customized&quot;: True or False, # Whether the body or subject of the email is customized.
167 &quot;disabled&quot;: True or False, # Whether the template is disabled. If true, a default template will be used.
168 &quot;format&quot;: &quot;A String&quot;, # Email body format
169 &quot;from&quot;: &quot;A String&quot;, # From address of the email
170 &quot;fromDisplayName&quot;: &quot;A String&quot;, # From display name
171 &quot;fromLocalPart&quot;: &quot;A String&quot;, # Local part of From address
172 &quot;locale&quot;: &quot;A String&quot;, # Value is in III language code format (e.g. &quot;zh-CN&quot;, &quot;es&quot;). Both &#x27;-&#x27; and &#x27;_&#x27; separators are accepted.
173 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
174 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
175 },
176 &quot;revertSecondFactorAdditionTemplate&quot;: { # Email template # Email template for reverting second factor additions. This field is only returned for authenticated calls from a developer.
177 &quot;body&quot;: &quot;A String&quot;, # Email body
178 &quot;customized&quot;: True or False, # Whether the body or subject of the email is customized.
179 &quot;disabled&quot;: True or False, # Whether the template is disabled. If true, a default template will be used.
180 &quot;format&quot;: &quot;A String&quot;, # Email body format
181 &quot;from&quot;: &quot;A String&quot;, # From address of the email
182 &quot;fromDisplayName&quot;: &quot;A String&quot;, # From display name
183 &quot;fromLocalPart&quot;: &quot;A String&quot;, # Local part of From address
184 &quot;locale&quot;: &quot;A String&quot;, # Value is in III language code format (e.g. &quot;zh-CN&quot;, &quot;es&quot;). Both &#x27;-&#x27; and &#x27;_&#x27; separators are accepted.
185 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
186 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
187 },
188 &quot;useEmailSending&quot;: True or False, # Whether to use email sending. This field is only returned for authenticated calls from a developer.
189 &quot;verifyEmailTemplate&quot;: { # Email template # Email template for verify email. This field is only returned for authenticated calls from a developer.
190 &quot;body&quot;: &quot;A String&quot;, # Email body
191 &quot;customized&quot;: True or False, # Whether the body or subject of the email is customized.
192 &quot;disabled&quot;: True or False, # Whether the template is disabled. If true, a default template will be used.
193 &quot;format&quot;: &quot;A String&quot;, # Email body format
194 &quot;from&quot;: &quot;A String&quot;, # From address of the email
195 &quot;fromDisplayName&quot;: &quot;A String&quot;, # From display name
196 &quot;fromLocalPart&quot;: &quot;A String&quot;, # Local part of From address
197 &quot;locale&quot;: &quot;A String&quot;, # Value is in III language code format (e.g. &quot;zh-CN&quot;, &quot;es&quot;). Both &#x27;-&#x27; and &#x27;_&#x27; separators are accepted.
198 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
199 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
200 },
201 }</pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="getPublicKeys">getPublicKeys(x__xgafv=None)</code>
206 <pre>Retrieves public keys of the legacy Identity Toolkit token signer to enable third parties to verify the legacy ID token. For now the X509 pem cert is the only format supported.
207
208 Args:
209 x__xgafv: string, V1 error format.
210 Allowed values
211 1 - v1 error format
212 2 - v2 error format
213
214 Returns:
215 An object of the form:
216
217 {
218 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
219 }</pre>
220 </div>
221
222 <div class="method">
223 <code class="details" id="getRecaptchaParams">getRecaptchaParams(x__xgafv=None)</code>
224 <pre>Gets parameters needed for generating a reCAPTCHA challenge.
225
226 Args:
227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
231
232 Returns:
233 An object of the form:
234
235 { # Response message for GetRecaptchaParam.
236 &quot;kind&quot;: &quot;A String&quot;,
237 &quot;producerProjectNumber&quot;: &quot;A String&quot;, # The producer project number used to generate PIA tokens
238 &quot;recaptchaSiteKey&quot;: &quot;A String&quot;, # The reCAPTCHA v2 site key used to invoke the reCAPTCHA service. Always present.
239 &quot;recaptchaStoken&quot;: &quot;A String&quot;,
240 }</pre>
241 </div>
242
243 <div class="method">
244 <code class="details" id="getSessionCookiePublicKeys">getSessionCookiePublicKeys(x__xgafv=None)</code>
245 <pre>Retrieves the set of public keys of the session cookie JSON Web Token (JWT) signer that can be used to validate the session cookie created through createSessionCookie.
246
247 Args:
248 x__xgafv: string, V1 error format.
249 Allowed values
250 1 - v1 error format
251 2 - v2 error format
252
253 Returns:
254 An object of the form:
255
256 { # Response message for GetSessionCookiePublicKeys.
257 &quot;keys&quot;: [ # Public keys of the session cookie signer, formatted as [JSON Web Keys (JWK)](https://tools.ietf.org/html/rfc7517).
258 { # Represents a public key of the session cookie signer, formatted as a [JSON Web Key (JWK)](https://tools.ietf.org/html/rfc7517).
259 &quot;alg&quot;: &quot;A String&quot;, # Signature algorithm.
260 &quot;e&quot;: &quot;A String&quot;, # Exponent for the RSA public key, it is represented as the base64url encoding of the value&#x27;s big endian representation.
261 &quot;kid&quot;: &quot;A String&quot;, # Unique string to identify this key.
262 &quot;kty&quot;: &quot;A String&quot;, # Key type.
263 &quot;n&quot;: &quot;A String&quot;, # Modulus for the RSA public key, it is represented as the base64url encoding of the value&#x27;s big endian representation.
264 &quot;use&quot;: &quot;A String&quot;, # Key use.
265 },
266 ],
267 }</pre>
268 </div>
269
270 </body></html>