persistence/DD.Persistence.Models/Configurations/JwtParams.cs
Оля Бизюкова 9a281238e9
All checks were successful
Unit tests / test (push) Successful in 1m14s
Добавлен проект с DTO - DD.Persistence.Models
Удалена папка Models из проекта DD.Persistence
2025-01-14 11:59:28 +05:00

19 lines
549 B
C#

using Microsoft.IdentityModel.Tokens;
using System.Text;
namespace DD.Persistence.Models.Configurations
{
public static class JwtParams
{
private static readonly string KeyValue = "супер секретный ключ для шифрования";
public static SymmetricSecurityKey SecurityKey
{
get { return new SymmetricSecurityKey(Encoding.ASCII.GetBytes(KeyValue)); }
}
public static readonly string Issuer = "a";
public static readonly string Audience = "a";
}
}