:drunk: No idea what did AI did

This commit is contained in:
2025-07-06 19:46:59 +08:00
parent 14b79f16f4
commit 3391c08c04
40 changed files with 2484 additions and 112 deletions

View File

@ -0,0 +1,16 @@
using DysonNetwork.Common.Models;
using DysonNetwork.Pass.Features.Auth.Models;
using NodaTime;
namespace DysonNetwork.Pass.Features.Auth.Interfaces;
public interface IAuthenticationService
{
Task<AuthResult> AuthenticateAsync(string username, string password);
Task<AuthResult> AuthenticateWithOidcAsync(string provider, string code, string state);
Task<AuthResult> RefreshTokenAsync(string refreshToken);
Task<bool> ValidateTokenAsync(string token);
Task LogoutAsync(Guid sessionId);
Task<bool> ValidateSessionAsync(Guid sessionId);
Task<AuthSession> GetSessionAsync(Guid sessionId);
}