Implement AuthService and ApiClient core logic

This commit is contained in:
2026-04-09 14:22:47 +02:00
parent 3ee4edac6c
commit 8cbfa61766
22 changed files with 503 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
namespace Chtn.CSharp.SDK.Core
{
public class SDKConfig
{
{
public string ApiUrl { get; set; } = "https://api.chatenium.hu";
public string CdnUrl { get; set; } = "https://cdn.chatenium.hu";
public string WsUrl { get; set; } = "wss://api.chatenium.hu";
@@ -10,6 +10,6 @@
public static class EnvironmentConfig
{
private static SDKConfig _currentConfig = new SDKConfig();
public static SDKConfig Get() => _currentConfig;
public static SDKConfig Get() => _currentConfig;
}
}