Interface StorageInterface
Describes the methods that any class representing an Auth data storage should comply with.
Namespace: Cake\Auth\Storage
Method Summary
-
delete() public
Delete user record.
-
read() public
Read user record.
-
redirectUrl() public
Get/set redirect URL.
-
write() public
Write user record.
Method Detail
redirectUrl() ¶ public
redirectUrl(mixed $url = null): string|array|null
Get/set redirect URL.
Parameters
-
mixed
$url optional Redirect URL. If
null
returns current URL. Iffalse
deletes currently set URL.
Returns
string|array|null
write() ¶ public
write(arrayArrayAccess $user): void
Write user record.
Parameters
-
arrayArrayAccess
$user User record.
Returns
void