IAuthorizationMiddlewareResultHandler Interface

Definition

Allow custom handling of authorization and handling of the authorization response.

C#
public interface IAuthorizationMiddlewareResultHandler
Derived

Methods

HandleAsync(RequestDelegate, HttpContext, AuthorizationPolicy, PolicyAuthorizationResult)

Evaluates the authorization requirement and processes the authorization result.

Applies to

Product Versions
ASP.NET Core 5.0, 6.0, 7.0, 8.0, 9.0