Files
WatchIt/WatchIt.DTO/Models/Controllers/Authentication/AuthenticationMappers.cs

16 lines
413 B
C#

using WatchIt.Database.Model.Accounts;
namespace WatchIt.DTO.Models.Controllers.Authentication;
public static class AuthenticationMappers
{
#region Authentication
public static AuthenticationResponse CreateAuthenticationResponse(string accessToken, string refreshToken) => new AuthenticationResponse
{
AccessToken = accessToken,
RefreshToken = refreshToken,
};
#endregion
}