Show / Hide Table of Contents

Class IdentityRoleManager

Inheritance
object
RoleManager<IdentityRole>
IdentityRoleManager
Implements
IDisposable
IDomainService
ITransientDependency
Inherited Members
RoleManager<IdentityRole>.CreateAsync(IdentityRole)
RoleManager<IdentityRole>.UpdateNormalizedRoleNameAsync(IdentityRole)
RoleManager<IdentityRole>.UpdateAsync(IdentityRole)
RoleManager<IdentityRole>.RoleExistsAsync(string)
RoleManager<IdentityRole>.NormalizeKey(string)
RoleManager<IdentityRole>.FindByIdAsync(string)
RoleManager<IdentityRole>.GetRoleNameAsync(IdentityRole)
RoleManager<IdentityRole>.GetRoleIdAsync(IdentityRole)
RoleManager<IdentityRole>.FindByNameAsync(string)
RoleManager<IdentityRole>.AddClaimAsync(IdentityRole, Claim)
RoleManager<IdentityRole>.RemoveClaimAsync(IdentityRole, Claim)
RoleManager<IdentityRole>.GetClaimsAsync(IdentityRole)
RoleManager<IdentityRole>.Dispose()
RoleManager<IdentityRole>.Dispose(bool)
RoleManager<IdentityRole>.ValidateRoleAsync(IdentityRole)
RoleManager<IdentityRole>.UpdateRoleAsync(IdentityRole)
RoleManager<IdentityRole>.ThrowIfDisposed()
RoleManager<IdentityRole>.Store
RoleManager<IdentityRole>.Logger
RoleManager<IdentityRole>.RoleValidators
RoleManager<IdentityRole>.ErrorDescriber
RoleManager<IdentityRole>.KeyNormalizer
RoleManager<IdentityRole>.Roles
RoleManager<IdentityRole>.SupportsQueryableRoles
RoleManager<IdentityRole>.SupportsRoleClaims
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class IdentityRoleManager : RoleManager<IdentityRole>, IDisposable, IDomainService, ITransientDependency

Constructors

IdentityRoleManager(IdentityRoleStore, IEnumerable<IRoleValidator<IdentityRole>>, ILookupNormalizer, IdentityErrorDescriber, ILogger<IdentityRoleManager>, IStringLocalizer<IdentityResource>, ICancellationTokenProvider, IIdentityUserRepository, IOrganizationUnitRepository, OrganizationUnitManager, IDistributedCache<AbpDynamicClaimCacheItem>)

Declaration
public IdentityRoleManager(IdentityRoleStore store, IEnumerable<IRoleValidator<IdentityRole>> roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger<IdentityRoleManager> logger, IStringLocalizer<IdentityResource> localizer, ICancellationTokenProvider cancellationTokenProvider, IIdentityUserRepository userRepository, IOrganizationUnitRepository organizationUnitRepository, OrganizationUnitManager organizationUnitManager, IDistributedCache<AbpDynamicClaimCacheItem> dynamicClaimCache)
Parameters
Type Name Description
IdentityRoleStore store
IEnumerable<IRoleValidator<IdentityRole>> roleValidators
ILookupNormalizer keyNormalizer
IdentityErrorDescriber errors
ILogger<IdentityRoleManager> logger
IStringLocalizer<IdentityResource> localizer
ICancellationTokenProvider cancellationTokenProvider
IIdentityUserRepository userRepository
IOrganizationUnitRepository organizationUnitRepository
OrganizationUnitManager organizationUnitManager
IDistributedCache<AbpDynamicClaimCacheItem> dynamicClaimCache

Properties

CancellationToken

Declaration
protected override CancellationToken CancellationToken { get; }
Property Value
Type Description
CancellationToken
Overrides
RoleManager<IdentityRole>.CancellationToken

CancellationTokenProvider

Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type Description
ICancellationTokenProvider

DynamicClaimCache

Declaration
protected IDistributedCache<AbpDynamicClaimCacheItem> DynamicClaimCache { get; }
Property Value
Type Description
IDistributedCache<AbpDynamicClaimCacheItem>

Localizer

Declaration
protected IStringLocalizer<IdentityResource> Localizer { get; }
Property Value
Type Description
IStringLocalizer<IdentityResource>

OrganizationUnitManager

Declaration
protected OrganizationUnitManager OrganizationUnitManager { get; }
Property Value
Type Description
OrganizationUnitManager

OrganizationUnitRepository

Declaration
protected IOrganizationUnitRepository OrganizationUnitRepository { get; }
Property Value
Type Description
IOrganizationUnitRepository

UserRepository

Declaration
protected IIdentityUserRepository UserRepository { get; }
Property Value
Type Description
IIdentityUserRepository

Methods

DeleteAsync(IdentityRole)

Declaration
public override Task<IdentityResult> DeleteAsync(IdentityRole role)
Parameters
Type Name Description
IdentityRole role
Returns
Type Description
Task<IdentityResult>
Overrides
RoleManager<IdentityRole>.DeleteAsync(IdentityRole)

GetByIdAsync(Guid)

Declaration
public virtual Task<IdentityRole> GetByIdAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<IdentityRole>

SetRoleNameAsync(IdentityRole, string)

Declaration
public override Task<IdentityResult> SetRoleNameAsync(IdentityRole role, string name)
Parameters
Type Name Description
IdentityRole role
string name
Returns
Type Description
Task<IdentityResult>
Overrides
RoleManager<IdentityRole>.SetRoleNameAsync(IdentityRole, string)

Implements

IDisposable
IDomainService
ITransientDependency

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