using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.IdentityModel.Tokens;
namespace Common.Authentication
{
///
/// jwt身份认证发行者实体属性
///
public class JwtTokenProviderOptions
{
///
/// 发行者
///
public string Issuer { get; set; }
///
/// 订阅者
///
public string Audience { get; set; }
///
/// 过期的时间间隔
///
public TimeSpan Expiration { get; set; } = TimeSpan.FromDays(1);
///
/// 私钥密钥
///
public string Secretkey { get; set; }
///
/// 签名证书
///
public SigningCredentials SigningCredentials { get; set; }
}
}