AuthorizationMiddleware Třída

Definice

Middleware, který umožňuje možnosti autorizace.

public ref class AuthorizationMiddleware
public class AuthorizationMiddleware
type AuthorizationMiddleware = class
Public Class AuthorizationMiddleware
Dědičnost
AuthorizationMiddleware

Konstruktory

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

Inicializuje novou instanci objektu AuthorizationMiddleware.

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)

Inicializuje novou instanci objektu AuthorizationMiddleware.

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)

Inicializuje novou instanci objektu AuthorizationMiddleware.

Metody

Invoke(HttpContext)

Vyvolá middleware provádějící autorizaci.

Platí pro