mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 10:04:44 +00:00
22 lines
686 B
C#
22 lines
686 B
C#
namespace Features.Auth.Dtos;
|
|
|
|
/// <summary>Payload returned to the client after a successful login or token refresh.</summary>
|
|
public record LoginPayload(
|
|
Guid UserAccountId,
|
|
string Username,
|
|
string RefreshToken,
|
|
string AccessToken
|
|
);
|
|
|
|
/// <summary>Payload returned to the client after a successful registration.</summary>
|
|
public record RegistrationPayload(
|
|
Guid UserAccountId,
|
|
string Username,
|
|
string RefreshToken,
|
|
string AccessToken,
|
|
bool ConfirmationEmailSent
|
|
);
|
|
|
|
/// <summary>Payload returned to the client after a user account's email has been confirmed.</summary>
|
|
public record ConfirmationPayload(Guid UserAccountId, DateTime ConfirmedDate);
|