Dela via


Microsoft.AspNetCore.Authorization.Policy Namespace

Contains types that enable support for policy based authorization.

Classes

AuthorizationMiddlewareResultHandler

Default implementation for IAuthorizationMiddlewareResultHandler.

PolicyAuthorizationResult

The result of AuthorizeAsync(AuthorizationPolicy, AuthenticateResult, HttpContext, Object).

PolicyEvaluator

Default implementation for IPolicyEvaluator.

Interfaces

IPolicyEvaluator

Base class for authorization handlers that need to be called for a specific requirement type.

Remarks

For more information about policy based authorization, see Policy-based authorization in ASP.NET Core.