Dela via


AuthorizationMiddleware Class

Definition

A middleware that enables authorization capabilities.

public ref class AuthorizationMiddleware
public class AuthorizationMiddleware
type AuthorizationMiddleware = class
Public Class AuthorizationMiddleware
Inheritance
AuthorizationMiddleware

Constructors

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider, ILogger<AuthorizationMiddleware>)

Initializes a new instance of AuthorizationMiddleware.

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)

Initializes a new instance of AuthorizationMiddleware.

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)

Initializes a new instance of AuthorizationMiddleware.

Methods

Invoke(HttpContext)

Invokes the middleware performing authorization.

Applies to