IAuthorizationService 接口

定义

检查用户的基于策略的权限

public interface class IAuthorizationService
public interface IAuthorizationService
type IAuthorizationService = interface
Public Interface IAuthorizationService
派生

方法

AuthorizeAsync(ClaimsPrincipal, Object, IEnumerable<IAuthorizationRequirement>)

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

AuthorizeAsync(ClaimsPrincipal, Object, String)

检查用户是否符合特定授权策略

扩展方法

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, AuthorizationPolicy)

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

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, AuthorizationPolicy)

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

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, IAuthorizationRequirement)

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

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, String)

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

适用于