autobus-api_old/AutobusApi.Application/Identity/Commands/RenewAccessToken/RenewAccessTokenCommandValidator.cs
2023-11-15 19:00:34 +02:00

13 lines
310 B
C#

using FluentValidation;
namespace AutobusApi.Application.Identity.Commands.RenewAccessToken;
public class RenewAccessTokenCommandValidator : AbstractValidator<RenewAccessTokenCommand>
{
public RenewAccessTokenCommandValidator()
{
RuleFor(v => v.RefreshToken)
.NotEmpty();
}
}