SafetyNetApi.RecaptchaTokenResult

public static interface SafetyNetApi.RecaptchaTokenResult implements Result

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.