Authorization/authentication plug-in.
More...
|
| $mapper |
| Mapper object.
|
|
| $args |
| Storage options.
|
|
|
const | E_LDAP ='LDAP connection failure' |
|
const | E_SMTP ='SMTP connection failure' |
|
Authorization/authentication plug-in.
Auth::__construct |
( |
|
$storage, |
|
|
array |
$args = NULL |
|
) |
| |
Instantiate class
- Returns
- object
- Parameters
-
$storage | string|object |
$args | array |
Auth::_jig |
( |
|
$id, |
|
|
|
$pw, |
|
|
|
$realm |
|
) |
| |
|
protected |
Jig storage handler
- Returns
- bool
- Parameters
-
$id | string |
$pw | string |
$realm | string |
LDAP storage handler
- Returns
- bool
- Parameters
-
Auth::_mongo |
( |
|
$id, |
|
|
|
$pw, |
|
|
|
$realm |
|
) |
| |
|
protected |
MongoDB storage handler
- Returns
- bool
- Parameters
-
$id | string |
$pw | string |
$realm | string |
SMTP storage handler
- Returns
- bool
- Parameters
-
Auth::_sql |
( |
|
$id, |
|
|
|
$pw, |
|
|
|
$realm |
|
) |
| |
|
protected |
SQL storage handler
- Returns
- bool
- Parameters
-
$id | string |
$pw | string |
$realm | string |
Auth::basic |
( |
|
$func = NULL , |
|
|
|
$halt = TRUE |
|
) |
| |
HTTP basic auth mechanism
- Returns
- bool
- Parameters
-
Auth::login |
( |
|
$id, |
|
|
|
$pw, |
|
|
|
$realm = NULL |
|
) |
| |
Login auth mechanism
- Returns
- bool
- Parameters
-
$id | string |
$pw | string |
$realm | string |
The documentation for this class was generated from the following file: