mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
11 lines
387 B
C#
11 lines
387 B
C#
using Features.Users.Dtos;
|
|
using MediatR;
|
|
|
|
namespace Features.Users.Commands.Authentication.RefreshToken;
|
|
|
|
/// <summary>
|
|
/// Exchanges a valid refresh token for a new access/refresh token pair. Constructed from the
|
|
/// <c>X-Refresh-Token</c> header of <c>POST /api/auth/refresh</c>.
|
|
/// </summary>
|
|
public record RefreshTokenCommand(string RefreshToken) : IRequest<LoginPayload>;
|