RemoteUserSessionHandler
final class RemoteUserSessionHandler (View source)
Keeps the session in step with the user the web server signed in: starts a session for them, ends one whose web server user changed or went away, and leaves sessions started by any other sign-in method alone.
Constants
| private PROVIDER_ID |
|
Methods
__construct(RemoteUserIdentitySource $source, UserProvisioningService $provisioning, SessionInterface $session, SessionService $sessionService, AuthenticationService $authService, AuditService $audit, MfaService $mfaService, ConfigurationInterface $config, RedirectService $redirectService, LoggerInterface $logger)
No description
void
apply(int $idleTimeout, string $path)
Runs before the idle-timeout check on every authenticated request except a posted login form. May end the session or redirect, both by halting the request.
Details
__construct(RemoteUserIdentitySource $source, UserProvisioningService $provisioning, SessionInterface $session, SessionService $sessionService, AuthenticationService $authService, AuditService $audit, MfaService $mfaService, ConfigurationInterface $config, RedirectService $redirectService, LoggerInterface $logger)
No description
void
apply(int $idleTimeout, string $path)
Runs before the idle-timeout check on every authenticated request except a posted login form. May end the session or redirect, both by halting the request.