Class RequirePermissionsSimpleStateChecker<TState>
Inheritance
RequirePermissionsSimpleStateChecker<TState>
Assembly: Volo.Abp.Authorization.dll
Syntax
public class RequirePermissionsSimpleStateChecker<TState> : ISimpleStateChecker<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Constructors
RequirePermissionsSimpleStateChecker(RequirePermissionsSimpleBatchStateCheckerModel<TState>)
Declaration
public RequirePermissionsSimpleStateChecker(RequirePermissionsSimpleBatchStateCheckerModel<TState> model)
Parameters
Properties
PermissionNames
Declaration
public string[] PermissionNames { get; }
Property Value
RequiresAll
Declaration
public bool RequiresAll { get; }
Property Value
Methods
IsEnabledAsync(SimpleStateCheckerContext<TState>)
Declaration
public Task<bool> IsEnabledAsync(SimpleStateCheckerContext<TState> context)
Parameters
Returns
Implements
Extension Methods