共用方式為


IAuthorizationMiddlewareResultHandler 介面

定義

允許自訂的授權處理和授權回應的處理。

public interface class IAuthorizationMiddlewareResultHandler
public interface IAuthorizationMiddlewareResultHandler
type IAuthorizationMiddlewareResultHandler = interface
Public Interface IAuthorizationMiddlewareResultHandler
衍生

方法

HandleAsync(RequestDelegate, HttpContext, AuthorizationPolicy, PolicyAuthorizationResult)

評估授權需求,並處理授權結果。

適用於