:drunk: No idea what did AI did
This commit is contained in:
		| @@ -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); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user