Some orgnization, and cleanup to come.

This commit is contained in:
2026-04-02 13:36:54 -04:00
parent 6287f4d19b
commit a4f0175ca4
30 changed files with 285 additions and 83 deletions

View File

@@ -0,0 +1,17 @@
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),
"Test" => new CoreUser("users:test", "Test", true),
_ => null
});
}
}
public sealed record CoreUser(string Id, string Username, bool Licensed);

View File

@@ -0,0 +1,6 @@
namespace RelayServer.Services;
public class ServerBootstrapService
{
}