Interface IServerSideTicketStore
- Namespace
- Fdyay.IdentityServer.Services
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
The seam that turns the session cookie into a reference to a stored session.
public interface IServerSideTicketStore : ITicketStore
- Inherited Members
Remarks
ITicketStore is ASP.NET Core's own hook: when the cookie handler is given one, it writes a key into the cookie and keeps the ticket here. That indirection is the entire mechanism behind revocation — a self-contained cookie is valid until it expires no matter what the server decides afterwards, while a key resolves to nothing the moment the row is gone.
Methods
GetSessionsAsync(SessionFilter, CancellationToken)
The sessions matching filter, each with its ticket. Duende's.
Task<IReadOnlyCollection<UserSession>> GetSessionsAsync(SessionFilter filter, CancellationToken cancellationToken = default)
Parameters
filterSessionFiltercancellationTokenCancellationToken
Returns
Remarks
An expired session is not one, as RetrieveAsync treats it.