Table of Contents

Class IdentityServerMiddleware

Namespace
Duende.IdentityServer.Hosting
Assembly
Duende.IdentityServer.dll

IdentityServer middleware

public class IdentityServerMiddleware
Inheritance
IdentityServerMiddleware
Inherited Members

Constructors

IdentityServerMiddleware(RequestDelegate, ILogger<IdentityServerMiddleware>)

Initializes a new instance of the IdentityServerMiddleware class.

public IdentityServerMiddleware(RequestDelegate next, ILogger<IdentityServerMiddleware> logger)

Parameters

next RequestDelegate

The next.

logger ILogger<IdentityServerMiddleware>

The logger.

Methods

Invoke(HttpContext, IdentityServerOptions, IEndpointRouter, IUserSession, IEventService, IIssuerNameService, ISessionCoordinationService)

Invokes the middleware.

public Task Invoke(HttpContext context, IdentityServerOptions options, IEndpointRouter router, IUserSession userSession, IEventService events, IIssuerNameService issuerNameService, ISessionCoordinationService sessionCoordinationService)

Parameters

context HttpContext

The context.

options IdentityServerOptions
router IEndpointRouter

The router.

userSession IUserSession

The user session.

events IEventService

The event service.

issuerNameService IIssuerNameService

The issuer name service

sessionCoordinationService ISessionCoordinationService

Returns

Task