1826. Class

1826.1. Zend\Authentication\Storage\NonPersistent

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.

1826.1.1. Methods

1826.1.1.1. isEmpty

isEmpty()

Returns true if and only if storage is empty

Return type:bool

1826.1.1.2. read

read()

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

Return type:mixed

1826.1.1.3. write

write()

Writes $contents to storage

Parameters:mixed
Return type:void

1826.1.1.4. clear

clear()

Clears contents from storage

Return type:void

Project Versions

Table Of Contents

Previous topic

1825. Class

Next topic

1827. Function

This Page