Index

A C G I R S V 
All Classes and Interfaces|All Packages|Constant Field Values

A

addScript(Head) - Method in class com.oorian.recaptcha.ReCaptcha
Adds the Google reCAPTCHA script to the page head.
addScript(Head) - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Adds the Google reCAPTCHA script to the page head.

C

com.oorian.recaptcha - package com.oorian.recaptcha
 

G

get(int) - Static method in enum class com.oorian.recaptcha.ReCaptchaVersion
Returns the ReCaptchaVersion for the given ID, or V3 if not found.
getAction() - Method in class com.oorian.recaptcha.ReCaptchaResponse
Returns the action name that was passed when generating the token.
getChallengeTimestamp() - Method in class com.oorian.recaptcha.ReCaptchaResponse
Returns the timestamp of the challenge in ISO 8601 format.
getHostname() - Method in class com.oorian.recaptcha.ReCaptchaResponse
Returns the hostname of the site where the token was generated.
getId() - Method in enum class com.oorian.recaptcha.ReCaptchaVersion
Returns the numeric identifier for this version.
getLabel() - Method in enum class com.oorian.recaptcha.ReCaptchaVersion
Returns the display label for this version.
getResponse(String) - Static method in class com.oorian.recaptcha.ReCaptchaVerifier
Gets the full verification response from the Google reCAPTCHA API.
getScore() - Method in class com.oorian.recaptcha.ReCaptchaResponse
Returns the reCAPTCHA score.
getSecretKey() - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Returns the configured secret key.
getSiteKey() - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Returns the configured site key.
getVerificationResponse(String) - Method in class com.oorian.recaptcha.ReCaptcha
Gets the full verification response from the Google reCAPTCHA API.
getVersion() - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Returns the configured reCAPTCHA version.

I

initialize() - Method in class com.oorian.recaptcha.ReCaptcha
 
INPUT_NAME - Static variable in class com.oorian.recaptcha.ReCaptcha
 
isSuccess() - Method in class com.oorian.recaptcha.ReCaptchaResponse
Returns whether the reCAPTCHA verification was successful.

R

ReCaptcha - Class in com.oorian.recaptcha
Google reCAPTCHA v3 component for the Oorian framework.
ReCaptcha() - Constructor for class com.oorian.recaptcha.ReCaptcha
Creates a new reCAPTCHA component with default settings.
ReCaptcha(String) - Constructor for class com.oorian.recaptcha.ReCaptcha
Creates a new reCAPTCHA component with a custom action name.
ReCaptchaConfig - Class in com.oorian.recaptcha
Global configuration for Google reCAPTCHA integration.
ReCaptchaConfig() - Constructor for class com.oorian.recaptcha.ReCaptchaConfig
 
ReCaptchaResponse - Class in com.oorian.recaptcha
Represents the response from the Google reCAPTCHA verification API.
ReCaptchaResponse(JsonObject) - Constructor for class com.oorian.recaptcha.ReCaptchaResponse
Creates a ReCaptchaResponse from the parsed JSON returned by the Google API.
ReCaptchaVerifier - Class in com.oorian.recaptcha
Server-side verification of Google reCAPTCHA v3 tokens.
ReCaptchaVerifier() - Constructor for class com.oorian.recaptcha.ReCaptchaVerifier
 
ReCaptchaVersion - Enum Class in com.oorian.recaptcha
Represents the available versions of Google reCAPTCHA.

S

setAction(String) - Method in class com.oorian.recaptcha.ReCaptcha
Sets the reCAPTCHA action name.
setRefreshInterval(int) - Method in class com.oorian.recaptcha.ReCaptcha
Sets the token refresh interval in milliseconds.
setSecretKey(String) - Method in class com.oorian.recaptcha.ReCaptcha
Sets the reCAPTCHA secret key (private key).
setSecretKey(String) - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Sets the reCAPTCHA secret key (private key).
setSiteKey(String) - Method in class com.oorian.recaptcha.ReCaptcha
Sets the reCAPTCHA site key (public key).
setSiteKey(String) - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Sets the reCAPTCHA site key (public key).
setVersion(ReCaptchaVersion) - Static method in class com.oorian.recaptcha.ReCaptchaConfig
Sets the reCAPTCHA version to use.

V

V3 - Enum constant in enum class com.oorian.recaptcha.ReCaptchaVersion
 
valueOf(String) - Static method in enum class com.oorian.recaptcha.ReCaptchaVersion
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.oorian.recaptcha.ReCaptchaVersion
Returns an array containing the constants of this enum class, in the order they are declared.
verify(String, double) - Method in class com.oorian.recaptcha.ReCaptcha
Verifies a reCAPTCHA token against the specified score threshold.
verify(String, double) - Static method in class com.oorian.recaptcha.ReCaptchaVerifier
Verifies a reCAPTCHA token against the specified score threshold.
A C G I R S V 
All Classes and Interfaces|All Packages|Constant Field Values