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 (haftungsbeschraenkt)
|
|
// 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 OrleansClusterId = "squidex-v2";
|
|
|
|
public static readonly string ApiSecurityScheme = "API";
|
|
|
|
public static readonly string PrefixApi = "/api";
|
|
|
|
public static readonly string PrefixOrleans = "/orleans";
|
|
|
|
public static readonly string PrefixPortal = "/portal";
|
|
|
|
public static readonly string PrefixIdentityServer = "/identity-server";
|
|
|
|
public static readonly string ScopePermissions = "permissions";
|
|
|
|
public static readonly string ScopeProfile = "squidex-profile";
|
|
|
|
public static readonly string ScopeRole = "role";
|
|
|
|
public static readonly 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();
|
|
}
|
|
}
|
|
|