Show / Hide Table of Contents

Class OpenIddictValidationOwinMiddlewareFactory

Provides the entry point necessary to instantiate and register the scoped OpenIddictValidationOwinMiddleware in an OWIN/Katana pipeline.

Inheritance
System.Object
OpenIddictValidationOwinMiddlewareFactory
Namespace: OpenIddict.Validation.Owin
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictValidationOwinMiddlewareFactory : OwinMiddleware

Constructors

OpenIddictValidationOwinMiddlewareFactory(Nullable<OwinMiddleware>)

Creates a new instance of the OpenIddictValidationOwinMiddlewareFactory class.

Declaration
public OpenIddictValidationOwinMiddlewareFactory(OwinMiddleware? next)
Parameters
Type Name Description
System.Nullable<OwinMiddleware> next

The next middleware in the pipeline, if applicable.

Methods

Invoke(IOwinContext)

Resolves the System.IServiceProvider instance from the OWIN context and creates a new instance of the OpenIddictValidationOwinMiddleware class, which is used to register OpenIddictValidationOwinHandler in the pipeline.

Declaration
public override Task Invoke(IOwinContext context)
Parameters
Type Name Description
IOwinContext context

The .

Returns
Type Description
Task

A that can be used to monitor the asynchronous operation.

In This Article
Back to top Generated by DocFX