\Zend_Auth
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Auth
{
- // members
- protected static Zend_Auth $_instance = NULL;
- protected Zend_Auth_Storage_Interface $_storage = NULL;
- // methods
- protected void __construct()
- protected void __clone()
- public static Zend_Auth getInstance()
- public Zend_Auth_Storage_Interface getStorage()
- public Zend_Auth setStorage()
- public Zend_Auth_Result authenticate()
- public boolean hasIdentity()
- public mixed|null getIdentity()
- public void clearIdentity()
Members
protected
- $_instance
—
Zend_Auth
Singleton instance - $_storage
—
Zend_Auth_Storage_Interface
Persistent storage handler
Methods
protected
- __construct() — Singleton pattern implementation makes "new" unavailable
- __clone() — Singleton pattern implementation makes "clone" unavailable
public
- authenticate() — Authenticates against the supplied adapter
- clearIdentity() — Clears the identity from persistent storage
- getIdentity() — Returns the identity from storage or null if no identity is available
- getInstance() — Returns an instance of Zend_Auth
- getStorage() — Returns the persistent storage handler
- hasIdentity() — Returns true if and only if an identity is available from storage
- setStorage() — Sets the persistent storage handler