using FluentValidation;
namespace Features.Users.Commands.Authentication.RefreshToken;
/// Validates that is present.
public class RefreshTokenValidator : AbstractValidator
{
public RefreshTokenValidator()
{
RuleFor(x => x.RefreshToken).NotEmpty().WithMessage("Refresh token is required");
}
}