Fix Access/Refres Token
This commit is contained in:
@@ -3,6 +3,7 @@ namespace AMREZ.EOP.Contracts.DTOs.Authentications.IssueTokenPair;
|
||||
public sealed class IssueTokenPairRequest
|
||||
{
|
||||
public Guid UserId { get; init; }
|
||||
public Guid TenantId { get; init; } = default!;
|
||||
public string Tenant { get; init; } = default!;
|
||||
public string Email { get; init; } = default!;
|
||||
}
|
||||
@@ -2,7 +2,6 @@ namespace AMREZ.EOP.Contracts.DTOs.Authentications.Login;
|
||||
|
||||
public sealed class LoginRequest
|
||||
{
|
||||
public string? Tenant { get; set; }
|
||||
public string Email { get; set; } = default!;
|
||||
public string Password { get; set; } = default!;
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Authentications.Login;
|
||||
|
||||
public sealed record LoginResponse(
|
||||
Guid UserId,
|
||||
Guid UserId,
|
||||
Guid TenantId,
|
||||
string Email,
|
||||
string TenantId
|
||||
string TenantKey
|
||||
);
|
||||
Reference in New Issue
Block a user