mirror of https://github.com/Squidex/squidex.git
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.5 KiB
43 lines
1.5 KiB
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschränkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using Squidex.Infrastructure;
|
|
using Squidex.Shared;
|
|
|
|
namespace Squidex.Web
|
|
{
|
|
public static class Constants
|
|
{
|
|
public static readonly string SecurityDefinition = "squidex-oauth-auth";
|
|
|
|
public static readonly string ApiPrefix = "/api";
|
|
|
|
public static readonly string ApiScope = "squidex-api";
|
|
|
|
public static readonly string OrleansClusterId = "squidex";
|
|
|
|
public static readonly string OrleansPrefix = "/orleans";
|
|
|
|
public static readonly string PortalPrefix = "/portal";
|
|
|
|
public static readonly string EmailScope = "email";
|
|
|
|
public static readonly string RoleScope = "role";
|
|
|
|
public static readonly string PermissionsScope = "permissions";
|
|
|
|
public static readonly string ProfileScope = "squidex-profile";
|
|
|
|
public static readonly string FrontendClient = DefaultClients.Frontend;
|
|
|
|
public static readonly string InternalClientId = "squidex-internal";
|
|
|
|
public static readonly string InternalClientSecret = "squidex-internal".Sha256Base64();
|
|
|
|
public static readonly string IdentityServerPrefix = "/identity-server";
|
|
}
|
|
}
|
|
|