Search Results for

    Show / Hide Table of Contents
    View Source

    Class Constants.Security

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

    Fields

    View Source

    AdminGroupAlias

    Declaration
    public const string AdminGroupAlias = "admin"
    Field Value
    Type Description
    System.String
    View Source

    AllowedApplicationsClaimType

    Declaration
    public const string AllowedApplicationsClaimType = "http://umbraco.org/2015/02/identity/claims/backoffice/allowedapp"
    Field Value
    Type Description
    System.String
    View Source

    AspNetCoreV2PasswordHashAlgorithmName

    Declaration
    public const string AspNetCoreV2PasswordHashAlgorithmName = "PBKDF2.ASPNETCORE.V2"
    Field Value
    Type Description
    System.String
    View Source

    AspNetCoreV3PasswordHashAlgorithmName

    Declaration
    public const string AspNetCoreV3PasswordHashAlgorithmName = "PBKDF2.ASPNETCORE.V3"
    Field Value
    Type Description
    System.String
    View Source

    AspNetUmbraco4PasswordHashAlgorithmName

    Declaration
    public const string AspNetUmbraco4PasswordHashAlgorithmName = "HMACSHA1"
    Field Value
    Type Description
    System.String
    View Source

    AspNetUmbraco8PasswordHashAlgorithmName

    Declaration
    public const string AspNetUmbraco8PasswordHashAlgorithmName = "HMACSHA256"
    Field Value
    Type Description
    System.String
    View Source

    BackOfficeAuthenticationType

    Declaration
    public const string BackOfficeAuthenticationType = "UmbracoBackOffice"
    Field Value
    Type Description
    System.String
    View Source

    BackOfficeExternalAuthenticationType

    Declaration
    public const string BackOfficeExternalAuthenticationType = "UmbracoExternalCookie"
    Field Value
    Type Description
    System.String
    View Source

    BackOfficeExternalAuthenticationTypePrefix

    The prefix used for external identity providers for their authentication type

    Declaration
    public const string BackOfficeExternalAuthenticationTypePrefix = "Umbraco."
    Field Value
    Type Description
    System.String
    Remarks

    By default we don't want to interfere with front-end external providers and their default setup, for back office the providers need to be setup differently and each auth type for the back office will be prefixed with this value

    View Source

    BackOfficeExternalCookieName

    Declaration
    public const string BackOfficeExternalCookieName = "UMB_EXTLOGIN"
    Field Value
    Type Description
    System.String
    View Source

    BackOfficeTokenAuthenticationType

    Declaration
    public const string BackOfficeTokenAuthenticationType = "UmbracoBackOfficeToken"
    Field Value
    Type Description
    System.String
    View Source

    BackOfficeTwoFactorAuthenticationType

    Declaration
    public const string BackOfficeTwoFactorAuthenticationType = "UmbracoTwoFactorCookie"
    Field Value
    Type Description
    System.String
    View Source

    BackOfficeTwoFactorRememberMeAuthenticationType

    Declaration
    public const string BackOfficeTwoFactorRememberMeAuthenticationType = "UmbracoTwoFactorRememberMeCookie"
    Field Value
    Type Description
    System.String
    View Source

    DefaultMemberTypeAlias

    Declaration
    public const string DefaultMemberTypeAlias = "Member"
    Field Value
    Type Description
    System.String
    View Source

    EditorGroupAlias

    Declaration
    public const string EditorGroupAlias = "editor"
    Field Value
    Type Description
    System.String
    View Source

    EmptyPasswordPrefix

    Declaration
    public const string EmptyPasswordPrefix = "___UIDEMPTYPWORD__"
    Field Value
    Type Description
    System.String
    View Source

    MemberExternalAuthenticationTypePrefix

    Declaration
    public const string MemberExternalAuthenticationTypePrefix = "UmbracoMembers."
    Field Value
    Type Description
    System.String
    View Source

    SecurityStampClaimType

    The claim type for the ASP.NET Identity security stamp

    Declaration
    public const string SecurityStampClaimType = "AspNet.Identity.SecurityStamp"
    Field Value
    Type Description
    System.String
    View Source

    SensitiveDataGroupAlias

    Declaration
    public const string SensitiveDataGroupAlias = "sensitiveData"
    Field Value
    Type Description
    System.String
    View Source

    SessionIdClaimType

    Declaration
    public const string SessionIdClaimType = "http://umbraco.org/2015/02/identity/claims/backoffice/sessionid"
    Field Value
    Type Description
    System.String
    View Source

    StartContentNodeIdClaimType

    Declaration
    public const string StartContentNodeIdClaimType = "http://umbraco.org/2015/02/identity/claims/backoffice/startcontentnode"
    Field Value
    Type Description
    System.String
    View Source

    StartMediaNodeIdClaimType

    Declaration
    public const string StartMediaNodeIdClaimType = "http://umbraco.org/2015/02/identity/claims/backoffice/startmedianode"
    Field Value
    Type Description
    System.String
    View Source

    SuperUserId

    Gets the identifier of the 'super' user.

    Declaration
    public const int SuperUserId = -1
    Field Value
    Type Description
    System.Int32
    View Source

    SuperUserIdAsString

    Declaration
    public const string SuperUserIdAsString = "-1"
    Field Value
    Type Description
    System.String
    View Source

    TicketExpiresClaimType

    Declaration
    public const string TicketExpiresClaimType = "http://umbraco.org/2020/06/identity/claims/backoffice/ticketexpires"
    Field Value
    Type Description
    System.String
    View Source

    TranslatorGroupAlias

    Declaration
    public const string TranslatorGroupAlias = "translator"
    Field Value
    Type Description
    System.String
    View Source

    UnknownPasswordConfigJson

    Declaration
    public const string UnknownPasswordConfigJson = "{\"hashAlgorithm\":\"Unknown\"}"
    Field Value
    Type Description
    System.String
    View Source

    UnknownUserId

    The id for the 'unknown' user.

    Declaration
    public const int UnknownUserId = 0
    Field Value
    Type Description
    System.Int32
    Remarks

    This is a user row that exists in the DB only for referential integrity but the user is never returned from any of the services

    View Source

    UnknownUserName

    The name of the 'unknown' user.

    Declaration
    public const string UnknownUserName = "SYSTEM"
    Field Value
    Type Description
    System.String
    View Source

    WriterGroupAlias

    Declaration
    public const string WriterGroupAlias = "writer"
    Field Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • AdminGroupAlias
      • AllowedApplicationsClaimType
      • AspNetCoreV2PasswordHashAlgorithmName
      • AspNetCoreV3PasswordHashAlgorithmName
      • AspNetUmbraco4PasswordHashAlgorithmName
      • AspNetUmbraco8PasswordHashAlgorithmName
      • BackOfficeAuthenticationType
      • BackOfficeExternalAuthenticationType
      • BackOfficeExternalAuthenticationTypePrefix
      • BackOfficeExternalCookieName
      • BackOfficeTokenAuthenticationType
      • BackOfficeTwoFactorAuthenticationType
      • BackOfficeTwoFactorRememberMeAuthenticationType
      • DefaultMemberTypeAlias
      • EditorGroupAlias
      • EmptyPasswordPrefix
      • MemberExternalAuthenticationTypePrefix
      • SecurityStampClaimType
      • SensitiveDataGroupAlias
      • SessionIdClaimType
      • StartContentNodeIdClaimType
      • StartMediaNodeIdClaimType
      • SuperUserId
      • SuperUserIdAsString
      • TicketExpiresClaimType
      • TranslatorGroupAlias
      • UnknownPasswordConfigJson
      • UnknownUserId
      • UnknownUserName
      • WriterGroupAlias
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX