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.

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

 Methods

Clears contents from storage

clear() : void
inherited_from \Zend_Auth_Storage_Interface::clear()

Exceptions

\Zend_Auth_Storage_Exception If clearing contents from storage is impossible

Returns true if and only if storage is empty

isEmpty() : boolean
inherited_from \Zend_Auth_Storage_Interface::isEmpty()

Exceptions

\Zend_Auth_Storage_Exception If it is impossible to determine whether storage is empty

Returns

boolean

Returns the contents of storage Behavior is undefined when storage is empty.

read() : mixed

Behavior is undefined when storage is empty.

inherited_from \Zend_Auth_Storage_Interface::read()

Exceptions

\Zend_Auth_Storage_Exception If reading contents from storage is impossible

Returns

mixed

Writes $contents to storage

write(mixed $contents) : void
inherited_from \Zend_Auth_Storage_Interface::write()

Parameters

$contents

mixed

Exceptions

\Zend_Auth_Storage_Exception If writing $contents to storage is impossible

 Properties

 

Holds the actual auth data

$_data 

Default