DefaultAuthorizationEvaluator.HasSucceeded 方法

定义

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

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

参数

context
AuthorizationHandlerContext

授权信息。

返回

如果授权成功,则为 True。

实现

适用于