added auth with a simple UI

This commit is contained in:
2026-03-09 23:29:04 +01:00
parent c8347ac96b
commit 82ac241129
123 changed files with 3419 additions and 93 deletions

View File

@@ -0,0 +1,10 @@
using OED.Api.Core.Models.Eve;
namespace OED.Api.Core.Interfaces.Services;
public interface ISessionService
{
Task<string> CreateAsync(EveSession session);
Task<EveSession?> GetAsync(string sessionId);
Task DeleteAsync(string sessionId);
}

View File

@@ -0,0 +1,9 @@
namespace OED.Api.Core.Interfaces.Services;
public interface ITokenStore
{
Task SetAccessTokenAsync(long characterId, string token, TimeSpan expiry);
Task<string?> GetAccessTokenAsync(long characterId);
Task SetRefreshTokenAsync(long characterId, string token);
Task<string?> GetRefreshTokenAsync(long characterId);
}