ildar-shaymukhametov_grandnode-refactorings/Grand.Api/Infrastructure/Extensions/JwtSecurityKey.cs
using Microsoft.IdentityModel.Tokens;
using System.Text;

namespace Grand.Api.Infrastructure.Extensions
{
    public static class JwtSecurityKey
    {
        public static SymmetricSecurityKey Create(string secret)
        {
            return new SymmetricSecurityKey(Encoding.ASCII.GetBytes(secret));
        }
    }
}
