Table of Contents

Class SessionExpiredEvent

Namespace
Fdyay.IdentityServer.Events
Assembly
Fdyay.IdentityServer.Core.dll

A session was removed because it had expired.

public class SessionExpiredEvent : Event
Inheritance
SessionExpiredEvent
Inherited Members

Remarks

The 0.13.0 sweep's half of the same silence. A row nothing prunes is a table that grows and a set of relying parties still believing in a session that ended hours ago, which is why the sweep exists; what it did not do was tell the host it had run on anything.

Separate from SessionRevokedEvent for the reason set out there. This one is the least alarming of the three and the most useful in aggregate: a count that climbs is a session lifetime interacting with how people actually work, and it is the only one of the three that says nothing about anybody's intent.

Raised per session removed and never per pass, so a server with nothing to sweep is silent. An event per pass would report an idle deployment as a steady stream of ending sessions.

Constructors

SessionExpiredEvent(string?, string?)

A session removed because it had expired.

public SessionExpiredEvent(string? subjectId, string? sessionId)

Parameters

subjectId string

Whose session it was, or null where the stored row carried no subject.

sessionId string

The session that ended, or null where the row named none.

Properties

SessionId

The session that ended, where the row named one.

public string? SessionId { get; }

Property Value

string

SubjectId

Whose session it was. Null where the stored row carried no subject.

public string? SubjectId { get; }

Property Value

string