SafetyNetApi.RecaptchaTokenResponse

public static class SafetyNetApi.RecaptchaTokenResponse extends Response<SafetyNetApi.RecaptchaTokenResult>

Response from verifyWithRecaptcha(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. The token must be validated on the server side to determine whether the user has passed the challenge.

Public Constructor Summary

Public Method Summary

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 Constructors

public SafetyNetApi.RecaptchaTokenResponse ()

Public Methods

public 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.