Class MemoryStorage
Memory based non-persistent storage for authenticated user record.
- Cake\Auth\Storage\MemoryStorage implements Cake\Auth\Storage\StorageInterface
Method Detail
deletesource public
delete( )
Delete user record.
Implementation of
Cake\Auth\Storage\StorageInterface::delete() readsource public
read( )
Read user record.
Returns
array|nullarray|null
Implementation of
Cake\Auth\Storage\StorageInterface::read() redirectUrlsource public
redirectUrl( mixed $url null )
Get/set redirect URL.
Parameters
- mixed
$urloptional null - Redirect URL. If
nullreturns current URL. Iffalsedeletes currently set URL.
Returns
mixedmixed
Implementation of
Cake\Auth\Storage\StorageInterface::redirectUrl() writesource public
write( array $user )
Write user record.
Parameters
- array
$user - User record.
Implementation of
Cake\Auth\Storage\StorageInterface::write() Properties summary
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/class-Cake.Auth.Storage.MemoryStorage.html