View Source
Class Constants.Security
Inheritance
System.Object
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
AdminGroupKey
The key of the admin group
Declaration
public static readonly Guid AdminGroupKey
Field Value
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 |
|
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
EditorGroupKey
The key of the editor group
Declaration
public static readonly Guid EditorGroupKey
Field Value
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
OpenIdDictSubClaimType
The claim type for the mandatory OpenIdDict sub claim
Declaration
public const string OpenIdDictSubClaimType = "sub"
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
SensitiveDataGroupKey
The key of the sensitive data group
Declaration
public static readonly Guid SensitiveDataGroupKey
Field Value
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
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
SuperUserKey
Gets the unique key of the 'super' user.
Declaration
public static readonly Guid SuperUserKey
Field Value
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
TranslatorGroupKey
The key of the translator group
Declaration
public static readonly Guid TranslatorGroupKey
Field Value
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 |
|
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 |
|
View Source
WriterGroupKey
The key of the writer group
Declaration
public static readonly Guid WriterGroupKey
Field Value