Class MemoryStorage
Memory based non-persistent storage for authenticated user record.
- Cake\Auth\Storage\MemoryStorage implements Cake\Auth\Storage\StorageInterface
Properties summary
-
$_redirectUrl
protectedstring|null
Redirect url. -
$_user
protectedArrayAccess|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
redirectUrl() 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
mixed