Class HvlOAuthRecaptchaVerificationService
java.lang.Object
tr.com.havelsan.javarch.oauth.captcha.verification.provider.HvlOAuthAbstractCaptchaService
tr.com.havelsan.javarch.oauth.captcha.verification.provider.HvlOAuthRecaptchaVerificationService
- All Implemented Interfaces:
HvlOAuthCaptchaService
The HvlOAuthRecaptchaVerificationService is a service using for validate captcha.
-
Field Summary
Fields inherited from class tr.com.havelsan.javarch.oauth.captcha.verification.provider.HvlOAuthAbstractCaptchaService
LOGGER, RESPONSE_PATTERN
-
Constructor Summary
ConstructorDescriptionHvlOAuthRecaptchaVerificationService
(HvlOAuthCaptchaVerificationProperties captchaVerificationProperties) Instantiates a new Hvl o auth recaptcha verification service. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validateCaptchaCode
(String captchaCode) validateCaptchaCode captchaCode.Methods inherited from class tr.com.havelsan.javarch.oauth.captcha.verification.provider.HvlOAuthAbstractCaptchaService
getReCaptchaSecret, getUrl, responseSanityCheck, securityCheck
-
Constructor Details
-
HvlOAuthRecaptchaVerificationService
public HvlOAuthRecaptchaVerificationService(HvlOAuthCaptchaVerificationProperties captchaVerificationProperties) Instantiates a new Hvl o auth recaptcha verification service.- Parameters:
captchaVerificationProperties
- the hvl o auth captcha setting properties
-
-
Method Details
-
validateCaptchaCode
validateCaptchaCode captchaCode.- Parameters:
captchaCode
- the captchaCode
-