Table of Contents

Class Constants

Namespace
Oqtane.Shared
Assembly
Oqtane.Shared.dll
public class Constants
Inheritance
Constants

Fields

ActionToken

public const string ActionToken = "{Action}"

Field Value

string

AdminDashboardModule

public const string AdminDashboardModule = "Oqtane.Modules.Admin.Dashboard, Oqtane.Client"

Field Value

string

AdminPane

[Obsolete("Use PaneNames.Admin")]
public const string AdminPane = "Admin"

Field Value

string

AdminRole

[Obsolete("Use the corresponding member from Oqtane.Shared.RoleNames")]
public const string AdminRole = "Administrators"

Field Value

string

AdminSiteTemplate

public const string AdminSiteTemplate = "Oqtane.SiteTemplates.AdminSiteTemplate, Oqtane.Server"

Field Value

string

AllUsersRole

[Obsolete("Use the corresponding member from Oqtane.Shared.RoleNames")]
public const string AllUsersRole = "All Users"

Field Value

string

AntiForgeryTokenCookieName

public static readonly string AntiForgeryTokenCookieName

Field Value

string

AntiForgeryTokenHeaderName

public static readonly string AntiForgeryTokenHeaderName

Field Value

string

AuthenticationScheme

public static readonly string AuthenticationScheme

Field Value

string

BootstrapScriptIntegrity

public const string BootstrapScriptIntegrity = "sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg=="

Field Value

string

BootstrapScriptUrl

public const string BootstrapScriptUrl = "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js"

Field Value

string

BootstrapStylesheetIntegrity

public const string BootstrapStylesheetIntegrity = "sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg=="

Field Value

string

BootstrapStylesheetUrl

public const string BootstrapStylesheetUrl = "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css"

Field Value

string

ClientId

public const string ClientId = "Oqtane.Client"

Field Value

string

ContentUrl

public const string ContentUrl = "/api/file/download/"

Field Value

string

DataDirectory

public const string DataDirectory = "DataDirectory"

Field Value

string

DefaultAction

public const string DefaultAction = "Index"

Field Value

string

DefaultAdminContainer

public const string DefaultAdminContainer = "Oqtane.Themes.AdminContainer, Oqtane.Client"

Field Value

string

DefaultContainer

public const string DefaultContainer = "Oqtane.Themes.OqtaneTheme.Container, Oqtane.Client"

Field Value

string

DefaultCulture

public static readonly string DefaultCulture

Field Value

string

DefaultDBType

public const string DefaultDBType = "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer"

Field Value

string

DefaultHostModuleTypes

public static readonly string[] DefaultHostModuleTypes

Field Value

string[]

DefaultLayout

[Obsolete("DefaultLayout is deprecated")]
public const string DefaultLayout = ""

Field Value

string

DefaultModuleActions

public static readonly string[] DefaultModuleActions

Field Value

string[]

DefaultModuleActionsTemplate

public static readonly string DefaultModuleActionsTemplate

Field Value

string

DefaultSearchProviderName

public const string DefaultSearchProviderName = "DatabaseSearchProvider"

Field Value

string

DefaultSite

public const string DefaultSite = "Default Site"

Field Value

string

DefaultSiteTemplate

public const string DefaultSiteTemplate = "Oqtane.SiteTemplates.DefaultSiteTemplate, Oqtane.Server"

Field Value

string

DefaultTextEditor

public const string DefaultTextEditor = "Oqtane.Modules.Controls.QuillJSTextEditor, Oqtane.Client"

Field Value

string

DefaultTheme

public const string DefaultTheme = "Oqtane.Themes.OqtaneTheme.Default, Oqtane.Client"

Field Value

string

DefaultVisitorFilter

public static readonly string DefaultVisitorFilter

Field Value

string

ErrorModule

public const string ErrorModule = "Oqtane.Modules.Admin.Error.{Action}, Oqtane.Client"

Field Value

string

FileUrl

public const string FileUrl = "/files/"

Field Value

string

HostRole

[Obsolete("Use the corresponding member from Oqtane.Shared.RoleNames")]
public const string HostRole = "Host Users"

Field Value

string

HostUser

