Class UmbracoUserTimeoutFilterAttribute
This will check if the user making the request is authenticated and if there's an auth ticket tied to the user we will add a custom header to the response indicating how many seconds are remaining for the user's session. This allows us to keep track of a user's session effectively in the back office.
Inheritance
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.TypeFilterAttribute
Namespace: Umbraco.Cms.Web.Common.Filters
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoUserTimeoutFilterAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
Constructors
View SourceUmbracoUserTimeoutFilterAttribute()
Declaration
public UmbracoUserTimeoutFilterAttribute()