Search Results for

    Show / Hide Table of Contents
    View Source

    Class Constants.Web

    Defines the identifiers for Umbraco system nodes.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core
    Assembly: Umbraco.Core.dll
    Syntax
    public static class Web

    Fields

    View Source

    AcceptPreviewCookieName

    Client-side cookie that determines whether the user has accepted to be in Preview Mode when visiting the website.

    Declaration
    public const string AcceptPreviewCookieName = "UMB-WEBSITE-PREVIEW-ACCEPT"
    Field Value
    Type Description
    System.String
    View Source

    AngularCookieName

    The cookie name that is set for angular to use to pass in to the header value for "X-UMB-XSRF-TOKEN"

    Declaration
    public const string AngularCookieName = "UMB-XSRF-TOKEN"
    Field Value
    Type Description
    System.String
    View Source

    AngularHeadername

    The header name that angular uses to pass in the token to validate the cookie

    Declaration
    public const string AngularHeadername = "X-UMB-XSRF-TOKEN"
    Field Value
    Type Description
    System.String
    View Source

    CsrfValidationCookieName

    The cookie name that is used to store the validation value

    Declaration
    public const string CsrfValidationCookieName = "UMB-XSRF-V"
    Field Value
    Type Description
    System.String
    View Source

    InstallerCookieName

    Declaration
    public const string InstallerCookieName = "umb_installId"
    Field Value
    Type Description
    System.String
    View Source

    NoContentRouteName

    The route name of the page shown when Umbraco has no published content.

    Declaration
    public const string NoContentRouteName = "umbraco-no-content"
    Field Value
    Type Description
    System.String
    View Source

    PreviewCookieName

    The preview cookie name

    Declaration
    public const string PreviewCookieName = "UMB_PREVIEW"
    Field Value
    Type Description
    System.String
    View Source

    TwoFactorRememberBrowserCookie

    The default authentication type used for remembering that 2FA is not needed on next login

    Declaration
    public const string TwoFactorRememberBrowserCookie = "TwoFactorRememberBrowser"
    Field Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • AcceptPreviewCookieName
      • AngularCookieName
      • AngularHeadername
      • CsrfValidationCookieName
      • InstallerCookieName
      • NoContentRouteName
      • PreviewCookieName
      • TwoFactorRememberBrowserCookie
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX