DefaultAuthorizationEvaluator.HasSucceeded 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果授權成功,則傳回 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。