CodeLiturgy.Dashboard/CodeLiturgy.Data.Auth/Users/Constants.cs

36 lines
755 B
C#
Raw Normal View History

2022-09-27 20:12:13 +03:00
namespace BlueWest.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
}