Table of Contents

Class DefaultSessionCoordinationService

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

Default session coordination service

public class DefaultSessionCoordinationService : ISessionCoordinationService
Inheritance
DefaultSessionCoordinationService
Implements
Inherited Members

Constructors

DefaultSessionCoordinationService(IdentityServerOptions, IPersistedGrantStore, IClientStore, IBackChannelLogoutService, ILogger<DefaultSessionCoordinationService>, IServerSideSessionStore)

Ctor.

public DefaultSessionCoordinationService(IdentityServerOptions options, IPersistedGrantStore persistedGrantStore, IClientStore clientStore, IBackChannelLogoutService backChannelLogoutService, ILogger<DefaultSessionCoordinationService> logger, IServerSideSessionStore serverSideSessionStore = null)

Parameters

options IdentityServerOptions
persistedGrantStore IPersistedGrantStore
clientStore IClientStore
backChannelLogoutService IBackChannelLogoutService
logger ILogger<DefaultSessionCoordinationService>
serverSideSessionStore IServerSideSessionStore

Fields

BackChannelLogoutService

The back-channel logout service.

protected readonly IBackChannelLogoutService BackChannelLogoutService

Field Value

IBackChannelLogoutService

ClientStore

The client store.

protected readonly IClientStore ClientStore

Field Value

IClientStore

Logger

The logger.

protected readonly ILogger Logger

Field Value

ILogger

Options

The options.

protected readonly IdentityServerOptions Options

Field Value

IdentityServerOptions

PersistedGrantStore

The persisted grant store.

protected readonly IPersistedGrantStore PersistedGrantStore

Field Value

IPersistedGrantStore

PersistedGrantTokenTypes

The persisted grants that are token types.

protected static readonly string[] PersistedGrantTokenTypes

Field Value

string[]

ServerSideSessionStore

The server-side session store (if configured).

protected readonly IServerSideSessionStore ServerSideSessionStore

Field Value

IServerSideSessionStore

Methods

ProcessExpirationAsync(UserSession)

public virtual Task ProcessExpirationAsync(UserSession session)

Parameters

session UserSession

Returns

Task

ProcessLogoutAsync(UserSession)

public virtual Task ProcessLogoutAsync(UserSession session)

Parameters

session UserSession

Returns

Task

ValidateSessionAsync(SessionValidationRequest)

public virtual Task<bool> ValidateSessionAsync(SessionValidationRequest request)

Parameters

request SessionValidationRequest

Returns

Task<bool>