Class Zend_Auth_Storage_NonPersistent

Description

Implements interfaces:

Non-Persistent Auth Storage

Since HTTP Authentication happens again on each request, this will always be re-populated. So there's no need to use sessions, this simple value class will hold the data for rest of the current request.

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

Located in /Auth/Storage/NonPersistent.php (line 42)


	
			
Variable Summary
 mixed $_data
Method Summary
 void clear ()
 boolean isEmpty ()
 mixed read ()
 void write (mixed $contents)
Variables
mixed $_data (line 47)

Holds the actual auth data

  • access: protected
Methods
clear (line 92)

Clears contents from storage

  • throws: Zend_Auth_Storage_Exception If clearing contents from storage is impossible
  • access: public
void clear ()

Implementation of:
Zend_Auth_Storage_Interface::clear()
Clears contents from storage
isEmpty (line 56)

Returns true if and only if storage is empty

  • throws: Zend_Auth_Storage_Exception If it is impossible to determine whether storage is empty
  • access: public
boolean isEmpty ()

Implementation of:
Zend_Auth_Storage_Interface::isEmpty()
Returns true if and only if storage is empty
read (line 69)

Returns the contents of storage

Behavior is undefined when storage is empty.

  • throws: Zend_Auth_Storage_Exception If reading contents from storage is impossible
  • access: public
mixed read ()

Implementation of:
Zend_Auth_Storage_Interface::read()
Returns the contents of storage
write (line 81)

Writes $contents to storage

  • throws: Zend_Auth_Storage_Exception If writing $contents to storage is impossible
  • access: public
void write (mixed $contents)
  • mixed $contents

Implementation of:
Zend_Auth_Storage_Interface::write()
Writes $contents to storage

Documentation generated on Sun, 27 May 2007 23:26:09 -0700 by phpDocumentor 1.3.2