using Microsoft.IdentityModel.Tokens;
using System.Text;

namespace Lactose.Configuration;

public class SignKeyConfiguration {
    public const string SectionName = "SignKey";
    public       string Key { get; set; } = string.Empty;

    public SecurityKey GetSecurityKey() => new SymmetricSecurityKey(Encoding.UTF8.GetBytes(this.Key));
}
