24 changed files with 6576 additions and 8 deletions
@ -0,0 +1,65 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using LINGYUN.Abp.Identity; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityClaimTypeAppService), typeof(IdentityClaimTypeClientProxy))] |
|||
public partial class IdentityClaimTypeClientProxy : ClientProxyBase<IIdentityClaimTypeAppService>, IIdentityClaimTypeAppService |
|||
{ |
|||
public virtual async Task<IdentityClaimTypeDto> CreateAsync(IdentityClaimTypeCreateDto input) |
|||
{ |
|||
return await RequestAsync<IdentityClaimTypeDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(IdentityClaimTypeCreateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task DeleteAsync(Guid id) |
|||
{ |
|||
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<IdentityClaimTypeDto>> GetAllListAsync() |
|||
{ |
|||
return await RequestAsync<ListResultDto<IdentityClaimTypeDto>>(nameof(GetAllListAsync)); |
|||
} |
|||
|
|||
public virtual async Task<IdentityClaimTypeDto> GetAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<IdentityClaimTypeDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityClaimTypeDto>> GetListAsync(IdentityClaimTypeGetByPagedDto input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityClaimTypeDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(IdentityClaimTypeGetByPagedDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityClaimTypeDto> UpdateAsync(Guid id, IdentityClaimTypeUpdateDto input) |
|||
{ |
|||
return await RequestAsync<IdentityClaimTypeDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityClaimTypeUpdateDto), input } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityClaimTypeClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
public partial class IdentityClaimTypeClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,80 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using LINGYUN.Abp.Identity; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityRoleAppService), typeof(IdentityRoleClientProxy))] |
|||
public partial class IdentityRoleClientProxy : ClientProxyBase<IIdentityRoleAppService>, IIdentityRoleAppService |
|||
{ |
|||
public virtual async Task<ListResultDto<OrganizationUnitDto>> GetOrganizationUnitsAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<ListResultDto<OrganizationUnitDto>>(nameof(GetOrganizationUnitsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task SetOrganizationUnitsAsync(Guid id, IdentityRoleAddOrRemoveOrganizationUnitDto input) |
|||
{ |
|||
await RequestAsync(nameof(SetOrganizationUnitsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityRoleAddOrRemoveOrganizationUnitDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task RemoveOrganizationUnitsAsync(Guid id, Guid ouId) |
|||
{ |
|||
await RequestAsync(nameof(RemoveOrganizationUnitsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(Guid), ouId } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<IdentityClaimDto>> GetClaimsAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<ListResultDto<IdentityClaimDto>>(nameof(GetClaimsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task AddClaimAsync(Guid id, IdentityRoleClaimCreateDto input) |
|||
{ |
|||
await RequestAsync(nameof(AddClaimAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityRoleClaimCreateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task UpdateClaimAsync(Guid id, IdentityRoleClaimUpdateDto input) |
|||
{ |
|||
await RequestAsync(nameof(UpdateClaimAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityRoleClaimUpdateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task DeleteClaimAsync(Guid id, IdentityRoleClaimDeleteDto input) |
|||
{ |
|||
await RequestAsync(nameof(DeleteClaimAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityRoleClaimDeleteDto), input } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityRoleClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
public partial class IdentityRoleClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,35 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using LINGYUN.Abp.Identity; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentitySessionAppService), typeof(IdentitySessionClientProxy))] |
|||
public partial class IdentitySessionClientProxy : ClientProxyBase<IIdentitySessionAppService>, IIdentitySessionAppService |
|||
{ |
|||
public virtual async Task<PagedResultDto<IdentitySessionDto>> GetSessionsAsync(GetUserSessionsInput input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentitySessionDto>>(nameof(GetSessionsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(GetUserSessionsInput), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task RevokeSessionAsync(string sessionId) |
|||
{ |
|||
await RequestAsync(nameof(RevokeSessionAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(string), sessionId } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentitySessionClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
public partial class IdentitySessionClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,115 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using LINGYUN.Abp.Identity; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityUserAppService), typeof(IdentityUserClientProxy))] |
|||
public partial class IdentityUserClientProxy : ClientProxyBase<IIdentityUserAppService>, IIdentityUserAppService |
|||
{ |
|||
public virtual async Task<ListResultDto<OrganizationUnitDto>> GetOrganizationUnitsAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<ListResultDto<OrganizationUnitDto>>(nameof(GetOrganizationUnitsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task SetOrganizationUnitsAsync(Guid id, IdentityUserOrganizationUnitUpdateDto input) |
|||
{ |
|||
await RequestAsync(nameof(SetOrganizationUnitsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserOrganizationUnitUpdateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task RemoveOrganizationUnitsAsync(Guid id, Guid ouId) |
|||
{ |
|||
await RequestAsync(nameof(RemoveOrganizationUnitsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(Guid), ouId } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<IdentityClaimDto>> GetClaimsAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<ListResultDto<IdentityClaimDto>>(nameof(GetClaimsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task AddClaimAsync(Guid id, IdentityUserClaimCreateDto input) |
|||
{ |
|||
await RequestAsync(nameof(AddClaimAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserClaimCreateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task UpdateClaimAsync(Guid id, IdentityUserClaimUpdateDto input) |
|||
{ |
|||
await RequestAsync(nameof(UpdateClaimAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserClaimUpdateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task DeleteClaimAsync(Guid id, IdentityUserClaimDeleteDto input) |
|||
{ |
|||
await RequestAsync(nameof(DeleteClaimAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserClaimDeleteDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task ChangePasswordAsync(Guid id, IdentityUserSetPasswordInput input) |
|||
{ |
|||
await RequestAsync(nameof(ChangePasswordAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserSetPasswordInput), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task ChangeTwoFactorEnabledAsync(Guid id, TwoFactorEnabledDto input) |
|||
{ |
|||
await RequestAsync(nameof(ChangeTwoFactorEnabledAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(TwoFactorEnabledDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task LockAsync(Guid id, int seconds) |
|||
{ |
|||
await RequestAsync(nameof(LockAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(int), seconds } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task UnLockAsync(Guid id) |
|||
{ |
|||
await RequestAsync(nameof(UnLockAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityUserClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
public partial class IdentityUserClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,158 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using LINGYUN.Abp.Identity; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
using Volo.Abp.Identity; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IOrganizationUnitAppService), typeof(OrganizationUnitClientProxy))] |
|||
public partial class OrganizationUnitClientProxy : ClientProxyBase<IOrganizationUnitAppService>, IOrganizationUnitAppService |
|||
{ |
|||
public virtual async Task<OrganizationUnitDto> CreateAsync(OrganizationUnitCreateDto input) |
|||
{ |
|||
return await RequestAsync<OrganizationUnitDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(OrganizationUnitCreateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task DeleteAsync(Guid id) |
|||
{ |
|||
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<OrganizationUnitDto>> FindChildrenAsync(OrganizationUnitGetChildrenDto input) |
|||
{ |
|||
return await RequestAsync<ListResultDto<OrganizationUnitDto>>(nameof(FindChildrenAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(OrganizationUnitGetChildrenDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<OrganizationUnitDto> GetAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<OrganizationUnitDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<OrganizationUnitDto>> GetRootAsync() |
|||
{ |
|||
return await RequestAsync<ListResultDto<OrganizationUnitDto>>(nameof(GetRootAsync)); |
|||
} |
|||
|
|||
public virtual async Task<OrganizationUnitDto> GetLastChildOrNullAsync(Guid? parentId) |
|||
{ |
|||
return await RequestAsync<OrganizationUnitDto>(nameof(GetLastChildOrNullAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid?), parentId } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<OrganizationUnitDto>> GetAllListAsync() |
|||
{ |
|||
return await RequestAsync<ListResultDto<OrganizationUnitDto>>(nameof(GetAllListAsync)); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<OrganizationUnitDto>> GetListAsync(OrganizationUnitGetByPagedDto input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<OrganizationUnitDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(OrganizationUnitGetByPagedDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<String>> GetRoleNamesAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<ListResultDto<String>>(nameof(GetRoleNamesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityRoleDto>> GetUnaddedRolesAsync(Guid id, OrganizationUnitGetUnaddedRoleByPagedDto input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityRoleDto>>(nameof(GetUnaddedRolesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(OrganizationUnitGetUnaddedRoleByPagedDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityRoleDto>> GetRolesAsync(Guid id, PagedAndSortedResultRequestDto input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityRoleDto>>(nameof(GetRolesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(PagedAndSortedResultRequestDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityUserDto>> GetUnaddedUsersAsync(Guid id, OrganizationUnitGetUnaddedUserByPagedDto input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityUserDto>>(nameof(GetUnaddedUsersAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(OrganizationUnitGetUnaddedUserByPagedDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityUserDto>> GetUsersAsync(Guid id, GetIdentityUsersInput input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityUserDto>>(nameof(GetUsersAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(GetIdentityUsersInput), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task AddUsersAsync(Guid id, OrganizationUnitAddUserDto input) |
|||
{ |
|||
await RequestAsync(nameof(AddUsersAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(OrganizationUnitAddUserDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task AddRolesAsync(Guid id, OrganizationUnitAddRoleDto input) |
|||
{ |
|||
await RequestAsync(nameof(AddRolesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(OrganizationUnitAddRoleDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task MoveAsync(Guid id, OrganizationUnitMoveDto input) |
|||
{ |
|||
await RequestAsync(nameof(MoveAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(OrganizationUnitMoveDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<OrganizationUnitDto> UpdateAsync(Guid id, OrganizationUnitUpdateDto input) |
|||
{ |
|||
return await RequestAsync<OrganizationUnitDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(OrganizationUnitUpdateDto), input } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of OrganizationUnitClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace LINGYUN.Abp.Identity; |
|||
|
|||
public partial class OrganizationUnitClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,65 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
using Volo.Abp.Identity; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityRoleAppService), typeof(IdentityRoleClientProxy))] |
|||
public partial class IdentityRoleClientProxy : ClientProxyBase<IIdentityRoleAppService>, IIdentityRoleAppService |
|||
{ |
|||
public virtual async Task<ListResultDto<IdentityRoleDto>> GetAllListAsync() |
|||
{ |
|||
return await RequestAsync<ListResultDto<IdentityRoleDto>>(nameof(GetAllListAsync)); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityRoleDto>> GetListAsync(GetIdentityRolesInput input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityRoleDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(GetIdentityRolesInput), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityRoleDto> GetAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<IdentityRoleDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityRoleDto> CreateAsync(IdentityRoleCreateDto input) |
|||
{ |
|||
return await RequestAsync<IdentityRoleDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(IdentityRoleCreateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityRoleDto> UpdateAsync(Guid id, IdentityRoleUpdateDto input) |
|||
{ |
|||
return await RequestAsync<IdentityRoleDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityRoleUpdateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task DeleteAsync(Guid id) |
|||
{ |
|||
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityRoleClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity; |
|||
|
|||
public partial class IdentityRoleClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,106 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
using Volo.Abp.Identity; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityUserAppService), typeof(IdentityUserClientProxy))] |
|||
public partial class IdentityUserClientProxy : ClientProxyBase<IIdentityUserAppService>, IIdentityUserAppService |
|||
{ |
|||
public virtual async Task<IdentityUserDto> GetAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<IdentityUserDto>(nameof(GetAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<PagedResultDto<IdentityUserDto>> GetListAsync(GetIdentityUsersInput input) |
|||
{ |
|||
return await RequestAsync<PagedResultDto<IdentityUserDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(GetIdentityUsersInput), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityUserDto> CreateAsync(IdentityUserCreateDto input) |
|||
{ |
|||
return await RequestAsync<IdentityUserDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(IdentityUserCreateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityUserDto> UpdateAsync(Guid id, IdentityUserUpdateDto input) |
|||
{ |
|||
return await RequestAsync<IdentityUserDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserUpdateDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task DeleteAsync(Guid id) |
|||
{ |
|||
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityUserDto> FindByIdAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<IdentityUserDto>(nameof(FindByIdAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<IdentityRoleDto>> GetRolesAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<ListResultDto<IdentityRoleDto>>(nameof(GetRolesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<IdentityRoleDto>> GetAssignableRolesAsync() |
|||
{ |
|||
return await RequestAsync<ListResultDto<IdentityRoleDto>>(nameof(GetAssignableRolesAsync)); |
|||
} |
|||
|
|||
public virtual async Task UpdateRolesAsync(Guid id, IdentityUserUpdateRolesDto input) |
|||
{ |
|||
await RequestAsync(nameof(UpdateRolesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id }, |
|||
{ typeof(IdentityUserUpdateRolesDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityUserDto> FindByUsernameAsync(string userName) |
|||
{ |
|||
return await RequestAsync<IdentityUserDto>(nameof(FindByUsernameAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(string), userName } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<IdentityUserDto> FindByEmailAsync(string email) |
|||
{ |
|||
return await RequestAsync<IdentityUserDto>(nameof(FindByEmailAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(string), email } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityUserClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity; |
|||
|
|||
public partial class IdentityUserClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,53 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
using Volo.Abp.Identity; |
|||
using Volo.Abp.Users; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityUserLookupAppService), typeof(IdentityUserLookupClientProxy))] |
|||
[Obsolete("Use IIdentityUserIntegrationService for module-to-module (or service-to-service) communication.")] |
|||
public partial class IdentityUserLookupClientProxy : ClientProxyBase<IIdentityUserLookupAppService>, IIdentityUserLookupAppService |
|||
{ |
|||
public virtual async Task<UserData> FindByIdAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<UserData>(nameof(FindByIdAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<UserData> FindByUserNameAsync(string userName) |
|||
{ |
|||
return await RequestAsync<UserData>(nameof(FindByUserNameAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(string), userName } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<UserData>> SearchAsync(UserLookupSearchInputDto input) |
|||
{ |
|||
return await RequestAsync<ListResultDto<UserData>>(nameof(SearchAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(UserLookupSearchInputDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<long> GetCountAsync(UserLookupCountInputDto input) |
|||
{ |
|||
return await RequestAsync<long>(nameof(GetCountAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(UserLookupCountInputDto), input } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityUserLookupClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity; |
|||
|
|||
public partial class IdentityUserLookupClientProxy |
|||
{ |
|||
} |
|||
@ -0,0 +1,94 @@ |
|||
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Http.Client; |
|||
using Volo.Abp.Http.Client.ClientProxying; |
|||
using Volo.Abp.Http.Modeling; |
|||
using Volo.Abp.Identity; |
|||
using Volo.Abp.Identity.Integration; |
|||
using Volo.Abp.Users; |
|||
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity.Integration; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
[ExposeServices(typeof(IIdentityUserIntegrationService), typeof(IdentityUserIntegrationClientProxy))] |
|||
[IntegrationService] |
|||
public partial class IdentityUserIntegrationClientProxy : ClientProxyBase<IIdentityUserIntegrationService>, IIdentityUserIntegrationService |
|||
{ |
|||
public virtual async Task<String[]> GetRoleNamesAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<String[]>(nameof(GetRoleNamesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<UserData> FindByIdAsync(Guid id) |
|||
{ |
|||
return await RequestAsync<UserData>(nameof(FindByIdAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid), id } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<UserData> FindByUserNameAsync(string userName) |
|||
{ |
|||
return await RequestAsync<UserData>(nameof(FindByUserNameAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(string), userName } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<UserData>> SearchAsync(UserLookupSearchInputDto input) |
|||
{ |
|||
return await RequestAsync<ListResultDto<UserData>>(nameof(SearchAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(UserLookupSearchInputDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<UserData>> SearchByIdsAsync(Guid[] ids) |
|||
{ |
|||
return await RequestAsync<ListResultDto<UserData>>(nameof(SearchByIdsAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(Guid[]), ids } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<long> GetCountAsync(UserLookupCountInputDto input) |
|||
{ |
|||
return await RequestAsync<long>(nameof(GetCountAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(UserLookupCountInputDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<RoleData>> SearchRoleAsync(RoleLookupSearchInputDto input) |
|||
{ |
|||
return await RequestAsync<ListResultDto<RoleData>>(nameof(SearchRoleAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(RoleLookupSearchInputDto), input } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<ListResultDto<RoleData>> SearchRoleByNamesAsync(String[] names) |
|||
{ |
|||
return await RequestAsync<ListResultDto<RoleData>>(nameof(SearchRoleByNamesAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(String[]), names } |
|||
}); |
|||
} |
|||
|
|||
public virtual async Task<long> GetRoleCountAsync(RoleLookupCountInputDto input) |
|||
{ |
|||
return await RequestAsync<long>(nameof(GetRoleCountAsync), new ClientProxyRequestTypeValue |
|||
{ |
|||
{ typeof(RoleLookupCountInputDto), input } |
|||
}); |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
// This file is part of IdentityUserIntegrationClientProxy, you can customize it here
|
|||
// ReSharper disable once CheckNamespace
|
|||
namespace Volo.Abp.Identity.Integration; |
|||
|
|||
public partial class IdentityUserIntegrationClientProxy |
|||
{ |
|||
} |
|||
File diff suppressed because it is too large
Loading…
Reference in new issue