Called first, for the plugin to decide whether it is enabled.
Called first, for the plugin to decide whether it is enabled.
true
if enabled
Obtains the recaptcha API version configured.
Obtains the recaptcha API version configured.
The version number, or None
if invalid (error will have been logged).
Determine whether reCAPTCHA API version 1 is in use (if not must be API version 2, aka no-captcha recaptcha).
Determine whether reCAPTCHA API version 1 is in use (if not must be API version 2, aka no-captcha recaptcha).
Result is cached so it can be checked repeatedly at runtime.
Decide whether the plugin is enabled, by sanity checking the configuration.
Decide whether the plugin is enabled, by sanity checking the configuration.
Result is cached so it can be checked repeatedly at runtime, not just by Play on start-up.
Called when the client application starts up, if this plugin is enabled.
Called when the client application starts up, if this plugin is enabled.
Called when the client application shuts down, if this plugin is enabled.
Called when the client application shuts down, if this plugin is enabled.
Play plugin for the recaptcha module, hooks into the play application lifecycle.