Poweradmin\Infrastructure\Session
Classes
Tracks the most recent PowerDNS API error so the UI can surface it.
A session held in memory: what a test injects, and what a request without a session (the public API) uses as a request-scoped cache.
$_SESSION keys owned by the authentication flows: MFA, the OIDC and SAML logout round trips, and password and username recovery.
A flash message (text plus Bootstrap alert type) kept in the session across a redirect.
Keeps submitted form data in the session so a failed request can refill the form.
Sets, reads and resets the MFA pending/verified state in the session.
PHP's own session: $SESSION plus the session*() lifecycle functions.
The actor of a web request: whoever the session says is logged in.
Stores the login message in the session and clears auth and MFA keys on logout.