Class MemoryStorage
Memory based non-persistent storage for authenticated user record.
Namespace: Cake\Auth\Storage
Property Summary
- $_redirectUrl protected
array|string|nullRedirect URL.
- $_user protected
ArrayAccess|array|nullUser 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
voidread() public
read(): ArrayAccess|array|null
Read user record.
Returns
ArrayAccess|array|nullredirectUrl() public
redirectUrl(mixed $url = null): array|string|null
Get/set redirect URL.
Parameters
-
mixed$url optional
Returns
array|string|nullwrite() public
write(mixed $user): void
Write user record.
Parameters
-
mixed$user
Returns
voidProperty 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