diff --git a/Chtn.CSharp.SDK.sln b/Chtn.CSharp.SDK.sln index be76aee..b8eb3f5 100644 --- a/Chtn.CSharp.SDK.sln +++ b/Chtn.CSharp.SDK.sln @@ -1,10 +1,12 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 18 -VisualStudioVersion = 18.4.11626.88 stable +VisualStudioVersion = 18.4.11626.88 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chtn.CSharp.SDK", "Chtn.CSharp.SDK.csproj", "{CE1ED0A8-C1D4-A4F2-A1F7-46A18938BB73}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chtn.CSharp.SDK.Tests", "..\Chtn.CSharp.SDK.Tests\Chtn.CSharp.SDK.Tests.csproj", "{2E03EB2D-DE7C-443D-8713-33A6E77F48C0}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {CE1ED0A8-C1D4-A4F2-A1F7-46A18938BB73}.Debug|Any CPU.Build.0 = Debug|Any CPU {CE1ED0A8-C1D4-A4F2-A1F7-46A18938BB73}.Release|Any CPU.ActiveCfg = Release|Any CPU {CE1ED0A8-C1D4-A4F2-A1F7-46A18938BB73}.Release|Any CPU.Build.0 = Release|Any CPU + {2E03EB2D-DE7C-443D-8713-33A6E77F48C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E03EB2D-DE7C-443D-8713-33A6E77F48C0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E03EB2D-DE7C-443D-8713-33A6E77F48C0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E03EB2D-DE7C-443D-8713-33A6E77F48C0}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Services/AuthMethods.cs b/Services/AuthMethods.cs index 4e27e3d..2b7069d 100644 --- a/Services/AuthMethods.cs +++ b/Services/AuthMethods.cs @@ -33,45 +33,45 @@ namespace Chtn.CSharp.SDK.Services } public async Task GetAuthMethods(GetAuthMethodsReq req) => - await _apiClient.PostAsync("auth/get-auth-methods", req); + await _apiClient.PostAsync("user/authOptions", req); public async Task OtpSendCode(OtpPleSendCodeReq req) => - await _apiClient.PostAsync("auth/otp-send-code", req); + await _apiClient.PostAsync("v2/user/otpSendCode", req); public async Task OtpVerifyCode(OtpPleVerifyCodeReq req) => - await _apiClient.PostAsync("auth/otp-verify-code", req); + await _apiClient.PostAsync("v2/user/otpVerifyCode", req); public async Task LoginPasswordAuth(LoginPasswordAuthReq req) => - await _apiClient.PostAsync("auth/login-password-auth", req); + await _apiClient.PostAsync("v2/user/loginPasswordAuth", req); public async Task IsUsernameUsed(UnameUsageReq req) => - await _apiClient.PostAsync("auth/is-username-used", req); + await _apiClient.PostAsync("v2/user/unameUsage", req); public async Task IsEmailUsed(EmailUsageReq req) => - await _apiClient.PostAsync("auth/is-email-used", req); + await _apiClient.PostAsync("v2/user/emailUsage", req); public async Task PleSendVCode(PleSendVCodeReq req) => - await _apiClient.PostAsync("auth/ple-send-vcode", req); + await _apiClient.PostAsync("v2/user/pleSendVCode", req); public async Task PleVerifyCode(PleVerifyCodeReq req) => - await _apiClient.PostAsync("auth/ple-verify-code", req); + await _apiClient.PostAsync("v2/user/pleVerifyCode", req); public async Task FinishPLEAccount(FinishPleAccountReq req) => - await _apiClient.PostAsync("auth/finish-ple-account", req); + await _apiClient.PostAsync("v2/user/finishPLEAccount", req); public async Task LoginWithGoogle(LoginWithGoogleReq req) => - await _apiClient.PostAsync("auth/login-with-google", req); + await _apiClient.PostAsync("user/loginWithGoogle", req); public async Task LoginWithApple(LoginWithAppleReq req) => - await _apiClient.PostAsync("auth/login-with-apple", req); + await _apiClient.PostAsync("user/loginWithApple", req); public async Task Register(RegisterReq req) => - await _apiClient.PostAsync("auth/register", req); + await _apiClient.PostAsync("v2/user/register", req); public async Task ResetPassword(ResetPasswordReq req) => - await _apiClient.PostAsync("auth/reset-password", req); + await _apiClient.PostAsync("user/resetPassword", req); public async Task VerifyResetCode(VerifyPasswordResetReq req) => - await _apiClient.PostAsync("auth/verify-reset-code", req); + await _apiClient.PostAsync("user/verifyResetCode", req); } } \ No newline at end of file diff --git a/TestResults/6e99e38e-c9a0-4115-b55e-0e2d85a39b49/Bogár Roland Csaba_SHITBOX_2026-04-09.15_08_33.coverage b/TestResults/6e99e38e-c9a0-4115-b55e-0e2d85a39b49/Bogár Roland Csaba_SHITBOX_2026-04-09.15_08_33.coverage new file mode 100644 index 0000000..b84ea63 Binary files /dev/null and b/TestResults/6e99e38e-c9a0-4115-b55e-0e2d85a39b49/Bogár Roland Csaba_SHITBOX_2026-04-09.15_08_33.coverage differ