Class UmbracoAuthorizedController
Provides a base class for authorized Umbraco controllers.
Namespace: Umbraco.Web.Mvc
Assembly: Umbraco.Web.dll
Syntax
public abstract class UmbracoAuthorizedController : UmbracoController
Remarks
This controller essentially just uses a global UmbracoAuthorizeAttribute, inheritors that require more granular control over the authorization of each method can use this attribute instead of inheriting from this controller.
Constructors
View SourceUmbracoAuthorizedController()
Declaration
protected UmbracoAuthorizedController()
UmbracoAuthorizedController(IGlobalSettings, IUmbracoContextAccessor, ServiceContext, AppCaches, IProfilingLogger, UmbracoHelper)
Declaration
protected UmbracoAuthorizedController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ServiceContext services, AppCaches appCaches, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper)
Parameters
Type | Name | Description |
---|---|---|
IGlobalSettings | globalSettings | |
IUmbracoContextAccessor | umbracoContextAccessor | |
ServiceContext | services | |
AppCaches | appCaches | |
IProfilingLogger | profilingLogger | |
UmbracoHelper | umbracoHelper |