32 lines
753 B
C#
32 lines
753 B
C#
namespace BlueWest.WebApi.Context.Users;
|
|
|
|
public static class Constants
|
|
{
|
|
/// <summary>
|
|
/// AdminRoleName
|
|
/// </summary>
|
|
public const string AdminRoleName = "Admin";
|
|
/// <summary>
|
|
/// UserRoleName
|
|
/// </summary>
|
|
public const string UserRoleName = "User";
|
|
public const string ExpectatorRoleName = "Expectator";
|
|
/// <summary>
|
|
/// JwtClaimIdentifiers
|
|
/// </summary>
|
|
public static class JwtClaimIdentifiers
|
|
{
|
|
public const string Rol = "rol", Id = "id";
|
|
}
|
|
|
|
/// <summary>
|
|
/// JwtClaims
|
|
/// </summary>
|
|
public static class JwtClaims
|
|
{
|
|
/// <summary>
|
|
/// JwtClaims.ApiAccess
|
|
/// </summary>
|
|
public const string ApiAccess = "api_access";
|
|
}
|
|
} |