You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
904 B
33 lines
904 B
using Sanhe.Abp.Identity.Dto; |
|
using System; |
|
using System.Threading.Tasks; |
|
using Volo.Abp.Application.Dtos; |
|
using Volo.Abp.Application.Services; |
|
|
|
namespace Sanhe.Abp.Identity |
|
{ |
|
public interface IIdentityRoleAppService : IApplicationService |
|
{ |
|
#region OrganizationUnit |
|
|
|
Task<ListResultDto<OrganizationUnitDto>> GetOrganizationUnitsAsync(Guid id); |
|
|
|
Task SetOrganizationUnitsAsync(Guid id, IdentityRoleAddOrRemoveOrganizationUnitDto input); |
|
|
|
Task RemoveOrganizationUnitsAsync(Guid id, Guid ouId); |
|
|
|
#endregion |
|
|
|
#region ClaimType |
|
|
|
Task<ListResultDto<IdentityClaimDto>> GetClaimsAsync(Guid id); |
|
|
|
Task AddClaimAsync(Guid id, IdentityRoleClaimCreateDto input); |
|
|
|
Task UpdateClaimAsync(Guid id, IdentityRoleClaimUpdateDto input); |
|
|
|
Task DeleteClaimAsync(Guid id, IdentityRoleClaimDeleteDto input); |
|
|
|
#endregion |
|
} |
|
}
|
|
|