AuthorizationServiceExtensions 类

定义

IAuthorizationService 的扩展方法。

public ref class AuthorizationServiceExtensions abstract sealed
public static class AuthorizationServiceExtensions
type AuthorizationServiceExtensions = class
Public Module AuthorizationServiceExtensions
继承
AuthorizationServiceExtensions

方法

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, AuthorizationPolicy)

检查用户是否满足针对指定资源的特定授权策略。

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, AuthorizationPolicy)

检查用户是否满足针对指定资源的特定授权策略。

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, IAuthorizationRequirement)

检查用户是否满足指定资源的特定要求

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, String)

检查用户是否满足针对指定资源的特定授权策略。

适用于