![]() |
![]()
| ![]() |
![]()
NAMEGungho::Component::Authentication::Basic - Add Basic Auth To Gungho SYNOPSIS--- components: - Authentication::Basic credentials: basic: - - http://example.com - "Admin Only" - username - password - - http://example2.com - "Admin Only" - username2 - password2 DESCRIPTIONThis module adds the capability to store basic authentication information inside Gungho. METHODSsetup($c)Sets up the component authenticate($is_proxy, $realm, $request, $response)Does the WWW Authentication and redispatches the request set_basic_credentials($uri, $realm, $uid, $pass)Sets the credentials for a uri + realm. get_basic_credentials($uri, $realm)Get the credentials for a uri + realm. CAVEATSThis component merely stores data in Gungho that can be used for authentication. The Engine type that Gungho is currently using must respect the information.
|