Class HvlOAuthCaptchaResponse
java.lang.Object
tr.com.havelsan.javarch.oauth.captcha.verification.provider.model.HvlOAuthCaptchaResponse
- All Implemented Interfaces:
Serializable
The type HvlOAuthCaptchaResponse is used for mapped to captcha response.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets action.Gets challenge ts.Gets error code set.Gets hostname.float
getScore()
Gets score.boolean
Is success boolean.void
Sets action.void
setChallengeTs
(String challengeTs) Sets challenge ts.void
setErrorCodeSet
(Set<HvlOAuthCaptchaErrorCode> errorCodeSet) Sets error code set.void
setHostname
(String hostname) Sets hostname.void
setScore
(float score) Sets score.void
setSuccess
(boolean success) Sets success.
-
Field Details
-
SECRET_QUERY_PARAM
- See Also:
-
RESPONSE_QUERY_PARAM
- See Also:
-
-
Constructor Details
-
HvlOAuthCaptchaResponse
public HvlOAuthCaptchaResponse()
-
-
Method Details
-
isSuccess
public boolean isSuccess()Is success boolean.- Returns:
- the boolean
-
setSuccess
public void setSuccess(boolean success) Sets success.- Parameters:
success
- the success
-
getChallengeTs
Gets challenge ts.- Returns:
- the challenge ts
-
setChallengeTs
Sets challenge ts.- Parameters:
challengeTs
- the challenge ts
-
getHostname
Gets hostname.- Returns:
- the hostname
-
setHostname
Sets hostname.- Parameters:
hostname
- the hostname
-
getErrorCodeSet
Gets error code set.- Returns:
- the error code set
-
setErrorCodeSet
Sets error code set.- Parameters:
errorCodeSet
- the error code set
-
getScore
public float getScore()Gets score.- Returns:
- the score
-
setScore
public void setScore(float score) Sets score.- Parameters:
score
- the score
-
getAction
Gets action.- Returns:
- the action
-
setAction
Sets action.- Parameters:
action
- the action
-