[feature] python兼容层基本完成
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace IwutMail.Model
|
||||
{
|
||||
public class SecretConfig
|
||||
{
|
||||
public string HashSalt { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
namespace SiteManagementSystem_SoftwareEngineering_.Model
|
||||
{
|
||||
public class TokenFactoryConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// AccessToken有效期(分钟)
|
||||
/// </summary>
|
||||
public int AccessTokenExpire { get; set; } = 60;
|
||||
|
||||
/// <summary>
|
||||
/// RefreshToken有效期(分钟)
|
||||
/// </summary>
|
||||
public int RefreshTokenExpire { get; set; } = 10080;
|
||||
|
||||
/// <summary>
|
||||
/// 在RefreshToken过期前多久自动刷新RefreshToken
|
||||
/// </summary>
|
||||
public int RefreshTokenBefore { get; set; } = 1440;
|
||||
|
||||
public string Issuer { get; set; } = null!;
|
||||
|
||||
public string Audience { get; set; } = null!;
|
||||
|
||||
public string SigningKey { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user