AI-generated Key Takeaways
-
The
SafetyNetApi.RecaptchaTokenResultinterface is deprecated. -
Use
SafetyNetApi.RecaptchaTokenResponsereturned fromverifyWithRecaptcha(String)instead ofSafetyNetApi.RecaptchaTokenResult. -
This interface contains a reCAPTCHA user response token that third party clients should use to verify the user.
-
Calling
isSuccess()indicates successful communication with the service, but the token must be validated on the server side to determine if the user passed the reCAPTCHA challenge. -
The
getTokenResult()method gets the reCAPTCHA user response token.
This interface was deprecated.
use
SafetyNetApi.RecaptchaTokenResponse returned from
verifyWithRecaptcha(String).
A Result from
verifyWithRecaptcha(GoogleApiClient, String).
This Result contains a reCAPTCHA user response token and third party clients should use
this token to verify the user. See Verify the user's response. Calling the
isSuccess()
will indicate whether or not communication with the service was successful, but does not
indicate if the user has passed the reCAPTCHA challenge. The token must be validated on the
server side to determine whether the user has passed the challenge.
Public Method Summary
| abstract String |
getTokenResult()
Gets the reCAPTCHA user response token, which must be validated by calling the
siteverify method described in Verify the user's
response.
|
Inherited Method Summary
Public Methods
public abstract String getTokenResult ()
Gets the reCAPTCHA user response token, which must be validated by calling the siteverify method described in Verify the user's response.
Returns
- A user response token.