Show / Hide Table of Contents

Class PermissionManagementProvider

Inheritance
object
PermissionManagementProvider
RolePermissionManagementProvider
UserPermissionManagementProvider
ClientPermissionManagementProvider
ApplicationPermissionManagementProvider
TestPermissionManagementProvider
Implements
IPermissionManagementProvider
ISingletonDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.PermissionManagement
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
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
string

PermissionGrantRepository

Declaration
protected IPermissionGrantRepository PermissionGrantRepository { get; }
Property Value
Type Description
IPermissionGrantRepository

Methods

CheckAsync(string, string, string)

Declaration
public virtual Task<PermissionValueProviderGrantInfo> CheckAsync(string name, string providerName, string providerKey)
Parameters
Type Name Description
string name
string providerName
string providerKey
Returns
Type Description
Task<PermissionValueProviderGrantInfo>

CheckAsync(string[], string, string)

Declaration
public virtual Task<MultiplePermissionValueProviderGrantInfo> CheckAsync(string[] names, string providerName, string providerKey)
Parameters
Type Name Description
string[] names
string providerName
string providerKey
Returns
Type Description
Task<MultiplePermissionValueProviderGrantInfo>

GrantAsync(string, string)

Declaration
protected virtual Task GrantAsync(string name, string providerKey)
Parameters
Type Name Description
string name
string providerKey
Returns
Type Description
Task

RevokeAsync(string, string)

Declaration
protected virtual Task RevokeAsync(string name, string providerKey)
Parameters
Type Name Description
string name
string providerKey
Returns
Type Description
Task

SetAsync(string, string, bool)

Declaration
public virtual Task SetAsync(string name, string providerKey, bool isGranted)
Parameters
Type Name Description
string name
string providerKey
bool isGranted
Returns
Type Description
Task

Implements

IPermissionManagementProvider
ISingletonDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform