
Authen::PluggableCaptcha::Render

Base Render Class

There is no constructor. Calling ->new() will die . new() must be subclassed.

_init PARAMSbase render setup. PARAMS are required name/value pairs. Required PARAMS are:
challenge_instance TYPEan instance of an Authen::PluggableCaptcha::Challenge object
It's often easiest for derived classes to call
Authen::PluggableCaptcha::Render::_init( $self , \%kw_args );
in their constructors
_challenge_instance TYPEsets the internal stash of the Authen::PluggableCaptcha::Challenge object. you probably don't want to call this , unless you replace _init_render
challenge_instancegets the internal stash of the Authen::PluggableCaptcha::Challenge object.
is_rendered BOOLgets/sets a bool if the object is rendered or not
expired_message TEXTgets/sets the expired message
as_stringreturns a rendering of the captcha as a string. this MUST be subclassed
renderruns the render logic. this MUST be subclassed
init_expiredcalled by Authen::PluggableCaptcha when initializing a new captcha render object for an expired key
init_validcalled by Authen::PluggableCaptcha when initializing a new captcha render object for a valid key

Set the Following envelope variables for debugging
$ENV{'Authen::PluggableCaptcha::Render-DEBUG_FUNCTION_NAME'}
debug messages are sent to STDERR via the ErrorLoggingObject package