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
IdentityServerOptionspersistedGrantStore
IPersistedGrantStoreclientStore
IClientStorebackChannelLogoutService
IBackChannelLogoutServicelogger
ILogger<DefaultSessionCoordinationService>serverSideSessionStore
IServerSideSessionStore
Fields
BackChannelLogoutService
The back-channel logout service.
protected readonly IBackChannelLogoutService BackChannelLogoutService
Field Value
ClientStore
The client store.
protected readonly IClientStore ClientStore
Field Value
- IClientStore
Logger
The logger.
protected readonly ILogger Logger
Field Value
Options
The options.
protected readonly IdentityServerOptions Options
Field Value
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
ProcessLogoutAsync(UserSession)
public virtual Task ProcessLogoutAsync(UserSession session)
Parameters
session
UserSession
Returns
ValidateSessionAsync(SessionValidationRequest)
public virtual Task<bool> ValidateSessionAsync(SessionValidationRequest request)
Parameters
request
SessionValidationRequest