class Config implements ArrayAccess
Methods
How long a token of the given type stays valid, in seconds.
Whether session cookies should be discarded when the browser closes, rather than lasting for the lifetime of the token behind them.
Whether session lifetimes are pinned in `config.php`, and so cannot be changed from the admin panel.
Details
at
line 21
__construct(array $data)
at
line 27
UriInterface
url()
at
line 32
bool
inDebugMode()
at
line 37
string|null
queueDriver()
at
line 52
int|null
accessTokenLifetime(string $type)
How long a token of the given type stays valid, in seconds.
Keyed by the type each token class declares, so a type added by an extension is configured the same way the ones in core are. Zero is meaningful — it means the token never expires — so it is only values that cannot be honoured at all (negative, or not a number) that are discarded here in favour of whatever comes next.
at
line 66
int|null
sessionLifetime()
How long a session may sit idle before it is discarded, in minutes.
at
line 81
bool|null
sessionCookieExpiresOnClose()
Whether session cookies should be discarded when the browser closes, rather than lasting for the lifetime of the token behind them.
at
line 102
bool
sessionConfigOverride()
Whether session lifetimes are pinned in `config.php`, and so cannot be changed from the admin panel.
Only the keys about how long sessions last count: `session.driver`, which picks where they are stored, leaves those controls with the admin panel.