## Zend_Auth

Description

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

Located in /Zend/Auth.php (line 30)

Variable Summary
static Zend_Auth $_instance
Zend_Auth_Storage_Interface $_storage
Method Summary
static Zend_Auth getInstance ()
Zend_Auth_Result authenticate (Zend_Auth_Adapter_Interface $adapter)
void clearIdentity ()
mixed|null getIdentity ()
Zend_Auth_Storage_Interface getStorage ()
boolean hasIdentity ()
Zend_Auth setStorage (Zend_Auth_Storage_Interface $storage)
Variables
static Zend_Auth $_instance = null (line 37)

Singleton instance

- access: protected

Zend_Auth_Storage_Interface $_storage = null (line 44)

Persistent storage handler

- access: protected

Methods
static getInstance (line 69)

Returns an instance of Zend_Auth

Singleton pattern implementation

- return: Provides a fluent interface
- access: public

static Zend_Auth getInstance ()
authenticate (line 116)

Authenticates against the supplied adapter

- access: public

Zend_Auth_Result authenticate (Zend_Auth_Adapter_Interface $adapter)

- Zend_Auth_Adapter_Interface $adapter

clearIdentity (line 158)

Clears the identity from persistent storage

- access: public

void clearIdentity ()
getIdentity (line 142)

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

- access: public

mixed|null getIdentity ()
getStorage (line 85)

Returns the persistent storage handler

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

- access: public

Zend_Auth_Storage_Interface getStorage ()
hasIdentity (line 132)

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

- access: public

boolean hasIdentity ()
setStorage (line 104)

Sets the persistent storage handler

- return: Provides a fluent interface
- access: public

Zend_Auth setStorage (Zend_Auth_Storage_Interface $storage)

- Zend_Auth_Storage_Interface $storage

Documentation generated on Wed, 21 Feb 2007 11:45:51 -0800 by phpDocumentor 1.3.1