category Zend
package Zend_Auth
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Authenticates against the supplied adapter

authenticate(\Zend_Auth_Adapter_Interface $adapter) : \Zend_Auth_Result

Parameters

$adapter

\Zend_Auth_Adapter_Interface

Returns

\Zend_Auth_Result

Clears the identity from persistent storage

clearIdentity() : void

Returns the identity from storage or null if no identity is available

getIdentity() : mixed | null

Returns

mixednull

Returns an instance of Zend_Auth

getInstance() : \Zend_Auth
Static

Singleton pattern implementation

Returns

\Zend_AuthProvides a fluent interface

Returns the persistent storage handler

getStorage() : \Zend_Auth_Storage_Interface

Session storage is used by default unless a different storage adapter has been set.

Returns

\Zend_Auth_Storage_Interface

Returns true if and only if an identity is available from storage

hasIdentity() : boolean

Returns

boolean

Sets the persistent storage handler

setStorage(\Zend_Auth_Storage_Interface $storage) : \Zend_Auth

Parameters

$storage

\Zend_Auth_Storage_Interface

Returns

\Zend_AuthProvides a fluent interface

Singleton pattern implementation makes "clone" unavailable

__clone() : void

Singleton pattern implementation makes "new" unavailable

__construct() : void

 Properties

 

Singleton instance

$_instance : \Zend_Auth

Default

null
Static
 

Persistent storage handler

$_storage : \Zend_Auth_Storage_Interface

Default

null