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|null
array|null
Implementation of
Cake\Auth\Storage\StorageInterface::read()
redirectUrlsource public
redirectUrl( mixed $url null )
Get/set redirect URL.
Parameters
- mixed
$url
optional null - Redirect URL. If
null
returns current URL. Iffalse
deletes currently set URL.
Returns
mixed
mixed
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