http-api/src/Application/Payments/LiqPay/TicketGroups/Commands/GetPaymentLink/GetPaymentLinkCommandAuthorizer.cs
cuqmbr 120963f3cc
All checks were successful
/ tests (push) Successful in 26s
/ build (push) Successful in 10m28s
/ build-docker (push) Successful in 5m49s
add optional ticket group binding to account
2025-05-30 16:40:28 +03:00

15 lines
435 B
C#

using cuqmbr.TravelGuide.Application.Common.Authorization;
using MediatR.Behaviors.Authorization;
namespace cuqmbr.TravelGuide.Application.Payments.LiqPay
.TicketGroups.Commands.GetPaymentLink;
public class GetPaymentLinkCommandAuthorizer :
AbstractRequestAuthorizer<GetPaymentLinkCommand>
{
public override void BuildPolicy(GetPaymentLinkCommand request)
{
UseRequirement(new AllowAllRequirement());
}
}