Update: Added RelayServer Logic

This commit is contained in:
2026-03-19 16:48:56 -04:00
parent 46ba326150
commit aac69ea770
12 changed files with 270 additions and 22 deletions

View File

@@ -0,0 +1,16 @@
namespace RelayServer.Services;
public sealed class CoreClientService
{
public Task<CoreUser?> GetUserByUsernameAsync(string username)
{
return Task.FromResult<CoreUser?>(username switch
{
"Keeper317" => new CoreUser("users:keeper317", "Keeper317", true),
"Ru_Kira" => new CoreUser("users:ru_kira", "Ru_Kira", true),
_ => null
});
}
}
public sealed record CoreUser(string Id, string Username, bool Licensed);