Class IdentityRoleClientProxy
Implements
ICrudAppService<IdentityRoleDto, Guid, GetIdentityRolesInput, IdentityRoleCreateDto, IdentityRoleUpdateDto>
Inherited Members
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.HttpApi.Client.dll
Syntax
[Dependency(ReplaceServices = true)]
[ExposeServices(new Type[] { typeof(IIdentityRoleAppService), typeof(IdentityRoleClientProxy) })]
public class IdentityRoleClientProxy : ClientProxyBase<IIdentityRoleAppService>, ITransientDependency, IIdentityRoleAppService, ICrudAppService<IdentityRoleDto, Guid, GetIdentityRolesInput, IdentityRoleCreateDto, IdentityRoleUpdateDto>, ICrudAppService<IdentityRoleDto, IdentityRoleDto, Guid, GetIdentityRolesInput, IdentityRoleCreateDto, IdentityRoleUpdateDto>, IReadOnlyAppService<IdentityRoleDto, IdentityRoleDto, Guid, GetIdentityRolesInput>, ICreateUpdateAppService<IdentityRoleDto, Guid, IdentityRoleCreateDto, IdentityRoleUpdateDto>, ICreateAppService<IdentityRoleDto, IdentityRoleCreateDto>, IUpdateAppService<IdentityRoleDto, Guid, IdentityRoleUpdateDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
IdentityRoleClientProxy()
Declaration
public IdentityRoleClientProxy()
Methods
CreateAsync(IdentityRoleCreateDto)
Declaration
public virtual Task<IdentityRoleDto> CreateAsync(IdentityRoleCreateDto input)
Parameters
Type | Name | Description |
---|---|---|
IdentityRoleCreateDto | input |
Returns
Type | Description |
---|---|
Task<IdentityRoleDto> |
DeleteAsync(Guid)
Declaration
public virtual Task DeleteAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
GetAllClaimTypesAsync()
Declaration
public virtual Task<List<ClaimTypeDto>> GetAllClaimTypesAsync()
Returns
Type | Description |
---|---|
Task<List<ClaimTypeDto>> |
GetAllListAsync()
Declaration
public virtual Task<ListResultDto<IdentityRoleDto>> GetAllListAsync()
Returns
Type | Description |
---|---|
Task<ListResultDto<IdentityRoleDto>> |
GetAsync(Guid)
Declaration
public virtual Task<IdentityRoleDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<IdentityRoleDto> |
GetClaimsAsync(Guid)
Declaration
public virtual Task<List<IdentityRoleClaimDto>> GetClaimsAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<List<IdentityRoleClaimDto>> |
GetListAsync(GetIdentityRoleListInput)
Declaration
public virtual Task<PagedResultDto<IdentityRoleDto>> GetListAsync(GetIdentityRoleListInput input)
Parameters
Type | Name | Description |
---|---|---|
GetIdentityRoleListInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<IdentityRoleDto>> |
GetListAsync(GetIdentityRolesInput)
Declaration
public virtual Task<PagedResultDto<IdentityRoleDto>> GetListAsync(GetIdentityRolesInput input)
Parameters
Type | Name | Description |
---|---|---|
GetIdentityRolesInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<IdentityRoleDto>> |
MoveAllUsersAsync(Guid, Guid?)
Declaration
public virtual Task MoveAllUsersAsync(Guid id, Guid? roleId)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
Guid? | roleId |
Returns
Type | Description |
---|---|
Task |
UpdateAsync(Guid, IdentityRoleUpdateDto)
Declaration
public virtual Task<IdentityRoleDto> UpdateAsync(Guid id, IdentityRoleUpdateDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
IdentityRoleUpdateDto | input |
Returns
Type | Description |
---|---|
Task<IdentityRoleDto> |
UpdateClaimsAsync(Guid, List<IdentityRoleClaimDto>)
Declaration
public virtual Task UpdateClaimsAsync(Guid id, List<IdentityRoleClaimDto> input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
List<IdentityRoleClaimDto> | input |
Returns
Type | Description |
---|---|
Task |