Package org.dspace.eperson.service
Interface CaptchaService
- All Known Implementing Classes:
CaptchaServiceImpl
public interface CaptchaService
This service for validate the reCaptcha token
- Author:
- Mohamed Eskander (mohamed.eskander at 4science dot it)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessResponse(String response, String action) validate the entered reCaptcha token
-
Field Details
-
REGISTER_ACTION
- See Also:
-
-
Method Details
-
processResponse
validate the entered reCaptcha token- Parameters:
response- reCaptcha token to be validatedaction- action of reCaptcha- Throws:
InvalidReCaptchaException- if reCaptcha was not successfully validated
-