This container provides authentication services against the PEAR website (http://pear.php.net/) and the developer accounts. The HTTP_Client package must be installed for this container to operate, as of Auth 1.5.3.
The storage-specific argument for the Auth constructor() is an array of options.
Option | Data Type | Default value | Description |
---|---|---|---|
"url" | string | "https://pear.php.net/rest-login.php/" | The base URL of a PEAR website to authenticate against. |
"karma" | array | array() | List of karma levels required for a valid authentication. If no karma levels are supplied than simply validating the username and password will result in success. |