2021-10-10 17:30:31 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
2021-10-10 17:52:23 +08:00
|
|
|
|
namespace Yi.Framework.Common.IOCOptions
|
2021-10-10 17:30:31 +08:00
|
|
|
|
{
|
|
|
|
|
|
public class JWTTokenOptions
|
|
|
|
|
|
{
|
2022-04-02 17:44:50 +08:00
|
|
|
|
public string Audience { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string Issuer { get; set; }
|
2022-04-07 17:57:08 +08:00
|
|
|
|
|
2022-04-02 17:44:50 +08:00
|
|
|
|
public string DefaultScheme { get; set; }
|
|
|
|
|
|
public int Expiration { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public int ReExpiration { get; set; }
|
2021-10-10 17:30:31 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|