namespace Umbraco.Core { public static partial class Constants { /// /// Defines the identifiers for Umbraco system nodes. /// public static class Web { public const string UmbracoContextDataToken = "umbraco-context"; public const string UmbracoDataToken = "umbraco"; public const string PublishedDocumentRequestDataToken = "umbraco-doc-request"; public const string CustomRouteDataToken = "umbraco-custom-route"; public const string UmbracoRouteDefinitionDataToken = "umbraco-route-def"; /// /// The preview cookie name /// public const string PreviewCookieName = "UMB_PREVIEW"; public const string InstallerCookieName = "umb_installId"; /// /// The cookie name that is used to store the validation value /// public const string CsrfValidationCookieName = "UMB-XSRF-V"; /// /// The cookie name that is set for angular to use to pass in to the header value for "X-UMB-XSRF-TOKEN" /// public const string AngularCookieName = "UMB-XSRF-TOKEN"; /// /// The header name that angular uses to pass in the token to validate the cookie /// public const string AngularHeadername = "X-UMB-XSRF-TOKEN"; /// /// The route name of the page shown when Umbraco has no published content. /// public const string NoContentRouteName = "umbraco-no-content"; /// /// The claim type for the ASP.NET Identity security stamp /// public const string SecurityStampClaimType = "AspNet.Identity.SecurityStamp"; /// /// The default authentication type used for remembering that 2FA is not needed on next login /// public const string TwoFactorRememberBrowserCookie = "TwoFactorRememberBrowser"; public static class Mvc { public const string InstallArea = "UmbracoInstall"; public const string BackOfficeArea = "UmbracoBackOffice"; // Used for area routes of non-api controllers public const string BackOfficeApiArea = "UmbracoApi"; // Same name as v8 so all routing remains the same } } } }