namespace DataSharing.Application.Identity;

public interface IIdentityAppService
{
    Task<string> LoginAsync(LoginDto dto, CancellationToken cancellationToken);

    /// <summary>
    /// 
    /// </summary>
    /// <param name="dto"></param>
    /// <param name="cancellationToken"></param>
    /// <returns></returns>
    Task<GetTokenRequest> LoginTokenAsync(LoginDto dto, CancellationToken cancellationToken);
}