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.
37 lines
1.1 KiB
37 lines
1.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.Server.SystemNetHttp;
|
|
|
|
/// <summary>
|
|
/// Exposes common constants used by the OpenIddict server/System.Net.Http integration.
|
|
/// </summary>
|
|
public static class OpenIddictServerSystemNetHttpConstants
|
|
{
|
|
public static class Charsets
|
|
{
|
|
public const string Utf8 = "utf-8";
|
|
}
|
|
|
|
public static class ContentEncodings
|
|
{
|
|
public const string Brotli = "br";
|
|
public const string Deflate = "deflate";
|
|
public const string Gzip = "gzip";
|
|
public const string Identity = "identity";
|
|
}
|
|
|
|
public static class MediaTypes
|
|
{
|
|
public const string Json = "application/json";
|
|
}
|
|
|
|
public static class Properties
|
|
{
|
|
public const string ClientIdMetadataDocument = ".ClientIdMetadataDocument";
|
|
public const string ClientIdMetadataDocumentFetchRequired = ".ClientIdMetadataDocumentFetchRequired";
|
|
}
|
|
}
|
|
|