Gungho::Component::Authentication - Base Class For WWW Authentication
package MyAuth; use base qw(Gungho::Component::Authentication);
Gungho::Component::Authentication provides the base mechanism to detect and authenticate WWW Authentication responses.
Subclasses must override the authenticate() method.
Should authenticate the request, and do any re-dispatching if need be. Should return 1 if the request has been redispatched.
Checks the given request/response for a WWW Authentication challenge, and re-dispatches the request if need be.
Returns 1 if the request has been redispatched (in which case your engine class should not forward this response to handle_response()), 0 otherwise.
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.