SessionStore
class
Vendidit\AuthServer\Contracts\SessionStoreSource:src/Contracts/SessionStore.php
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(string $state)
@return array<string,mixed>|null
writeSsoState(string $state, array $payload, int $ttlSeconds = 600)
@param array<string,mixed> $payload