On this page
Class MemoryStorage
Memory based non-persistent storage for authenticated user record.
Namespace: Cake\Auth\Storage
Property Summary
-
$_redirectUrl protected
array|string|null
Redirect URL.
-
$_user protected
ArrayAccess|array|null
User record.
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
delete() public
delete(): void
Delete user record.
Returns
void
read() public
read(): ArrayAccess|array|null
Read user record.
Returns
ArrayAccess|array|null
redirectUrl() public
redirectUrl(mixed $url = null): array|string|null
Get/set redirect URL.
Parameters
mixed
$url optional
Returns
array|string|null
write() public
write(mixed $user): void
Write user record.
Parameters
mixed
$user
Returns
void
Property Detail
$_redirectUrl protected
Redirect URL.
Type
array|string|null
$_user protected
User record.
Type
ArrayAccess|array|null
© 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.4/class-Cake.Auth.Storage.MemoryStorage.html