Table of Contents

Class RemoveSessionsContext

Namespace
Fdyay.IdentityServer.Services
Assembly
Fdyay.IdentityServer.AspNetCore.dll

Which sessions RemoveSessionsAsync(RemoveSessionsContext, CancellationToken) ends, for which clients, and which of the four things it does about them. Duende's.

public class RemoveSessionsContext
Inheritance
RemoveSessionsContext
Inherited Members

Remarks

Duende 8.0.1's, measured: every flag is on unless turned off, so a context naming only a subject ends that subject's sessions completely — the row removed, the clients told, their tokens and consents revoked.

Properties

ClientIds

The clients told and whose tokens or consents are revoked; null for every client. Duende's, measured: an empty collection narrows nothing for the revocations and tells no client.

public IReadOnlyCollection<string>? ClientIds { get; set; }

Property Value

IReadOnlyCollection<string>

RemoveServerSideSession

Removes the stored session, so its cookie stops resolving. Defaults to true, as Duende's.

public bool RemoveServerSideSession { get; set; }

Property Value

bool

RevokeConsents

Revokes the consents the subject gave the clients. Defaults to true, as Duende's.

public bool RevokeConsents { get; set; }

Property Value

bool

RevokeTokens

Revokes the clients' refresh tokens, reference tokens and authorization codes. Defaults to true, as Duende's.

public bool RevokeTokens { get; set; }

Property Value

bool

SendBackchannelLogoutNotification

Sends the session's clients a back-channel logout. Defaults to true, as Duende's.

public bool SendBackchannelLogoutNotification { get; set; }

Property Value

bool

SessionId

The session that ends.

public string? SessionId { get; init; }

Property Value

string

SubjectId

The subject whose sessions end. With SessionId, only that subject's session of that id.

public string? SubjectId { get; init; }

Property Value

string