using Knoks.Api.Entities;
using Microsoft.AspNetCore.Authorization;
using static Knoks.Api.Authentication.IdentityConsts;

namespace Knoks.Api.Controllers.Base
{
    [Authorize(ApiConsumerPolicy)]
    public abstract class ApiConsumerController : ApiBaseController
    {
        protected ApiConsumer ApiConsumer => ContextApiConsumer;
    }
}
