Zend Framework
3.0
|
Non-Persistent Authentication Storage. More...
Public Member Functions | |
isEmpty () | |
Returns true if and only if storage is empty. | |
read () | |
Returns the contents of storage Behavior is undefined when storage is empty. | |
write ($contents) | |
Writes $contents to storage. | |
clear () | |
Clears contents from storage. | |
Protected Attributes | |
$data | |
Holds the actual auth data. | |
Non-Persistent Authentication 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.
clear | ( | ) |
isEmpty | ( | ) |
read | ( | ) |
Returns the contents of storage Behavior is undefined when storage is empty.
Implements StorageInterface.
write | ( | $contents | ) |
|
protected |
Holds the actual auth data.