[Obsolete("Use UserNames.Host instead.")]
public const string HostUser = "host"

Field Value

string

HttpContextAliasKey

public static readonly string HttpContextAliasKey

Field Value

string

HttpContextSiteSettingsKey

public static readonly string HttpContextSiteSettingsKey

Field Value

string

ImageFiles

public const string ImageFiles = "jpg,jpeg,jpe,gif,bmp,png,ico,webp"

Field Value

string

ImageUrl

public const string ImageUrl = "/api/file/image/"

Field Value

string

InternalPagePaths

public static readonly string[] InternalPagePaths

Field Value

string[]

InvalidFileNameChars

public static readonly char[] InvalidFileNameChars

Field Value

char[]

InvalidFileNameEndingChars

public static readonly string[] InvalidFileNameEndingChars

Field Value

string[]

MasterTenant

[Obsolete("Use TenantNames.Master instead")]
public const string MasterTenant = "Master"

Field Value

string

MauiAliasPath

public static readonly string MauiAliasPath

Field Value

string

MauiCorsPolicy

public const string MauiCorsPolicy = "MauiCorsPolicy"

Field Value

string

MauiUserAgent

public static readonly string MauiUserAgent

Field Value

string

ModuleDelimiter

public const string ModuleDelimiter = "*"

Field Value

string

PackageId

public const string PackageId = "Oqtane.Framework"

Field Value

string

PackageRegistryUrl

public const string PackageRegistryUrl = "https://www.oqtane.net"

Field Value

string

PackagesFolder

public const string PackagesFolder = "Packages"

Field Value

string

PageManagementModule

public const string PageManagementModule = "Oqtane.Modules.Admin.Pages, Oqtane.Client"

Field Value

string

RegisteredRole

[Obsolete("Use the corresponding member from Oqtane.Shared.RoleNames")]
public const string RegisteredRole = "Registered Users"

Field Value

string

ReleaseVersions

public const string ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,2.0.0,2.0.1,2.0.2,2.1.0,2.2.0,2.3.0,2.3.1,3.0.0,3.0.1,3.0.2,3.0.3,3.1.0,3.1.1,3.1.2,3.1.3,3.1.4,3.2.0,3.2.1,3.3.0,3.3.1,3.4.0,3.4.1,3.4.2,3.4.3,4.0.0,4.0.1,4.0.2,4.0.3,4.0.4,4.0.5,4.0.6,5.0.0,5.0.1,5.0.2,5.0.3,5.1.0,5.1.1,5.1.2,5.2.0,5.2.1,5.2.2,5.2.3,5.2.4"

Field Value

string

RequestVerificationToken

public static readonly string RequestVerificationToken

Field Value

string

ReservedDevices

public const string ReservedDevices = "CON,NUL,PRN,COM0,COM1,COM2,COM3,COM4,COM5,COM6,COM7,COM8,COM9,LPT0,LPT1,LPT2,LPT3,LPT4,LPT5,LPT6,LPT7,LPT8,LPT9,CONIN$,CONOUT$"

Field Value

string

ReservedRoutes

public static readonly string[] ReservedRoutes

Field Value

string[]

SatelliteAssemblyExtension

public static readonly string SatelliteAssemblyExtension

Field Value

string

SecurityStampClaimType

public static readonly string SecurityStampClaimType

Field Value

string

SiteKeyClaimType

public static readonly string SiteKeyClaimType

Field Value

string

UpdaterPackageId

public const string UpdaterPackageId = "Oqtane.Updater"

Field Value

string

UploadableFiles

public const string UploadableFiles = "jpg,jpeg,jpe,gif,bmp,png,ico,webp,mov,wmv,avi,mp4,mp3,doc,docx,xls,xlsx,ppt,pptx,pdf,txt,zip,nupkg,csv,json,xml,rss,css"

Field Value

string

UrlParametersDelimiter

public const string UrlParametersDelimiter = "!"

Field Value

string

UserFolderCapacity

public const int UserFolderCapacity = 20

Field Value

int

Version

public static readonly string Version

Field Value

string

VisitorCookiePrefix

public static readonly string VisitorCookiePrefix

Field Value

string