Class PermissionManagementProvider
Inheritance
PermissionManagementProvider
Assembly: Volo.Abp.PermissionManagement.Domain.dll
Syntax
public abstract class PermissionManagementProvider : IPermissionManagementProvider, ISingletonDependency
Constructors
PermissionManagementProvider(IPermissionGrantRepository, IGuidGenerator, ICurrentTenant)
Declaration
protected PermissionManagementProvider(IPermissionGrantRepository permissionGrantRepository, IGuidGenerator guidGenerator, ICurrentTenant currentTenant)
Parameters
Properties
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Name
Declaration
public abstract string Name { get; }
Property Value
PermissionGrantRepository
Declaration
protected IPermissionGrantRepository PermissionGrantRepository { get; }
Property Value
Methods
CheckAsync(string, string, string)
Declaration
public virtual Task<PermissionValueProviderGrantInfo> CheckAsync(string name, string providerName, string providerKey)
Parameters
Returns
CheckAsync(string[], string, string)
Declaration
public virtual Task<MultiplePermissionValueProviderGrantInfo> CheckAsync(string[] names, string providerName, string providerKey)
Parameters
Returns
GrantAsync(string, string)
Declaration
protected virtual Task GrantAsync(string name, string providerKey)
Parameters
Returns
RevokeAsync(string, string)
Declaration
protected virtual Task RevokeAsync(string name, string providerKey)
Parameters
Returns
SetAsync(string, string, bool)
Declaration
public virtual Task SetAsync(string name, string providerKey, bool isGranted)
Parameters
Returns
Implements
Extension Methods