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.
71 lines
2.1 KiB
71 lines
2.1 KiB
/*
|
|
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
|
* See https://github.com/openiddict/openiddict-core for more information concerning
|
|
* the license and the contributors participating to this project.
|
|
*/
|
|
|
|
namespace OpenIddict.Core
|
|
{
|
|
public static class OpenIddictConstants
|
|
{
|
|
public static class AuthorizationTypes
|
|
{
|
|
public const string AdHoc = "ad-hoc";
|
|
public const string Permanent = "permanent";
|
|
}
|
|
|
|
public static class Claims
|
|
{
|
|
public const string Roles = "roles";
|
|
}
|
|
|
|
public static class ClientTypes
|
|
{
|
|
public const string Confidential = "confidential";
|
|
public const string Hybrid = "hybrid";
|
|
public const string Public = "public";
|
|
}
|
|
|
|
public static class Environment
|
|
{
|
|
public const string AuthorizationRequest = "openiddict-authorization-request:";
|
|
public const string LogoutRequest = "openiddict-logout-request:";
|
|
}
|
|
|
|
public static class Metadata
|
|
{
|
|
public const string ExternalProvidersSupported = "external_providers_supported";
|
|
}
|
|
|
|
public static class Properties
|
|
{
|
|
public const string AuthenticationTicket = ".authentication_ticket";
|
|
public const string AuthorizationId = ".authorization_id";
|
|
}
|
|
|
|
public static class PropertyTypes
|
|
{
|
|
public const string Boolean = "#public_boolean";
|
|
public const string Integer = "#public_integer";
|
|
public const string Json = "#public_json";
|
|
public const string String = "#public_string";
|
|
}
|
|
|
|
public static class Separators
|
|
{
|
|
public const string Space = " ";
|
|
}
|
|
|
|
public static class Scopes
|
|
{
|
|
public const string Roles = "roles";
|
|
}
|
|
|
|
public static class Statuses
|
|
{
|
|
public const string Redeemed = "redeemed";
|
|
public const string Revoked = "revoked";
|
|
public const string Valid = "valid";
|
|
}
|
|
}
|
|
}
|
|
|