Interface StorageInterface

Describes the methods that any class representing an Auth data storage should comply with.

Direct known implementers

Cake\Auth\Storage\MemoryStorage, Cake\Auth\Storage\SessionStorage

Method Detail

deletesource public

delete( )

Delete user record.

readsource public

read( )

Read user record.

Returns

array|null
array|null

redirectUrlsource public

redirectUrl( mixed $url null )

Get/set redirect URL.

Parameters

mixed $url optional null
Redirect URL. If null returns current URL. If false deletes currently set URL.

Returns

mixed
mixed

writesource public

write( array $user )

Write user record.

Parameters

array $user
User record.

© 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.StorageInterface.html