Skip to content

Commit 77b7ca2

Browse files
feat(identitytoolkit): update the api
#### identitytoolkit:v1 The following keys were added: - schemas.GoogleCloudIdentitytoolkitV1GetOobCodeRequest.properties.linkDomain.type (Total Keys: 1) #### identitytoolkit:v2 The following keys were added: - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.defaultHostingSite (Total Keys: 2) - schemas.GoogleCloudIdentitytoolkitAdminV2Config.properties.mobileLinksConfig.$ref (Total Keys: 1) - schemas.GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig (Total Keys: 3) - schemas.GoogleCloudIdentitytoolkitAdminV2Tenant.properties.mobileLinksConfig (Total Keys: 2)
1 parent cbbb731 commit 77b7ca2

9 files changed

+92
-27
lines changed

docs/dyn/identitytoolkit_v1.accounts.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h3>Method Details</h3>
258258
&quot;email&quot;: [ # The email address of one or more accounts to fetch. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. Should only be specified by authenticated requests from a developer.
259259
&quot;A String&quot;,
260260
],
261-
&quot;federatedUserId&quot;: [ # The federated user identifier of one or more accounts to fetch. Should only be specified by authenticated requests bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).
261+
&quot;federatedUserId&quot;: [
262262
{ # Federated user identifier at an Identity Provider.
263263
&quot;providerId&quot;: &quot;A String&quot;, # The ID of supported identity providers. This should be a provider ID enabled for sign-in, which is either from the list of [default supported IdPs](https://cloud.google.com/identity-platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` or `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and `saml.testapp`.
264264
&quot;rawId&quot;: &quot;A String&quot;, # The user ID of the account at the third-party Identity Provider specified by `provider_id`.
@@ -412,6 +412,7 @@ <h3>Method Details</h3>
412412
&quot;iOSAppStoreId&quot;: &quot;A String&quot;, # If an associated iOS app can handle the OOB code, the App Store id of this app. This will allow App Store to open to the correct app if the app is not yet installed.
413413
&quot;iOSBundleId&quot;: &quot;A String&quot;, # If an associated iOS app can handle the OOB code, the iOS bundle id of this app. This will allow the correct app to open if it is already installed.
414414
&quot;idToken&quot;: &quot;A String&quot;, # An ID token for the account. It is required for VERIFY_AND_CHANGE_EMAIL and VERIFY_EMAIL requests unless return_oob_link is set to true.
415+
&quot;linkDomain&quot;: &quot;A String&quot;, # Optional. In order to ensure that the url used can be easily opened in iOS or Android, we create a Hosting link &#x27;/__/auth/links&#x27;. This optional field contains the domain to use when constructing a Hosting link. If not set, &#x27;.firebaseapp.com&#x27; domain will be used.
415416
&quot;newEmail&quot;: &quot;A String&quot;, # The email address the account is being updated to. Required only for VERIFY_AND_CHANGE_EMAIL requests.
416417
&quot;recaptchaVersion&quot;: &quot;A String&quot;, # The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
417418
&quot;requestType&quot;: &quot;A String&quot;, # Required. The type of out-of-band (OOB) code to send. Depending on this value, other fields in this request will be required and/or have different meanings. There are 4 different OOB codes that can be sent: * PASSWORD_RESET * EMAIL_SIGNIN * VERIFY_EMAIL * VERIFY_AND_CHANGE_EMAIL
@@ -862,7 +863,7 @@ <h3>Method Details</h3>
862863
&quot;createdAt&quot;: &quot;A String&quot;, # The timestamp in milliseconds when the account was created.
863864
&quot;customAttributes&quot;: &quot;A String&quot;, # JSON formatted custom attributes to be stored in the Identity Platform ID token. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
864865
&quot;delegatedProjectNumber&quot;: &quot;A String&quot;,
865-
&quot;deleteAttribute&quot;: [ # The account&#x27;s attributes to be deleted.
866+
&quot;deleteAttribute&quot;: [
866867
&quot;A String&quot;,
867868
],
868869
&quot;deleteProvider&quot;: [ # The Identity Providers to unlink from the user&#x27;s account.

docs/dyn/identitytoolkit_v1.projects.accounts.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h3>Method Details</h3>
132132
&quot;hashAlgorithm&quot;: &quot;A String&quot;, # Required. The hashing function used to hash the account passwords. Must be one of the following: * HMAC_SHA256 * HMAC_SHA1 * HMAC_MD5 * SCRYPT * PBKDF_SHA1 * MD5 * HMAC_SHA512 * SHA1 * BCRYPT * PBKDF2_SHA256 * SHA256 * SHA512 * STANDARD_SCRYPT * ARGON2
133133
&quot;memoryCost&quot;: 42, # Memory cost for hash calculation. Only required when the hashing function is SCRYPT.
134134
&quot;parallelization&quot;: 42, # The parallelization cost parameter to be used by the STANDARD_SCRYPT hashing function. This parameter, along with block_size and cpu_mem_cost help tune the resources needed to hash a password, and should be tuned as processor speeds and memory technologies advance.
135-
&quot;passwordHashOrder&quot;: &quot;A String&quot;, # Password and salt order when verify password.
135+
&quot;passwordHashOrder&quot;: &quot;A String&quot;,
136136
&quot;rounds&quot;: 42, # The number of rounds used for hash calculation. Only required for the following hashing functions: * MD5 * SHA1 * SHA256 * SHA512 * PBKDF_SHA1 * PBKDF2_SHA256 * SCRYPT
137137
&quot;saltSeparator&quot;: &quot;A String&quot;, # One or more bytes to be inserted between the salt and plain text password. For stronger security, this should be a single non-printable character.
138138
&quot;sanityCheck&quot;: True or False, # If true, the service will do the following list of checks before an account is uploaded: * Duplicate emails * Duplicate federated IDs * Federated ID provider validation If the duplication exists within the list of accounts to be uploaded, it will prevent the entire list from being uploaded. If the email or federated ID is a duplicate of a user already within the project/tenant, the account will not be uploaded, but the rest of the accounts will be unaffected. If false, these checks will be skipped.
@@ -392,7 +392,7 @@ <h3>Method Details</h3>
392392
&quot;email&quot;: [ # The email address of one or more accounts to fetch. The length of email should be less than 256 characters and in the format of `[email protected]`. The email should also match the [RFC 822](https://tools.ietf.org/html/rfc822) addr-spec production. Should only be specified by authenticated requests from a developer.
393393
&quot;A String&quot;,
394394
],
395-
&quot;federatedUserId&quot;: [ # The federated user identifier of one or more accounts to fetch. Should only be specified by authenticated requests bearing a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).
395+
&quot;federatedUserId&quot;: [
396396
{ # Federated user identifier at an Identity Provider.
397397
&quot;providerId&quot;: &quot;A String&quot;, # The ID of supported identity providers. This should be a provider ID enabled for sign-in, which is either from the list of [default supported IdPs](https://cloud.google.com/identity-platform/docs/reference/rest/v2/defaultSupportedIdps/list), or of the format `oidc.*` or `saml.*`. Some examples are `google.com`, `facebook.com`, `oidc.testapp`, and `saml.testapp`.
398398
&quot;rawId&quot;: &quot;A String&quot;, # The user ID of the account at the third-party Identity Provider specified by `provider_id`.
@@ -490,7 +490,7 @@ <h3>Method Details</h3>
490490
The object takes the form of:
491491

492492
{ # Request message for QueryUserInfo.
493-
&quot;expression&quot;: [ # Query conditions used to filter results. If more than one is passed, only the first SqlExpression is evaluated.
493+
&quot;expression&quot;: [
494494
{ # Query conditions used to filter results.
495495
&quot;email&quot;: &quot;A String&quot;, # A case insensitive string that the account&#x27;s email should match. Only one of `email`, `phone_number`, or `user_id` should be specified in a SqlExpression. If more than one is specified, only the first (in that order) will be applied.
496496
&quot;phoneNumber&quot;: &quot;A String&quot;, # A string that the account&#x27;s phone number should match. Only one of `email`, `phone_number`, or `user_id` should be specified in a SqlExpression. If more than one is specified, only the first (in that order) will be applied.
@@ -499,9 +499,9 @@ <h3>Method Details</h3>
499499
],
500500
&quot;limit&quot;: &quot;A String&quot;, # The maximum number of accounts to return with an upper limit of __500__. Defaults to _500_. Only valid when `return_user_info` is set to `true`.
501501
&quot;offset&quot;: &quot;A String&quot;, # The number of accounts to skip from the beginning of matching records. Only valid when `return_user_info` is set to `true`.
502-
&quot;order&quot;: &quot;A String&quot;, # The order for sorting query result. Defaults to __ascending__ order. Only valid when `return_user_info` is set to `true`.
502+
&quot;order&quot;: &quot;A String&quot;,
503503
&quot;returnUserInfo&quot;: True or False, # If `true`, this request will return the accounts matching the query. If `false`, only the __count__ of accounts matching the query will be returned. Defaults to `true`.
504-
&quot;sortBy&quot;: &quot;A String&quot;, # The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` is set to `true`.
504+
&quot;sortBy&quot;: &quot;A String&quot;,
505505
&quot;tenantId&quot;: &quot;A String&quot;, # The ID of the tenant to which the result is scoped.
506506
}
507507

@@ -596,6 +596,7 @@ <h3>Method Details</h3>
596596
&quot;iOSAppStoreId&quot;: &quot;A String&quot;, # If an associated iOS app can handle the OOB code, the App Store id of this app. This will allow App Store to open to the correct app if the app is not yet installed.
597597
&quot;iOSBundleId&quot;: &quot;A String&quot;, # If an associated iOS app can handle the OOB code, the iOS bundle id of this app. This will allow the correct app to open if it is already installed.
598598
&quot;idToken&quot;: &quot;A String&quot;, # An ID token for the account. It is required for VERIFY_AND_CHANGE_EMAIL and VERIFY_EMAIL requests unless return_oob_link is set to true.
599+
&quot;linkDomain&quot;: &quot;A String&quot;, # Optional. In order to ensure that the url used can be easily opened in iOS or Android, we create a Hosting link &#x27;/__/auth/links&#x27;. This optional field contains the domain to use when constructing a Hosting link. If not set, &#x27;.firebaseapp.com&#x27; domain will be used.
599600
&quot;newEmail&quot;: &quot;A String&quot;, # The email address the account is being updated to. Required only for VERIFY_AND_CHANGE_EMAIL requests.
600601
&quot;recaptchaVersion&quot;: &quot;A String&quot;, # The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
601602
&quot;requestType&quot;: &quot;A String&quot;, # Required. The type of out-of-band (OOB) code to send. Depending on this value, other fields in this request will be required and/or have different meanings. There are 4 different OOB codes that can be sent: * PASSWORD_RESET * EMAIL_SIGNIN * VERIFY_EMAIL * VERIFY_AND_CHANGE_EMAIL
@@ -636,7 +637,7 @@ <h3>Method Details</h3>
636637
&quot;createdAt&quot;: &quot;A String&quot;, # The timestamp in milliseconds when the account was created.
637638
&quot;customAttributes&quot;: &quot;A String&quot;, # JSON formatted custom attributes to be stored in the Identity Platform ID token. Specifying this field requires a Google OAuth 2.0 credential with proper [permissions] (https://cloud.google.com/identity-platform/docs/access-control).
638639
&quot;delegatedProjectNumber&quot;: &quot;A String&quot;,
639-
&quot;deleteAttribute&quot;: [ # The account&#x27;s attributes to be deleted.
640+
&quot;deleteAttribute&quot;: [
640641
&quot;A String&quot;,
641642
],
642643
&quot;deleteProvider&quot;: [ # The Identity Providers to unlink from the user&#x27;s account.

docs/dyn/identitytoolkit_v1.projects.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h3>Method Details</h3>
137137
The object takes the form of:
138138

139139
{ # Request message for QueryUserInfo.
140-
&quot;expression&quot;: [ # Query conditions used to filter results. If more than one is passed, only the first SqlExpression is evaluated.
140+
&quot;expression&quot;: [
141141
{ # Query conditions used to filter results.
142142
&quot;email&quot;: &quot;A String&quot;, # A case insensitive string that the account&#x27;s email should match. Only one of `email`, `phone_number`, or `user_id` should be specified in a SqlExpression. If more than one is specified, only the first (in that order) will be applied.
143143
&quot;phoneNumber&quot;: &quot;A String&quot;, # A string that the account&#x27;s phone number should match. Only one of `email`, `phone_number`, or `user_id` should be specified in a SqlExpression. If more than one is specified, only the first (in that order) will be applied.
@@ -146,9 +146,9 @@ <h3>Method Details</h3>
146146
],
147147
&quot;limit&quot;: &quot;A String&quot;, # The maximum number of accounts to return with an upper limit of __500__. Defaults to _500_. Only valid when `return_user_info` is set to `true`.
148148
&quot;offset&quot;: &quot;A String&quot;, # The number of accounts to skip from the beginning of matching records. Only valid when `return_user_info` is set to `true`.
149-
&quot;order&quot;: &quot;A String&quot;, # The order for sorting query result. Defaults to __ascending__ order. Only valid when `return_user_info` is set to `true`.
149+
&quot;order&quot;: &quot;A String&quot;,
150150
&quot;returnUserInfo&quot;: True or False, # If `true`, this request will return the accounts matching the query. If `false`, only the __count__ of accounts matching the query will be returned. Defaults to `true`.
151-
&quot;sortBy&quot;: &quot;A String&quot;, # The field to use for sorting user accounts. Defaults to `USER_ID`. Note: when `phone_number` is specified in `expression`, the result ignores the sorting. Only valid when `return_user_info` is set to `true`.
151+
&quot;sortBy&quot;: &quot;A String&quot;,
152152
&quot;tenantId&quot;: &quot;A String&quot;, # The ID of the tenant to which the result is scoped.
153153
}
154154

0 commit comments

Comments
 (0)