Interface StorageInterface

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

Namespace: Cake\Auth\Storage

Method Summary

Method Detail

delete() public

delete()

Delete user record.

read() public

read()

Read user record.

Returns

\ArrayAccess|array|null

redirectUrl() public

redirectUrl(mixed $url)

Get/set redirect URL.

Parameters

mixed $url optional

Redirect URL. If null returns current URL. If false deletes currently set URL.

Returns

string|array|null

write() public

write(mixed $user)

Write user record.

Parameters

mixed $user

array or \ArrayAccess User record.

© 2005–present 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/4.0/interface-Cake.Auth.Storage.StorageInterface.html