Table of Contents

Class RemoveSessionsContext

Namespace
Duende.IdentityServer.Services
Assembly
Duende.IdentityServer.dll

Models the information to remove a user's session data.

public class RemoveSessionsContext
Inheritance
RemoveSessionsContext
Inherited Members

Constructors

RemoveSessionsContext()

public RemoveSessionsContext()

Properties

ClientIds

The client ids for which to trigger logout notification, or revoke tokens or consent. If not set, then all clients will be removed.

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

Property Value

IEnumerable<string>

RemoveServerSideSession

Removes the server side session for the user's session.

public bool RemoveServerSideSession { get; set; }

Property Value

bool

RevokeConsents

Revokes all prior consent granted to the clients.

public bool RevokeConsents { get; set; }

Property Value

bool

RevokeTokens

Revokes all tokens (e.g. refresh and reference) for the clients.

public bool RevokeTokens { get; set; }

Property Value

bool

SendBackchannelLogoutNotification

Sends a back channel logout notification (if clients are registered for one).

public bool SendBackchannelLogoutNotification { get; set; }

Property Value

bool

SessionId

The session ID

public string? SessionId { get; init; }

Property Value

string

SubjectId

The subject ID

public string? SubjectId { get; init; }

Property Value

string