Class SessionQuery
- Namespace
- Fdyay.IdentityServer.Stores
- Assembly
- Fdyay.IdentityServer.Core.dll
A page of sessions to show an administrator.
public class SessionQuery
- Inheritance
-
SessionQuery
- Inherited Members
Remarks
Paged by number rather than by an opaque continuation token. A cursor is the better answer for a large table read forward once, but this is read by a person looking at a list with page numbers on it, who expects to jump to page four and to go back. Recorded as a deliberate divergence rather than an oversight.
Properties
Filter
Matches sessions whose display name, subject id or session id contains this, ignoring case.
public string? Filter { get; set; }
Property Value
Remarks
Said "a leading fragment" until 0.13.0, where the store has always matched anywhere in the value. The text is corrected rather than the behaviour: an administrator searching a session list for part of a name expects to find it wherever it sits, and every implementation of this interface has done that.
Page
One-based.
public int Page { get; set; }
Property Value
PageSize
How many sessions a page holds. Defaults to 25; the in-tree stores treat a value below 1 as 1.
public int PageSize { get; set; }