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.
Methods
Clears contents from storage
clear() : void
Returns true if and only if storage is empty
isEmpty() : bool
Returns the contents of storage
Behavior is undefined when storage is empty.
read() : mixed
Behavior is undefined when storage is empty.
Exceptions
Returns
mixed
Writes $contents to storage
write(mixed $contents) : void
Parameters
$contents
mixed
Exceptions
Properties
Holds the actual auth data
$data