update auth for refresh tokens and token invalidation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
public interface IAuthService
|
||||
{
|
||||
Task<LoginResponse> LoginAsync(LoginRequest req);
|
||||
Task<TokenResponse> RefreshAsync(RefreshRequest req);
|
||||
Task LogoutAsync(LogoutRequest req);
|
||||
Task<User> GetCurrentUserAsync(Guid userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user