Добавил слой Application

This commit is contained in:
2026-04-28 15:52:32 +03:00
parent df0e30a1ae
commit d64447f0be
25 changed files with 595 additions and 0 deletions
@@ -0,0 +1,13 @@
using UniVerse.Application.DTOs.Auth;
using UniVerse.Application.DTOs.Users;
namespace UniVerse.Application.Interfaces;
public interface IAuthService
{
Task<AuthResponse> LoginWithMicrosoftAsync(string authorizationCode);
Task<AuthResponse> DevLoginAsync(string email, string? displayName, Domain.Enums.UserRole role);
Task<AuthResponse> RefreshTokenAsync(string refreshToken);
Task RevokeRefreshTokenAsync(string refreshToken);
Task<UserDto> GetCurrentUserAsync(int userId);
}