feat(udt-001): application layer with LoginCommandHandler and ports
This commit is contained in:
15
src/api/SIGCM2.Application/Auth/Login/LoginResponseDto.cs
Normal file
15
src/api/SIGCM2.Application/Auth/Login/LoginResponseDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace SIGCM2.Application.Auth.Login;
|
||||
|
||||
public sealed record LoginResponseDto(
|
||||
string AccessToken,
|
||||
string RefreshToken,
|
||||
int ExpiresIn,
|
||||
UsuarioDto Usuario
|
||||
);
|
||||
|
||||
public sealed record UsuarioDto(
|
||||
int Id,
|
||||
string Nombre,
|
||||
string Rol,
|
||||
string[] Permisos
|
||||
);
|
||||
Reference in New Issue
Block a user