Auth.php
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Auth
- Version
- $Id: Auth.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Auth
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

authenticate(\Zend_Auth_Adapter_Interface $adapter) : \Zend_Auth_ResultAuthenticates against the supplied adapter
| Name | Type | Description |
|---|---|---|
| $adapter | \Zend_Auth_Adapter_Interface |
| Type | Description |
|---|---|
| \Zend_Auth_Result |

getIdentity() : mixed | nullReturns the identity from storage or null if no identity is available
| Type | Description |
|---|---|
| mixed | null |

getInstance() : \Zend_AuthReturns an instance of Zend_Auth
Singleton pattern implementation
| Type | Description |
|---|---|
| \Zend_Auth | Provides a fluent interface |

getStorage() : \Zend_Auth_Storage_InterfaceReturns the persistent storage handler
Session storage is used by default unless a different storage adapter has been set.
| Type | Description |
|---|---|
| \Zend_Auth_Storage_Interface |

hasIdentity() : booleanReturns true if and only if an identity is available from storage
| Type | Description |
|---|---|
| boolean |

setStorage(\Zend_Auth_Storage_Interface $storage) : \Zend_AuthSets the persistent storage handler
| Name | Type | Description |
|---|---|---|
| $storage | \Zend_Auth_Storage_Interface |
| Type | Description |
|---|---|
| \Zend_Auth | Provides a fluent interface |