using Microsoft.IdentityModel.Tokens;

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