Table of Contents

Class SessionFilter

Namespace
Fdyay.IdentityServer.Stores
Assembly
Fdyay.IdentityServer.Core.dll

Narrows sessions to a subject, a session id, or both.

public class SessionFilter
Inheritance
SessionFilter
Inherited Members

Remarks

Both null matches everything, which is why every method taking one of these treats that as a programming error rather than a wildcard: the operations here include deletion, and a filter that silently means "all" is one typo away from ending every session on the server.

Properties

IsEmpty

Whether this filter names anything at all.

public bool IsEmpty { get; }

Property Value

bool

SessionId

Matches only the session with this session id (sid); null matches any.

public string? SessionId { get; set; }

Property Value

string

SubjectId

Matches only the sessions of this subject; null matches any.

public string? SubjectId { get; set; }

Property Value

string