![]() |
![]()
| ![]() |
![]()
NAMEGungho::Component::Authentication - Base Class For WWW Authentication SYNOPSISpackage MyAuth; use base qw(Gungho::Component::Authentication); DESCRIPTIONGungho::Component::Authentication provides the base mechanism to detect and authenticate WWW Authentication responses. Subclasses must override the authenticate() method. METHODSauthenticate($is_proxy, $auth_params, $request, $response)Should authenticate the request, and do any re-dispatching if need be. Should return 1 if the request has been redispatched. check_authentication_challenge($c, $req, $res)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.
|