Created JWT endpoints
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace BeReadyBackend.DTO.Auth;
|
||||
|
||||
public class GetTokenDto
|
||||
{
|
||||
public string? Token { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace BeReadyBackend.DTO.Auth;
|
||||
|
||||
public class LoginDto
|
||||
{
|
||||
public string? Username { get; set; }
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace BeReadyBackend.DTO.Auth;
|
||||
|
||||
public class RefreshTokenDto
|
||||
{
|
||||
public string? Token { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user