Class ServerSideSessionOptions
- Namespace
- Duende.IdentityServer.Configuration
- Assembly
- Duende.IdentityServer.dll
Configures the behavior for server-side sessions.
public class ServerSideSessionOptions
- Inheritance
-
ServerSideSessionOptions
- Inherited Members
Constructors
ServerSideSessionOptions()
public ServerSideSessionOptions()
Properties
ExpiredSessionsTriggerBackchannelLogout
If enabled, when server-side sessions are removed due to expiration, will back-channel logout notifications be sent. This will, in effect, tie a user's session lifetime at a client to their session lifetime at IdentityServer.
public bool ExpiredSessionsTriggerBackchannelLogout { get; set; }
Property Value
FuzzExpiredSessionRemovalStart
If multiple nodes are running the server side session cleaup at the same time, there will be
concurrency issues in the database updates. To reduce the rsk, the startup time
of the first run can be fuzzed (randomized). The default is true
.
public bool FuzzExpiredSessionRemovalStart { get; set; }
Property Value
- bool
true
if startup time should be fuzzed, otherwise false.
RemoveExpiredSessions
If enabled, will perodically cleanup expired sessions.
public bool RemoveExpiredSessions { get; set; }
Property Value
RemoveExpiredSessionsBatchSize
Number of expired sessions records to be removed at a time.
public int RemoveExpiredSessionsBatchSize { get; set; }
Property Value
RemoveExpiredSessionsFrequency
Frequency expired sessions will be removed.
public TimeSpan RemoveExpiredSessionsFrequency { get; set; }
Property Value
UserDisplayNameClaimType
The claim type used for the user's display name.
public string? UserDisplayNameClaimType { get; set; }