Zend Framework
1.12
|
Public Member Functions | |
getStorage () | |
Returns the persistent storage handler. | |
setStorage (Zend_Auth_Storage_Interface $storage) | |
Sets the persistent storage handler. | |
authenticate (Zend_Auth_Adapter_Interface $adapter) | |
Authenticates against the supplied adapter. | |
hasIdentity () | |
Returns true if and only if an identity is available from storage. | |
getIdentity () | |
Returns the identity from storage or null if no identity is available. | |
clearIdentity () | |
Clears the identity from persistent storage. | |
Static Public Member Functions | |
static | getInstance () |
Returns an instance of Zend_Auth. | |
Protected Member Functions | |
__construct () | |
Singleton pattern implementation makes "new" unavailable. | |
__clone () | |
Singleton pattern implementation makes "clone" unavailable. | |
Protected Attributes | |
$_storage = null | |
Static Protected Attributes | |
static | $_instance = null |
|
protected |
Singleton pattern implementation makes "new" unavailable.
|
protected |
Singleton pattern implementation makes "clone" unavailable.
authenticate | ( | Zend_Auth_Adapter_Interface | $adapter | ) |
Authenticates against the supplied adapter.
Zend_Auth_Adapter_Interface | $adapter |
ZF-7546 - prevent multiple succesive calls from storing inconsistent results Ensure storage has clean state
clearIdentity | ( | ) |
Clears the identity from persistent storage.
getIdentity | ( | ) |
Returns the identity from storage or null if no identity is available.
|
static |
getStorage | ( | ) |
Returns the persistent storage handler.
Session storage is used by default unless a different storage adapter has been set.
hasIdentity | ( | ) |
Returns true if and only if an identity is available from storage.
setStorage | ( | Zend_Auth_Storage_Interface | $storage | ) |
Sets the persistent storage handler.
Zend_Auth_Storage_Interface | $storage |
|
staticprotected |
|
protected |