21 lines
656 B
C#
21 lines
656 B
C#
// <copyright file="ApiErrorCodes.cs" company="alveus.dev">
|
|
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
|
|
// </copyright>
|
|
|
|
namespace Astral.ApiServer.Constants;
|
|
|
|
/// <summary>
|
|
/// Collection of API error codes.
|
|
/// </summary>
|
|
public static class ApiErrorCodes
|
|
{
|
|
/// <summary>
|
|
/// Attempted to authenticate with an unsupported grant type.
|
|
/// </summary>
|
|
public const string UnsupportedGrantType = "unsupported-grant-type";
|
|
|
|
/// <summary>
|
|
/// Attempted to authenticate with an unsupported token scope.
|
|
/// </summary>
|
|
public const string UnsupportedTokenScope = "unsupported-token-scope";
|
|
}
|