Class UmbracoRequireHttpsAttribute
If Umbraco.Core.UseHttps property in web.config is set to true, this filter will redirect any http access to https.
Inheritance
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.RequireHttpsAttribute
Namespace: Umbraco.Cms.Web.BackOffice.Filters
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class UmbracoRequireHttpsAttribute : RequireHttpsAttribute, IAuthorizationFilter, IOrderedFilter, IFilterMetadata
Methods
View SourceHandleNonHttpsRequest(AuthorizationFilterContext)
Declaration
protected override void HandleNonHttpsRequest(AuthorizationFilterContext filterContext)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext | filterContext |