using Microsoft.AspNetCore.Mvc; using Umbraco.Web.BackOffice.Filters; using Umbraco.Web.Common.Attributes; using Umbraco.Web.Common.Controllers; using Umbraco.Web.Common.Filters; namespace Umbraco.Web.BackOffice.Controllers { /// /// Provides a base class for authorized auto-routed Umbraco API controllers. /// /// /// This controller will also append a custom header to the response if the user /// is logged in using forms authentication which indicates the seconds remaining /// before their timeout expires. /// [IsBackOffice] [UmbracoUserTimeoutFilter] [UmbracoBackOfficeAuthorize] [DisableBrowserCache] [UmbracoWebApiRequireHttps] [CheckIfUserTicketDataIsStale] [MiddlewareFilter(typeof(UnhandledExceptionLoggerFilter))] public abstract class UmbracoAuthorizedApiController : UmbracoApiController { } }