Skip to content

Commit c14713d

Browse files
feat(identitytoolkit): update the api
#### identitytoolkit:v1 The following keys were added: - schemas.GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.properties.playIntegrityToken.type (Total Keys: 1) #### identitytoolkit:v2 The following keys were added: - schemas.GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.properties.playIntegrityToken.type (Total Keys: 1)
1 parent 497f2d0 commit c14713d

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

docs/dyn/identitytoolkit_v1.accounts.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ <h3>Method Details</h3>
440440
&quot;iosReceipt&quot;: &quot;A String&quot;, # Receipt of successful iOS app token validation. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator. This should come from the response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as well as a bundle ID in the `x-ios-bundle-identifier` header, which must match the bundle ID from the verifyIosClient request.
441441
&quot;iosSecret&quot;: &quot;A String&quot;, # Secret delivered to iOS app as a push notification. Should be passed with an `ios_receipt` as well as the `x-ios-bundle-identifier` header.
442442
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number to send the verification code to in E.164 format.
443+
&quot;playIntegrityToken&quot;: &quot;A String&quot;, # Android only. Used to assert application identity in place of a recaptcha token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, , or `play_integrity_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator. A Play Integrity Token can be generated via the [PlayIntegrity API](https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce.
443444
&quot;recaptchaToken&quot;: &quot;A String&quot;, # Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator. The recaptcha should be generated by calling getRecaptchaParams and the recaptcha token will be generated on user completion of the recaptcha challenge.
444445
&quot;safetyNetToken&quot;: &quot;A String&quot;, # Android only. Used to assert application identity in place of a recaptcha token. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator. A SafetyNet Token can be generated via the [SafetyNet Android Attestation API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 encoding of the `phone_number` field as the nonce.
445446
&quot;tenantId&quot;: &quot;A String&quot;, # Tenant ID of the Identity Platform tenant the user is signing in to.

docs/dyn/identitytoolkit_v2.accounts.mfaEnrollment.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ <h3>Method Details</h3>
148148
&quot;iosReceipt&quot;: &quot;A String&quot;, # iOS only. Receipt of successful app token validation with APNS.
149149
&quot;iosSecret&quot;: &quot;A String&quot;, # iOS only. Secret delivered to iOS app via APNS.
150150
&quot;phoneNumber&quot;: &quot;A String&quot;, # Required for enrollment. Phone number to be enrolled as MFA.
151+
&quot;playIntegrityToken&quot;: &quot;A String&quot;, # Android only. Used to assert application identity in place of a recaptcha token (or safety net token). A Play Integrity Token can be generated via the [PlayIntegrity API] (https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce.
151152
&quot;recaptchaToken&quot;: &quot;A String&quot;, # Web only. Recaptcha solution.
152153
&quot;safetyNetToken&quot;: &quot;A String&quot;, # Android only. Used to assert application identity in place of a recaptcha token. A SafetyNet Token can be generated via the [SafetyNet Android Attestation API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 encoding of the `phone_number` field as the nonce.
153154
},

docs/dyn/identitytoolkit_v2.accounts.mfaSignIn.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ <h3>Method Details</h3>
145145
&quot;iosReceipt&quot;: &quot;A String&quot;, # iOS only. Receipt of successful app token validation with APNS.
146146
&quot;iosSecret&quot;: &quot;A String&quot;, # iOS only. Secret delivered to iOS app via APNS.
147147
&quot;phoneNumber&quot;: &quot;A String&quot;, # Required for enrollment. Phone number to be enrolled as MFA.
148+
&quot;playIntegrityToken&quot;: &quot;A String&quot;, # Android only. Used to assert application identity in place of a recaptcha token (or safety net token). A Play Integrity Token can be generated via the [PlayIntegrity API] (https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce.
148149
&quot;recaptchaToken&quot;: &quot;A String&quot;, # Web only. Recaptcha solution.
149150
&quot;safetyNetToken&quot;: &quot;A String&quot;, # Android only. Used to assert application identity in place of a recaptcha token. A SafetyNet Token can be generated via the [SafetyNet Android Attestation API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 encoding of the `phone_number` field as the nonce.
150151
},

googleapiclient/discovery_cache/documents/identitytoolkit.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
}
12381238
}
12391239
},
1240-
"revision": "20230218",
1240+
"revision": "20230224",
12411241
"rootUrl": "https://identitytoolkit.googleapis.com/",
12421242
"schemas": {
12431243
"GoogleCloudIdentitytoolkitV1Argon2Parameters": {
@@ -2373,6 +2373,10 @@
23732373
"description": "The phone number to send the verification code to in E.164 format.",
23742374
"type": "string"
23752375
},
2376+
"playIntegrityToken": {
2377+
"description": "Android only. Used to assert application identity in place of a recaptcha token (and safety_net_token). At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, , or `play_integrity_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator. A Play Integrity Token can be generated via the [PlayIntegrity API](https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce.",
2378+
"type": "string"
2379+
},
23762380
"recaptchaToken": {
23772381
"description": "Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is being sent on behalf of a real app and not an emulator. The recaptcha should be generated by calling getRecaptchaParams and the recaptcha token will be generated on user completion of the recaptcha challenge.",
23782382
"type": "string"

googleapiclient/discovery_cache/documents/identitytoolkit.v2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@
15591559
}
15601560
}
15611561
},
1562-
"revision": "20230218",
1562+
"revision": "20230224",
15631563
"rootUrl": "https://identitytoolkit.googleapis.com/",
15641564
"schemas": {
15651565
"GoogleCloudIdentitytoolkitAdminV2AllowByDefault": {
@@ -2893,6 +2893,10 @@
28932893
"description": "Required for enrollment. Phone number to be enrolled as MFA.",
28942894
"type": "string"
28952895
},
2896+
"playIntegrityToken": {
2897+
"description": "Android only. Used to assert application identity in place of a recaptcha token (or safety net token). A Play Integrity Token can be generated via the [PlayIntegrity API] (https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce.",
2898+
"type": "string"
2899+
},
28962900
"recaptchaToken": {
28972901
"description": "Web only. Recaptcha solution.",
28982902
"type": "string"

0 commit comments

Comments
 (0)