Class IdentityRoleManager
Inheritance
System.Object
IdentityRoleManager
Implements
ITransientDependency
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class IdentityRoleManager : RoleManager<IdentityRole>, IDomainService, ITransientDependency
Constructors
IdentityRoleManager(IdentityRoleStore, IEnumerable<IRoleValidator<IdentityRole>>, ILookupNormalizer, IdentityErrorDescriber, ILogger<IdentityRoleManager>, IStringLocalizer<IdentityResource>, ICancellationTokenProvider)
Declaration
public IdentityRoleManager(IdentityRoleStore store, IEnumerable<IRoleValidator<IdentityRole>> roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger<IdentityRoleManager> logger, IStringLocalizer<IdentityResource> localizer, ICancellationTokenProvider cancellationTokenProvider)
Parameters
Properties
CancellationToken
Declaration
protected override CancellationToken CancellationToken { get; }
Property Value
Type |
Description |
CancellationToken |
|
CancellationTokenProvider
Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type |
Description |
ICancellationTokenProvider |
|
Localizer
Declaration
protected IStringLocalizer<IdentityResource> Localizer { get; }
Property Value
Methods
DeleteAsync(IdentityRole)
Declaration
public override Task<IdentityResult> DeleteAsync(IdentityRole role)
Parameters
Returns
Type |
Description |
Task<IdentityResult> |
|
GetByIdAsync(Guid)
Declaration
public virtual Task<IdentityRole> GetByIdAsync(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
SetRoleNameAsync(IdentityRole, String)
Declaration
public override Task<IdentityResult> SetRoleNameAsync(IdentityRole role, string name)
Parameters
Returns
Type |
Description |
Task<IdentityResult> |
|
Implements
ITransientDependency
Extension Methods