You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-identitytoolkit/v1/2.0.0/com/google/api/services/identitytoolkit/v1/model/GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.java
+13-31Lines changed: 13 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
/**
20
20
* Request message for SendVerificationCode. 'captcha_response' is required when reCAPTCHA
21
21
* enterprise is enabled, or otherwise at least one of (`ios_receipt` and `ios_secret`),
22
-
* `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is
22
+
* `recaptcha_token`, or `play_integrity_token` must be specified to verify the verification code is
23
23
* being sent on behalf of a real app and not an emulator.
24
24
*
25
25
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
@@ -56,7 +56,7 @@ public final class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest exten
56
56
57
57
/**
58
58
* Receipt of successful iOS app token validation. At least one of (`ios_receipt` and
59
-
* `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the
59
+
* `ios_secret`), `recaptcha_token`, or `play_integrity_token` must be specified to verify the
60
60
* verification code is being sent on behalf of a real app and not an emulator, if
61
61
* 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). This should come from the
62
62
* response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as
@@ -97,8 +97,8 @@ public final class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest exten
97
97
98
98
/**
99
99
* Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`),
100
-
* `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is
101
-
* being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used
100
+
* `recaptcha_token`, or `play_integrity_token` must be specified to verify the verification code
101
+
* is being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used
102
102
* (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling
103
103
* getRecaptchaParams and the recaptcha token will be generated on user completion of the
104
104
* recaptcha challenge.
@@ -116,13 +116,7 @@ public final class GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest exten
116
116
privatejava.lang.StringrecaptchaVersion;
117
117
118
118
/**
119
-
* Android only. Used to assert application identity in place of a recaptcha token. At least one
120
-
* of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
121
-
* to verify the verification code is being sent on behalf of a real app and not an emulator, if
122
-
* 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be
123
-
* generated via the [SafetyNet Android Attestation
124
-
* API](https://developer.android.com/training/safetynet/attestation.html), with the Base64
125
-
* encoding of the `phone_number` field as the nonce.
119
+
* Android only. Safety Net has been deprecated. Please use play_integrity_token instead.
126
120
* The value may be {@code null}.
127
121
*/
128
122
@com.google.api.client.util.Key
@@ -190,7 +184,7 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setClientType(jav
190
184
191
185
/**
192
186
* Receipt of successful iOS app token validation. At least one of (`ios_receipt` and
193
-
* `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the
187
+
* `ios_secret`), `recaptcha_token`, or `play_integrity_token` must be specified to verify the
194
188
* verification code is being sent on behalf of a real app and not an emulator, if
195
189
* 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). This should come from the
196
190
* response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as
@@ -204,7 +198,7 @@ public java.lang.String getIosReceipt() {
204
198
205
199
/**
206
200
* Receipt of successful iOS app token validation. At least one of (`ios_receipt` and
207
-
* `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified to verify the
201
+
* `ios_secret`), `recaptcha_token`, or `play_integrity_token` must be specified to verify the
208
202
* verification code is being sent on behalf of a real app and not an emulator, if
209
203
* 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). This should come from the
210
204
* response of verifyIosClient. If present, the caller should also provide the `ios_secret`, as
@@ -284,8 +278,8 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setPlayIntegrityT
284
278
285
279
/**
286
280
* Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`),
287
-
* `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is
288
-
* being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used
281
+
* `recaptcha_token`, or `play_integrity_token` must be specified to verify the verification code
282
+
* is being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used
289
283
* (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling
290
284
* getRecaptchaParams and the recaptcha token will be generated on user completion of the
291
285
* recaptcha challenge.
@@ -297,8 +291,8 @@ public java.lang.String getRecaptchaToken() {
297
291
298
292
/**
299
293
* Recaptcha token for app verification. At least one of (`ios_receipt` and `ios_secret`),
300
-
* `recaptcha_token`, or `safety_net_token` must be specified to verify the verification code is
301
-
* being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used
294
+
* `recaptcha_token`, or `play_integrity_token` must be specified to verify the verification code
295
+
* is being sent on behalf of a real app and not an emulator, if 'captcha_response' is not used
302
296
* (reCAPTCHA enterprise is not enabled). The recaptcha should be generated by calling
303
297
* getRecaptchaParams and the recaptcha token will be generated on user completion of the
304
298
* recaptcha challenge.
@@ -329,27 +323,15 @@ public GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest setRecaptchaVersi
329
323
}
330
324
331
325
/**
332
-
* Android only. Used to assert application identity in place of a recaptcha token. At least one
333
-
* of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
334
-
* to verify the verification code is being sent on behalf of a real app and not an emulator, if
335
-
* 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be
336
-
* generated via the [SafetyNet Android Attestation
337
-
* API](https://developer.android.com/training/safetynet/attestation.html), with the Base64
338
-
* encoding of the `phone_number` field as the nonce.
326
+
* Android only. Safety Net has been deprecated. Please use play_integrity_token instead.
339
327
* @return value or {@code null} for none
340
328
*/
341
329
publicjava.lang.StringgetSafetyNetToken() {
342
330
returnsafetyNetToken;
343
331
}
344
332
345
333
/**
346
-
* Android only. Used to assert application identity in place of a recaptcha token. At least one
347
-
* of (`ios_receipt` and `ios_secret`), `recaptcha_token`, or `safety_net_token` must be specified
348
-
* to verify the verification code is being sent on behalf of a real app and not an emulator, if
349
-
* 'captcha_response' is not used (reCAPTCHA enterprise is not enabled). A SafetyNet Token can be
350
-
* generated via the [SafetyNet Android Attestation
351
-
* API](https://developer.android.com/training/safetynet/attestation.html), with the Base64
352
-
* encoding of the `phone_number` field as the nonce.
334
+
* Android only. Safety Net has been deprecated. Please use play_integrity_token instead.
353
335
* @param safetyNetToken safetyNetToken or {@code null} for none
0 commit comments