IAuthorizationEvaluator.Evaluate(AuthorizationHandlerContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定授权结果是否成功。
public:
Microsoft::AspNetCore::Authorization::AuthorizationResult ^ Evaluate(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member Evaluate : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> Microsoft.AspNetCore.Authorization.AuthorizationResult
Public Function Evaluate (context As AuthorizationHandlerContext) As AuthorizationResult
参数
- context
- AuthorizationHandlerContext
授权信息。