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.
Returns the contents of storage Behavior is undefined when storage is empty.
| Return type: | mixed |
|---|
Writes $contents to storage
| Parameters: | mixed – |
|---|---|
| Return type: | void |
Clears contents from storage
| Return type: | void |
|---|