mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
23 lines
607 B
C#
23 lines
607 B
C#
namespace Cleanuparr.Api.Auth;
|
|
|
|
/// <summary>
|
|
/// Names used by the API key authentication scheme.
|
|
/// </summary>
|
|
public static class ApiKeyAuthenticationDefaults
|
|
{
|
|
/// <summary>
|
|
/// Scheme name registered for API key authentication.
|
|
/// </summary>
|
|
public const string AuthenticationScheme = "ApiKey";
|
|
|
|
/// <summary>
|
|
/// Request header that carries the API key.
|
|
/// </summary>
|
|
public const string HeaderName = "X-Api-Key";
|
|
|
|
/// <summary>
|
|
/// Query string parameter that carries the API key.
|
|
/// </summary>
|
|
public const string QueryParameterName = "apikey";
|
|
}
|