CodeLiturgy.Dashboard/BlueWest.Api/Users/Constants.cs

32 lines
753 B
C#
Raw Normal View History

2022-09-10 00:33:17 +03:00
namespace BlueWest.WebApi.Context.Users;
public static class Constants
{
2022-09-11 01:22:04 +03:00
/// <summary>
/// AdminRoleName
/// </summary>
2022-09-10 00:33:17 +03:00
public const string AdminRoleName = "Admin";
2022-09-11 01:22:04 +03:00
/// <summary>
/// UserRoleName
/// </summary>
2022-09-10 00:33:17 +03:00
public const string UserRoleName = "User";
public const string ExpectatorRoleName = "Expectator";
2022-09-11 01:22:04 +03:00
/// <summary>
/// JwtClaimIdentifiers
/// </summary>
2022-09-10 00:33:17 +03:00
public static class JwtClaimIdentifiers
{
public const string Rol = "rol", Id = "id";
}
2022-09-11 01:22:04 +03:00
/// <summary>
/// JwtClaims
/// </summary>
2022-09-10 00:33:17 +03:00
public static class JwtClaims
{
2022-09-11 01:22:04 +03:00
/// <summary>
/// JwtClaims.ApiAccess
/// </summary>
2022-09-10 00:33:17 +03:00
public const string ApiAccess = "api_access";
}
}