SessionStore
Storage for the current user’s tokens + per-session CSRF / SSO state.
Implementations:
- InMemorySessionStore (tests, single-process)
- CookieSessionStore (encrypted HttpOnly cookies; Laravel wraps this)
- PhpSessionStore ($_SESSION-backed)
Methods
readSsoState()
function readSsoState(string $state): ?array;Returns
array<string,mixed>|null
writeSsoState()
function writeSsoState(string $state, array $payload, int $ttlSeconds = 600): void;Parameters
$payload—array<string,mixed>