From 2854411ea56b850e059402aa1214b54e757052b4 Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 3 Mar 2025 21:05:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(account):=20=E5=A2=9E=E5=8A=A0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Account/AccountClientProxy.Generated.cs | 83 + .../LINGYUN/Abp/Account/AccountClientProxy.cs | 7 + .../Account/MyClaimClientProxy.Generated.cs | 43 + .../LINGYUN/Abp/Account/MyClaimClientProxy.cs | 7 + .../Account/MyProfileClientProxy.Generated.cs | 99 + .../Abp/Account/MyProfileClientProxy.cs | 7 + .../MySecurityLogClientProxy.Generated.cs | 43 + .../Abp/Account/MySecurityLogClientProxy.cs | 7 + .../Account/AccountClientProxy.Generated.cs | 52 + .../Volo/Abp/Account/AccountClientProxy.cs | 7 + .../DynamicClaimsClientProxy.Generated.cs | 24 + .../Abp/Account/DynamicClaimsClientProxy.cs | 7 + .../Account/ProfileClientProxy.Generated.cs | 40 + .../Volo/Abp/Account/ProfileClientProxy.cs | 7 + .../ClientProxies/account-generate-proxy.json | 1883 +++++++++++++++++ .../FodyWeavers.xml | 3 + .../FodyWeavers.xsd | 30 + .../LINGYUN.Abp.Account.HttpApi.Client.csproj | 32 + .../Account/AbpAccountHttpApiClientModule.cs | 25 + 19 files changed, 2406 insertions(+) create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.Generated.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.cs create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/account-generate-proxy.json create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xml create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xsd create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN.Abp.Account.HttpApi.Client.csproj create mode 100644 aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN/Abp/Account/AbpAccountHttpApiClientModule.cs diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.Generated.cs new file mode 100644 index 000000000..38e581818 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.Generated.cs @@ -0,0 +1,83 @@ +// This file is automatically generated by ABP framework to use MVC Controllers from CSharp +using LINGYUN.Abp.Account; +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.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IAccountAppService), typeof(AccountClientProxy))] +public partial class AccountClientProxy : ClientProxyBase, IAccountAppService +{ + public virtual async Task RegisterAsync(WeChatRegisterDto input) + { + await RequestAsync(nameof(RegisterAsync), new ClientProxyRequestTypeValue + { + { typeof(WeChatRegisterDto), input } + }); + } + + public virtual async Task RegisterAsync(PhoneRegisterDto input) + { + await RequestAsync(nameof(RegisterAsync), new ClientProxyRequestTypeValue + { + { typeof(PhoneRegisterDto), input } + }); + } + + public virtual async Task ResetPasswordAsync(PhoneResetPasswordDto input) + { + await RequestAsync(nameof(ResetPasswordAsync), new ClientProxyRequestTypeValue + { + { typeof(PhoneResetPasswordDto), input } + }); + } + + public virtual async Task SendPhoneSigninCodeAsync(SendPhoneSigninCodeDto input) + { + await RequestAsync(nameof(SendPhoneSigninCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(SendPhoneSigninCodeDto), input } + }); + } + + public virtual async Task SendEmailSigninCodeAsync(SendEmailSigninCodeDto input) + { + await RequestAsync(nameof(SendEmailSigninCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(SendEmailSigninCodeDto), input } + }); + } + + public virtual async Task SendPhoneRegisterCodeAsync(SendPhoneRegisterCodeDto input) + { + await RequestAsync(nameof(SendPhoneRegisterCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(SendPhoneRegisterCodeDto), input } + }); + } + + public virtual async Task SendPhoneResetPasswordCodeAsync(SendPhoneResetPasswordCodeDto input) + { + await RequestAsync(nameof(SendPhoneResetPasswordCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(SendPhoneResetPasswordCodeDto), input } + }); + } + + public virtual async Task> GetTwoFactorProvidersAsync(GetTwoFactorProvidersInput input) + { + return await RequestAsync>(nameof(GetTwoFactorProvidersAsync), new ClientProxyRequestTypeValue + { + { typeof(GetTwoFactorProvidersInput), input } + }); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.cs new file mode 100644 index 000000000..f3a520be1 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/AccountClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of AccountClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace LINGYUN.Abp.Account; + +public partial class AccountClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.Generated.cs new file mode 100644 index 000000000..06170f499 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.Generated.cs @@ -0,0 +1,43 @@ +// This file is automatically generated by ABP framework to use MVC Controllers from CSharp +using LINGYUN.Abp.Account; +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.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IMyClaimAppService), typeof(MyClaimClientProxy))] +public partial class MyClaimClientProxy : ClientProxyBase, IMyClaimAppService +{ + public virtual async Task ChangeAvatarAsync(ChangeAvatarInput input) + { + await RequestAsync(nameof(ChangeAvatarAsync), new ClientProxyRequestTypeValue + { + { typeof(ChangeAvatarInput), input } + }); + } + + public virtual async Task GetStateAsync(string claimType) + { + return await RequestAsync(nameof(GetStateAsync), new ClientProxyRequestTypeValue + { + { typeof(string), claimType } + }); + } + + public virtual async Task ResetAsync(string claimType) + { + await RequestAsync(nameof(ResetAsync), new ClientProxyRequestTypeValue + { + { typeof(string), claimType } + }); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.cs new file mode 100644 index 000000000..550cd836e --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyClaimClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of MyClaimClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace LINGYUN.Abp.Account; + +public partial class MyClaimClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.Generated.cs new file mode 100644 index 000000000..40f72e394 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.Generated.cs @@ -0,0 +1,99 @@ +// This file is automatically generated by ABP framework to use MVC Controllers from CSharp +using LINGYUN.Abp.Account; +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.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IMyProfileAppService), typeof(MyProfileClientProxy))] +public partial class MyProfileClientProxy : ClientProxyBase, IMyProfileAppService +{ + public virtual async Task> GetSessionsAsync(GetMySessionsInput input) + { + return await RequestAsync>(nameof(GetSessionsAsync), new ClientProxyRequestTypeValue + { + { typeof(GetMySessionsInput), input } + }); + } + + public virtual async Task RevokeSessionAsync(string sessionId) + { + await RequestAsync(nameof(RevokeSessionAsync), new ClientProxyRequestTypeValue + { + { typeof(string), sessionId } + }); + } + + public virtual async Task GetTwoFactorEnabledAsync() + { + return await RequestAsync(nameof(GetTwoFactorEnabledAsync)); + } + + public virtual async Task ChangeTwoFactorEnabledAsync(TwoFactorEnabledDto input) + { + await RequestAsync(nameof(ChangeTwoFactorEnabledAsync), new ClientProxyRequestTypeValue + { + { typeof(TwoFactorEnabledDto), input } + }); + } + + public virtual async Task SendChangePhoneNumberCodeAsync(SendChangePhoneNumberCodeInput input) + { + await RequestAsync(nameof(SendChangePhoneNumberCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(SendChangePhoneNumberCodeInput), input } + }); + } + + public virtual async Task ChangePhoneNumberAsync(ChangePhoneNumberInput input) + { + await RequestAsync(nameof(ChangePhoneNumberAsync), new ClientProxyRequestTypeValue + { + { typeof(ChangePhoneNumberInput), input } + }); + } + + public virtual async Task SendEmailConfirmLinkAsync(SendEmailConfirmCodeDto input) + { + await RequestAsync(nameof(SendEmailConfirmLinkAsync), new ClientProxyRequestTypeValue + { + { typeof(SendEmailConfirmCodeDto), input } + }); + } + + public virtual async Task ConfirmEmailAsync(ConfirmEmailInput input) + { + await RequestAsync(nameof(ConfirmEmailAsync), new ClientProxyRequestTypeValue + { + { typeof(ConfirmEmailInput), input } + }); + } + + public virtual async Task GetAuthenticatorAsync() + { + return await RequestAsync(nameof(GetAuthenticatorAsync)); + } + + public virtual async Task VerifyAuthenticatorCodeAsync(VerifyAuthenticatorCodeInput input) + { + return await RequestAsync(nameof(VerifyAuthenticatorCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(VerifyAuthenticatorCodeInput), input } + }); + } + + public virtual async Task ResetAuthenticatorAsync() + { + await RequestAsync(nameof(ResetAuthenticatorAsync)); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.cs new file mode 100644 index 000000000..fcf36f2e3 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MyProfileClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of MyProfileClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace LINGYUN.Abp.Account; + +public partial class MyProfileClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.Generated.cs new file mode 100644 index 000000000..ba8829a08 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.Generated.cs @@ -0,0 +1,43 @@ +// This file is automatically generated by ABP framework to use MVC Controllers from CSharp +using LINGYUN.Abp.Account; +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.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IMySecurityLogAppService), typeof(MySecurityLogClientProxy))] +public partial class MySecurityLogClientProxy : ClientProxyBase, IMySecurityLogAppService +{ + public virtual async Task DeleteAsync(Guid id) + { + await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue + { + { typeof(Guid), id } + }); + } + + public virtual async Task GetAsync(Guid id) + { + return await RequestAsync(nameof(GetAsync), new ClientProxyRequestTypeValue + { + { typeof(Guid), id } + }); + } + + public virtual async Task> GetListAsync(SecurityLogGetListInput input) + { + return await RequestAsync>(nameof(GetListAsync), new ClientProxyRequestTypeValue + { + { typeof(SecurityLogGetListInput), input } + }); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.cs new file mode 100644 index 000000000..0333ac462 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/LINGYUN/Abp/Account/MySecurityLogClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of MySecurityLogClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace LINGYUN.Abp.Account; + +public partial class MySecurityLogClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.Generated.cs new file mode 100644 index 000000000..7016b5f8e --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.Generated.cs @@ -0,0 +1,52 @@ +// 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.Account; +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.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IAccountAppService), typeof(AccountClientProxy))] +public partial class AccountClientProxy : ClientProxyBase, IAccountAppService +{ + public virtual async Task RegisterAsync(RegisterDto input) + { + return await RequestAsync(nameof(RegisterAsync), new ClientProxyRequestTypeValue + { + { typeof(RegisterDto), input } + }); + } + + public virtual async Task SendPasswordResetCodeAsync(SendPasswordResetCodeDto input) + { + await RequestAsync(nameof(SendPasswordResetCodeAsync), new ClientProxyRequestTypeValue + { + { typeof(SendPasswordResetCodeDto), input } + }); + } + + public virtual async Task VerifyPasswordResetTokenAsync(VerifyPasswordResetTokenInput input) + { + return await RequestAsync(nameof(VerifyPasswordResetTokenAsync), new ClientProxyRequestTypeValue + { + { typeof(VerifyPasswordResetTokenInput), input } + }); + } + + public virtual async Task ResetPasswordAsync(ResetPasswordDto input) + { + await RequestAsync(nameof(ResetPasswordAsync), new ClientProxyRequestTypeValue + { + { typeof(ResetPasswordDto), input } + }); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.cs new file mode 100644 index 000000000..31a500fcd --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/AccountClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of AccountClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace Volo.Abp.Account; + +public partial class AccountClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.Generated.cs new file mode 100644 index 000000000..7bb80a95c --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.Generated.cs @@ -0,0 +1,24 @@ +// 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.Account; +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 Volo.Abp.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IDynamicClaimsAppService), typeof(DynamicClaimsClientProxy))] +public partial class DynamicClaimsClientProxy : ClientProxyBase, IDynamicClaimsAppService +{ + public virtual async Task RefreshAsync() + { + await RequestAsync(nameof(RefreshAsync)); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.cs new file mode 100644 index 000000000..da398d895 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/DynamicClaimsClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of DynamicClaimsClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace Volo.Abp.Account; + +public partial class DynamicClaimsClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.Generated.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.Generated.cs new file mode 100644 index 000000000..616453055 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.Generated.cs @@ -0,0 +1,40 @@ +// 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.Account; +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 Volo.Abp.Account; + +[Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IProfileAppService), typeof(ProfileClientProxy))] +public partial class ProfileClientProxy : ClientProxyBase, IProfileAppService +{ + public virtual async Task GetAsync() + { + return await RequestAsync(nameof(GetAsync)); + } + + public virtual async Task UpdateAsync(UpdateProfileDto input) + { + return await RequestAsync(nameof(UpdateAsync), new ClientProxyRequestTypeValue + { + { typeof(UpdateProfileDto), input } + }); + } + + public virtual async Task ChangePasswordAsync(ChangePasswordInput input) + { + await RequestAsync(nameof(ChangePasswordAsync), new ClientProxyRequestTypeValue + { + { typeof(ChangePasswordInput), input } + }); + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.cs new file mode 100644 index 000000000..17a0ad1a2 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/Volo/Abp/Account/ProfileClientProxy.cs @@ -0,0 +1,7 @@ +// This file is part of ProfileClientProxy, you can customize it here +// ReSharper disable once CheckNamespace +namespace Volo.Abp.Account; + +public partial class ProfileClientProxy +{ +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/account-generate-proxy.json b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/account-generate-proxy.json new file mode 100644 index 000000000..c74015198 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/ClientProxies/account-generate-proxy.json @@ -0,0 +1,1883 @@ +{ + "modules": { + "account": { + "rootPath": "account", + "remoteServiceName": "AbpAccount", + "controllers": { + "LINGYUN.Abp.Account.AccountController": { + "controllerName": "Account", + "controllerGroupName": "Account", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "LINGYUN.Abp.Account.AccountController", + "interfaces": [ + { + "type": "LINGYUN.Abp.Account.IAccountAppService", + "name": "IAccountAppService", + "methods": [ + { + "name": "RegisterAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.PhoneRegisterDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.PhoneRegisterDto", + "typeSimple": "LINGYUN.Abp.Account.PhoneRegisterDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "RegisterAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.WeChatRegisterDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.WeChatRegisterDto", + "typeSimple": "LINGYUN.Abp.Account.WeChatRegisterDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "ResetPasswordAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.PhoneResetPasswordDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.PhoneResetPasswordDto", + "typeSimple": "LINGYUN.Abp.Account.PhoneResetPasswordDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "SendPhoneRegisterCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "SendPhoneSigninCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "SendEmailSigninCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendEmailSigninCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendEmailSigninCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendEmailSigninCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "SendPhoneResetPasswordCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "GetTwoFactorProvidersAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.GetTwoFactorProvidersInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.GetTwoFactorProvidersInput", + "typeSimple": "LINGYUN.Abp.Account.GetTwoFactorProvidersInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.ListResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" + } + } + ] + } + ], + "actions": { + "RegisterAsyncByInput": { + "uniqueName": "RegisterAsyncByInput", + "name": "RegisterAsync", + "httpMethod": "POST", + "url": "api/account/wechat/register", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.WeChatRegisterDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.WeChatRegisterDto", + "typeSimple": "LINGYUN.Abp.Account.WeChatRegisterDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.WeChatRegisterDto", + "typeSimple": "LINGYUN.Abp.Account.WeChatRegisterDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + }, + "ResetPasswordAsyncByInput": { + "uniqueName": "ResetPasswordAsyncByInput", + "name": "ResetPasswordAsync", + "httpMethod": "PUT", + "url": "api/account/phone/reset-password", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.PhoneResetPasswordDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.PhoneResetPasswordDto", + "typeSimple": "LINGYUN.Abp.Account.PhoneResetPasswordDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.PhoneResetPasswordDto", + "typeSimple": "LINGYUN.Abp.Account.PhoneResetPasswordDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + }, + "SendPhoneSigninCodeAsyncByInput": { + "uniqueName": "SendPhoneSigninCodeAsyncByInput", + "name": "SendPhoneSigninCodeAsync", + "httpMethod": "POST", + "url": "api/account/phone/send-signin-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneSigninCodeDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + }, + "SendEmailSigninCodeAsyncByInput": { + "uniqueName": "SendEmailSigninCodeAsyncByInput", + "name": "SendEmailSigninCodeAsync", + "httpMethod": "POST", + "url": "api/account/email/send-signin-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendEmailSigninCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendEmailSigninCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendEmailSigninCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.SendEmailSigninCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendEmailSigninCodeDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + }, + "SendPhoneRegisterCodeAsyncByInput": { + "uniqueName": "SendPhoneRegisterCodeAsyncByInput", + "name": "SendPhoneRegisterCodeAsync", + "httpMethod": "POST", + "url": "api/account/phone/send-register-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneRegisterCodeDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + }, + "SendPhoneResetPasswordCodeAsyncByInput": { + "uniqueName": "SendPhoneResetPasswordCodeAsyncByInput", + "name": "SendPhoneResetPasswordCodeAsync", + "httpMethod": "POST", + "url": "api/account/phone/send-password-reset-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendPhoneResetPasswordCodeDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + }, + "GetTwoFactorProvidersAsyncByInput": { + "uniqueName": "GetTwoFactorProvidersAsyncByInput", + "name": "GetTwoFactorProvidersAsync", + "httpMethod": "GET", + "url": "api/account/two-factor-providers", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.GetTwoFactorProvidersInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.GetTwoFactorProvidersInput", + "typeSimple": "LINGYUN.Abp.Account.GetTwoFactorProvidersInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "UserId", + "jsonName": null, + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.ListResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" + }, + "allowAnonymous": null, + "implementFrom": "LINGYUN.Abp.Account.IAccountAppService" + } + } + }, + "LINGYUN.Abp.Account.MyClaimController": { + "controllerName": "MyClaim", + "controllerGroupName": "Claim", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "LINGYUN.Abp.Account.MyClaimController", + "interfaces": [ + { + "type": "LINGYUN.Abp.Account.IMyClaimAppService", + "name": "IMyClaimAppService", + "methods": [ + { + "name": "ChangeAvatarAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.ChangeAvatarInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.ChangeAvatarInput", + "typeSimple": "LINGYUN.Abp.Account.ChangeAvatarInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "GetStateAsync", + "parametersOnMethod": [ + { + "name": "claimType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "LINGYUN.Abp.Account.GetUserClaimStateDto", + "typeSimple": "LINGYUN.Abp.Account.GetUserClaimStateDto" + } + }, + { + "name": "ResetAsync", + "parametersOnMethod": [ + { + "name": "claimType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + } + ] + } + ], + "actions": { + "ChangeAvatarAsyncByInput": { + "uniqueName": "ChangeAvatarAsyncByInput", + "name": "ChangeAvatarAsync", + "httpMethod": "POST", + "url": "api/account/my-claim/change-avatar", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.ChangeAvatarInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.ChangeAvatarInput", + "typeSimple": "LINGYUN.Abp.Account.ChangeAvatarInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.ChangeAvatarInput", + "typeSimple": "LINGYUN.Abp.Account.ChangeAvatarInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyClaimAppService" + }, + "GetStateAsyncByClaimType": { + "uniqueName": "GetStateAsyncByClaimType", + "name": "GetStateAsync", + "httpMethod": "GET", + "url": "api/account/my-claim/state/{claimType}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "claimType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "claimType", + "name": "claimType", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" + } + ], + "returnValue": { + "type": "LINGYUN.Abp.Account.GetUserClaimStateDto", + "typeSimple": "LINGYUN.Abp.Account.GetUserClaimStateDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyClaimAppService" + }, + "ResetAsyncByClaimType": { + "uniqueName": "ResetAsyncByClaimType", + "name": "ResetAsync", + "httpMethod": "DELETE", + "url": "api/account/my-claim/reset/{claimType}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "claimType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "claimType", + "name": "claimType", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyClaimAppService" + } + } + }, + "LINGYUN.Abp.Account.MyProfileController": { + "controllerName": "MyProfile", + "controllerGroupName": "Profile", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "LINGYUN.Abp.Account.MyProfileController", + "interfaces": [ + { + "type": "LINGYUN.Abp.Account.IMyProfileAppService", + "name": "IMyProfileAppService", + "methods": [ + { + "name": "GetAuthenticatorAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "LINGYUN.Abp.Account.AuthenticatorDto", + "typeSimple": "LINGYUN.Abp.Account.AuthenticatorDto" + } + }, + { + "name": "VerifyAuthenticatorCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput", + "typeSimple": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "LINGYUN.Abp.Account.AuthenticatorRecoveryCodeDto", + "typeSimple": "LINGYUN.Abp.Account.AuthenticatorRecoveryCodeDto" + } + }, + { + "name": "GetSessionsAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Identity.GetMySessionsInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Identity.GetMySessionsInput", + "typeSimple": "LINGYUN.Abp.Identity.GetMySessionsInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + } + }, + { + "name": "RevokeSessionAsync", + "parametersOnMethod": [ + { + "name": "sessionId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "ResetAuthenticatorAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "GetTwoFactorEnabledAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "typeSimple": "LINGYUN.Abp.Account.TwoFactorEnabledDto" + } + }, + { + "name": "ChangeTwoFactorEnabledAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.TwoFactorEnabledDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "typeSimple": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "SendChangePhoneNumberCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput", + "typeSimple": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "ChangePhoneNumberAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.ChangePhoneNumberInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.ChangePhoneNumberInput", + "typeSimple": "LINGYUN.Abp.Account.ChangePhoneNumberInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "SendEmailConfirmLinkAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "ConfirmEmailAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.ConfirmEmailInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.ConfirmEmailInput", + "typeSimple": "LINGYUN.Abp.Account.ConfirmEmailInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + } + ] + } + ], + "actions": { + "GetSessionsAsyncByInput": { + "uniqueName": "GetSessionsAsyncByInput", + "name": "GetSessionsAsync", + "httpMethod": "GET", + "url": "api/account/my-profile/sessions", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Identity.GetMySessionsInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Identity.GetMySessionsInput", + "typeSimple": "LINGYUN.Abp.Identity.GetMySessionsInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "Device", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "ClientId", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", + "jsonName": null, + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "jsonName": null, + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "RevokeSessionAsyncBySessionId": { + "uniqueName": "RevokeSessionAsyncBySessionId", + "name": "RevokeSessionAsync", + "httpMethod": "DELETE", + "url": "api/account/my-profile/sessions/{sessionId}/revoke", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "sessionId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "sessionId", + "name": "sessionId", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "GetTwoFactorEnabledAsync": { + "uniqueName": "GetTwoFactorEnabledAsync", + "name": "GetTwoFactorEnabledAsync", + "httpMethod": "GET", + "url": "api/account/my-profile/two-factor", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "typeSimple": "LINGYUN.Abp.Account.TwoFactorEnabledDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "ChangeTwoFactorEnabledAsyncByInput": { + "uniqueName": "ChangeTwoFactorEnabledAsyncByInput", + "name": "ChangeTwoFactorEnabledAsync", + "httpMethod": "PUT", + "url": "api/account/my-profile/change-two-factor", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.TwoFactorEnabledDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "typeSimple": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "typeSimple": "LINGYUN.Abp.Account.TwoFactorEnabledDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "SendChangePhoneNumberCodeAsyncByInput": { + "uniqueName": "SendChangePhoneNumberCodeAsyncByInput", + "name": "SendChangePhoneNumberCodeAsync", + "httpMethod": "POST", + "url": "api/account/my-profile/send-phone-number-change-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput", + "typeSimple": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput", + "typeSimple": "LINGYUN.Abp.Account.SendChangePhoneNumberCodeInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "ChangePhoneNumberAsyncByInput": { + "uniqueName": "ChangePhoneNumberAsyncByInput", + "name": "ChangePhoneNumberAsync", + "httpMethod": "PUT", + "url": "api/account/my-profile/change-phone-number", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.ChangePhoneNumberInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.ChangePhoneNumberInput", + "typeSimple": "LINGYUN.Abp.Account.ChangePhoneNumberInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.ChangePhoneNumberInput", + "typeSimple": "LINGYUN.Abp.Account.ChangePhoneNumberInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "SendEmailConfirmLinkAsyncByInput": { + "uniqueName": "SendEmailConfirmLinkAsyncByInput", + "name": "SendEmailConfirmLinkAsync", + "httpMethod": "POST", + "url": "api/account/my-profile/send-email-confirm-link", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto", + "typeSimple": "LINGYUN.Abp.Account.SendEmailConfirmCodeDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "ConfirmEmailAsyncByInput": { + "uniqueName": "ConfirmEmailAsyncByInput", + "name": "ConfirmEmailAsync", + "httpMethod": "PUT", + "url": "api/account/my-profile/confirm-email", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.ConfirmEmailInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.ConfirmEmailInput", + "typeSimple": "LINGYUN.Abp.Account.ConfirmEmailInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.ConfirmEmailInput", + "typeSimple": "LINGYUN.Abp.Account.ConfirmEmailInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "GetAuthenticatorAsync": { + "uniqueName": "GetAuthenticatorAsync", + "name": "GetAuthenticatorAsync", + "httpMethod": "GET", + "url": "api/account/my-profile/authenticator", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "LINGYUN.Abp.Account.AuthenticatorDto", + "typeSimple": "LINGYUN.Abp.Account.AuthenticatorDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "VerifyAuthenticatorCodeAsyncByInput": { + "uniqueName": "VerifyAuthenticatorCodeAsyncByInput", + "name": "VerifyAuthenticatorCodeAsync", + "httpMethod": "POST", + "url": "api/account/my-profile/verify-authenticator-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput", + "typeSimple": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput", + "typeSimple": "LINGYUN.Abp.Account.VerifyAuthenticatorCodeInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "LINGYUN.Abp.Account.AuthenticatorRecoveryCodeDto", + "typeSimple": "LINGYUN.Abp.Account.AuthenticatorRecoveryCodeDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + }, + "ResetAuthenticatorAsync": { + "uniqueName": "ResetAuthenticatorAsync", + "name": "ResetAuthenticatorAsync", + "httpMethod": "POST", + "url": "api/account/my-profile/reset-authenticator", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMyProfileAppService" + } + } + }, + "LINGYUN.Abp.Account.MySecurityLogController": { + "controllerName": "MySecurityLog", + "controllerGroupName": "SecurityLog", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "LINGYUN.Abp.Account.MySecurityLogController", + "interfaces": [ + { + "type": "LINGYUN.Abp.Account.IMySecurityLogAppService", + "name": "IMySecurityLogAppService", + "methods": [ + { + "name": "GetListAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SecurityLogGetListInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SecurityLogGetListInput", + "typeSimple": "LINGYUN.Abp.Account.SecurityLogGetListInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + } + }, + { + "name": "GetAsync", + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "LINGYUN.Abp.Account.SecurityLogDto", + "typeSimple": "LINGYUN.Abp.Account.SecurityLogDto" + } + }, + { + "name": "DeleteAsync", + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + } + ] + } + ], + "actions": { + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/account/security-logs/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "jsonName": null, + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMySecurityLogAppService" + }, + "GetAsyncById": { + "uniqueName": "GetAsyncById", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/account/security-logs/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "jsonName": null, + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" + } + ], + "returnValue": { + "type": "LINGYUN.Abp.Account.SecurityLogDto", + "typeSimple": "LINGYUN.Abp.Account.SecurityLogDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMySecurityLogAppService" + }, + "GetListAsyncByInput": { + "uniqueName": "GetListAsyncByInput", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/account/security-logs", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "LINGYUN.Abp.Account.SecurityLogGetListInput, LINGYUN.Abp.Account.Application.Contracts", + "type": "LINGYUN.Abp.Account.SecurityLogGetListInput", + "typeSimple": "LINGYUN.Abp.Account.SecurityLogGetListInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "StartTime", + "jsonName": null, + "type": "System.DateTime?", + "typeSimple": "string?", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "EndTime", + "jsonName": null, + "type": "System.DateTime?", + "typeSimple": "string?", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "ApplicationName", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "Identity", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "ActionName", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "ClientId", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "CorrelationId", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", + "jsonName": null, + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "jsonName": null, + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + }, + "allowAnonymous": false, + "implementFrom": "LINGYUN.Abp.Account.IMySecurityLogAppService" + } + } + }, + "Volo.Abp.Account.AccountController": { + "controllerName": "Account", + "controllerGroupName": "Account", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "Volo.Abp.Account.AccountController", + "interfaces": [ + { + "type": "Volo.Abp.Account.IAccountAppService", + "name": "IAccountAppService", + "methods": [ + { + "name": "RegisterAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.RegisterDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.RegisterDto", + "typeSimple": "Volo.Abp.Account.RegisterDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.Abp.Identity.IdentityUserDto", + "typeSimple": "Volo.Abp.Identity.IdentityUserDto" + } + }, + { + "name": "SendPasswordResetCodeAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.SendPasswordResetCodeDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.SendPasswordResetCodeDto", + "typeSimple": "Volo.Abp.Account.SendPasswordResetCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "VerifyPasswordResetTokenAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.VerifyPasswordResetTokenInput, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.VerifyPasswordResetTokenInput", + "typeSimple": "Volo.Abp.Account.VerifyPasswordResetTokenInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Boolean", + "typeSimple": "boolean" + } + }, + { + "name": "ResetPasswordAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.ResetPasswordDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.ResetPasswordDto", + "typeSimple": "Volo.Abp.Account.ResetPasswordDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + } + ] + } + ], + "actions": { + "RegisterAsyncByInput": { + "uniqueName": "RegisterAsyncByInput", + "name": "RegisterAsync", + "httpMethod": "POST", + "url": "api/account/register", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.RegisterDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.RegisterDto", + "typeSimple": "Volo.Abp.Account.RegisterDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.Abp.Account.RegisterDto", + "typeSimple": "Volo.Abp.Account.RegisterDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "Volo.Abp.Identity.IdentityUserDto", + "typeSimple": "Volo.Abp.Identity.IdentityUserDto" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IAccountAppService" + }, + "SendPasswordResetCodeAsyncByInput": { + "uniqueName": "SendPasswordResetCodeAsyncByInput", + "name": "SendPasswordResetCodeAsync", + "httpMethod": "POST", + "url": "api/account/send-password-reset-code", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.SendPasswordResetCodeDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.SendPasswordResetCodeDto", + "typeSimple": "Volo.Abp.Account.SendPasswordResetCodeDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.Abp.Account.SendPasswordResetCodeDto", + "typeSimple": "Volo.Abp.Account.SendPasswordResetCodeDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IAccountAppService" + }, + "VerifyPasswordResetTokenAsyncByInput": { + "uniqueName": "VerifyPasswordResetTokenAsyncByInput", + "name": "VerifyPasswordResetTokenAsync", + "httpMethod": "POST", + "url": "api/account/verify-password-reset-token", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.VerifyPasswordResetTokenInput, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.VerifyPasswordResetTokenInput", + "typeSimple": "Volo.Abp.Account.VerifyPasswordResetTokenInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.Abp.Account.VerifyPasswordResetTokenInput", + "typeSimple": "Volo.Abp.Account.VerifyPasswordResetTokenInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Boolean", + "typeSimple": "boolean" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IAccountAppService" + }, + "ResetPasswordAsyncByInput": { + "uniqueName": "ResetPasswordAsyncByInput", + "name": "ResetPasswordAsync", + "httpMethod": "POST", + "url": "api/account/reset-password", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.ResetPasswordDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.ResetPasswordDto", + "typeSimple": "Volo.Abp.Account.ResetPasswordDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.Abp.Account.ResetPasswordDto", + "typeSimple": "Volo.Abp.Account.ResetPasswordDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IAccountAppService" + } + } + }, + "Volo.Abp.Account.DynamicClaimsController": { + "controllerName": "DynamicClaims", + "controllerGroupName": "DynamicClaims", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "Volo.Abp.Account.DynamicClaimsController", + "interfaces": [ + { + "type": "Volo.Abp.Account.IDynamicClaimsAppService", + "name": "IDynamicClaimsAppService", + "methods": [ + { + "name": "RefreshAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + } + ] + } + ], + "actions": { + "RefreshAsync": { + "uniqueName": "RefreshAsync", + "name": "RefreshAsync", + "httpMethod": "POST", + "url": "api/account/dynamic-claims/refresh", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IDynamicClaimsAppService" + } + } + }, + "Volo.Abp.Account.ProfileController": { + "controllerName": "Profile", + "controllerGroupName": "Profile", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "Volo.Abp.Account.ProfileController", + "interfaces": [ + { + "type": "Volo.Abp.Account.IProfileAppService", + "name": "IProfileAppService", + "methods": [ + { + "name": "GetAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "Volo.Abp.Account.ProfileDto", + "typeSimple": "Volo.Abp.Account.ProfileDto" + } + }, + { + "name": "UpdateAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.UpdateProfileDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.UpdateProfileDto", + "typeSimple": "Volo.Abp.Account.UpdateProfileDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.Abp.Account.ProfileDto", + "typeSimple": "Volo.Abp.Account.ProfileDto" + } + }, + { + "name": "ChangePasswordAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.ChangePasswordInput, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.ChangePasswordInput", + "typeSimple": "Volo.Abp.Account.ChangePasswordInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + } + ] + } + ], + "actions": { + "GetAsync": { + "uniqueName": "GetAsync", + "name": "GetAsync", + "httpMethod": "GET", + "url": "api/account/my-profile", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "Volo.Abp.Account.ProfileDto", + "typeSimple": "Volo.Abp.Account.ProfileDto" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IProfileAppService" + }, + "UpdateAsyncByInput": { + "uniqueName": "UpdateAsyncByInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/account/my-profile", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.UpdateProfileDto, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.UpdateProfileDto", + "typeSimple": "Volo.Abp.Account.UpdateProfileDto", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.Abp.Account.UpdateProfileDto", + "typeSimple": "Volo.Abp.Account.UpdateProfileDto", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "Volo.Abp.Account.ProfileDto", + "typeSimple": "Volo.Abp.Account.ProfileDto" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IProfileAppService" + }, + "ChangePasswordAsyncByInput": { + "uniqueName": "ChangePasswordAsyncByInput", + "name": "ChangePasswordAsync", + "httpMethod": "POST", + "url": "api/account/my-profile/change-password", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.Abp.Account.ChangePasswordInput, Volo.Abp.Account.Application.Contracts", + "type": "Volo.Abp.Account.ChangePasswordInput", + "typeSimple": "Volo.Abp.Account.ChangePasswordInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.Abp.Account.ChangePasswordInput", + "typeSimple": "Volo.Abp.Account.ChangePasswordInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "Volo.Abp.Account.IProfileAppService" + } + } + } + } + } + }, + "types": {} +} \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xml b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xml new file mode 100644 index 000000000..1715698cc --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xsd b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xsd new file mode 100644 index 000000000..3f3946e28 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/FodyWeavers.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN.Abp.Account.HttpApi.Client.csproj b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN.Abp.Account.HttpApi.Client.csproj new file mode 100644 index 000000000..fd96d31c6 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN.Abp.Account.HttpApi.Client.csproj @@ -0,0 +1,32 @@ + + + + + + + netstandard2.0;netstandard2.1;net8.0;net9.0 + LINGYUN.Abp.Account.HttpApi.Client + LINGYUN.Abp.Account.HttpApi.Client + false + false + false + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN/Abp/Account/AbpAccountHttpApiClientModule.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN/Abp/Account/AbpAccountHttpApiClientModule.cs new file mode 100644 index 000000000..f0cef345d --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi.Client/LINGYUN/Abp/Account/AbpAccountHttpApiClientModule.cs @@ -0,0 +1,25 @@ +using Microsoft.Extensions.DependencyInjection; +using Volo.Abp.Account; +using Volo.Abp.Modularity; +using Volo.Abp.VirtualFileSystem; +using VoloAbpAccountHttpApiClientModule = Volo.Abp.Account.AbpAccountHttpApiClientModule; + +namespace LINGYUN.Abp.Account; + +[DependsOn( + typeof(AbpAccountApplicationContractsModule), + typeof(VoloAbpAccountHttpApiClientModule))] +public class AbpAccountHttpApiClientModule : AbpModule +{ + public override void ConfigureServices(ServiceConfigurationContext context) + { + context.Services.AddStaticHttpClientProxies( + typeof(AbpAccountApplicationContractsModule).Assembly, + AccountRemoteServiceConsts.RemoteServiceName); + + Configure(options => + { + options.FileSets.AddEmbedded(); + }); + } +}