IAuthorizationEvaluator.HasSucceeded(AuthorizationHandlerContext) 方法

定义

如果授权成功,则返回 true。

public:
 bool HasSucceeded(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public bool HasSucceeded (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HasSucceeded : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> bool
Public Function HasSucceeded (context As AuthorizationHandlerContext) As Boolean

参数

context
AuthorizationHandlerContext

授权信息。

返回

如果授权成功,则为 True。

适用于