Class PermissionManagementProvider
Inheritance
System.Object
PermissionManagementProvider
Implements
ISingletonDependency
Assembly: Volo.Abp.PermissionManagement.Domain.dll
Syntax
public abstract class PermissionManagementProvider : object, IPermissionManagementProvider, ISingletonDependency
Constructors
PermissionManagementProvider(IPermissionGrantRepository, IGuidGenerator, ICurrentTenant)
Declaration
protected PermissionManagementProvider(IPermissionGrantRepository permissionGrantRepository, IGuidGenerator guidGenerator, ICurrentTenant currentTenant)
Parameters
Type |
Name |
Description |
IPermissionGrantRepository |
permissionGrantRepository |
|
IGuidGenerator |
guidGenerator |
|
ICurrentTenant |
currentTenant |
|
Properties
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type |
Description |
ICurrentTenant |
|
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type |
Description |
IGuidGenerator |
|
Name
Declaration
public abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
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
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
GrantAsync(String, String)
Declaration
protected virtual Task GrantAsync(string name, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerKey |
|
Returns
RevokeAsync(String, String)
Declaration
protected virtual Task RevokeAsync(string name, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerKey |
|
Returns
SetAsync(String, String, Boolean)
Declaration
public virtual Task SetAsync(string name, string providerKey, bool isGranted)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerKey |
|
System.Boolean |
isGranted |
|
Returns
Implements
ISingletonDependency
Extension Methods