Bagikan melalui


AuthorizationMiddleware Kelas

Definisi

Middleware yang memungkinkan kemampuan otorisasi.

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

Konstruktor

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

Menginisialisasi instans baru .AuthorizationMiddleware

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider, IServiceProvider)

Menginisialisasi instans baru .AuthorizationMiddleware

AuthorizationMiddleware(RequestDelegate, IAuthorizationPolicyProvider)

Menginisialisasi instans baru .AuthorizationMiddleware

Metode

Invoke(HttpContext)

Memanggil middleware yang melakukan otorisasi.

Berlaku untuk