CodeLiturgy.Dashboard/CodeLiturgy.Views/Application/Users/Constants.cs

36 lines
758 B
C#
Raw Normal View History

2022-11-18 03:15:53 +03:00
namespace CodeLiturgy.Data.Auth.Context.Users;
2022-09-26 04:40:18 +03:00
public static class Constants
{
2022-11-17 00:17:44 +03:00
public const string CorsPolicyName = "_myAllowSpecificOrigins";
2022-09-26 04:40:18 +03:00
/// <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";
}
2022-11-17 00:17:44 +03:00
public static class CookieClaims
{
/// <summary>
/// JwtClaims.ApiAccess
/// </summary>
public const string CookieAccess = "cookie_access";
}
2022-09-26 04:40:18 +03:00
}