Interface StorageInterface
Describes the methods that any class representing an Auth data storage should comply with.
Direct Implementers
Method Summary
- delete() publicDelete user record.
- read() publicRead user record.
- redirectUrl() publicGet/set redirect URL.
- write() publicWrite user record.
Method Detail
redirectUrl()source 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
mixedwrite()source public
write( array|ArrayAccess $user )
Write user record.
Parameters
- array|ArrayAccess
$user
- User record.
© 2005–2017 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.
https://api.cakephp.org/3.4/class-Cake.Auth.Storage.StorageInterface.html