Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
1.4 KiB

// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ==========================================================================
using Squidex.Infrastructure;
using Squidex.Shared;
namespace Squidex.Web
{
public static class Constants
{
public const string SecurityDefinition = "squidex-oauth-auth";
public const string OrleansClusterId = "squidex-v2";
public const string ApiSecurityScheme = "API";
public const string PrefixApi = "/api";
public const string PrefixOrleans = "/orleans";
public const string PrefixPortal = "/portal";
public const string PrefixIdentityServer = "/identity-server";
public const string ScopePermissions = "permissions";
public const string ScopeProfile = "squidex-profile";
public const string ScopeRole = "role";
public const string ScopeApi = "squidex-api";
public static readonly string ClientFrontendId = DefaultClients.Frontend;
public static readonly string ClientInternalId = "squidex-internal";
public static readonly string ClientInternalSecret = "squidex-internal".ToSha256Base64();
}
}