9a281238e9
All checks were successful
Unit tests / test (push) Successful in 1m14s
Удалена папка Models из проекта DD.Persistence
19 lines
549 B
C#
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";
|
|
}
|
|
}
|