Class GoogleCaptchaResponse

java.lang.Object
org.dspace.eperson.GoogleCaptchaResponse

public class GoogleCaptchaResponse extends Object
This model class represent the response for validation of reCaptcha token
Author:
Mohamed Eskander (mohamed.eskander at 4science dot it)
  • Constructor Details

    • GoogleCaptchaResponse

      public GoogleCaptchaResponse()
  • Method Details

    • isSuccess

      public boolean isSuccess()
    • getScore

      public float getScore()
    • setScore

      public void setScore(float score)
    • getAction

      public String getAction()
    • setAction

      public void setAction(String action)
    • setSuccess

      public void setSuccess(boolean success)
    • getChallengeTs

      public String getChallengeTs()
    • setChallengeTs

      public void setChallengeTs(String challengeTs)
    • getHostname

      public String getHostname()
    • setHostname

      public void setHostname(String hostname)
    • getErrorCodes

      public org.dspace.eperson.GoogleCaptchaResponse.ErrorCode[] getErrorCodes()
    • setErrorCodes

      public void setErrorCodes(org.dspace.eperson.GoogleCaptchaResponse.ErrorCode[] errorCodes)
    • hasClientError

      public boolean hasClientError()