1
This commit is contained in:
13
Gatedge.ScanCode/Options/FileOption.cs
Normal file
13
Gatedge.ScanCode/Options/FileOption.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Gatedge.ScanCode.Options
|
||||
{
|
||||
/// <summary>
|
||||
/// 文件配置类
|
||||
/// </summary>
|
||||
public class FileOption
|
||||
{
|
||||
/// <summary>
|
||||
/// 文件目录
|
||||
/// </summary>
|
||||
public string DonwloadPath { get; set; }
|
||||
}
|
||||
}
|
||||
25
Gatedge.ScanCode/Options/JwtOption.cs
Normal file
25
Gatedge.ScanCode/Options/JwtOption.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace Gatedge.ScanCode.Options;
|
||||
|
||||
/// <summary>
|
||||
/// JWT配置类
|
||||
/// </summary>
|
||||
public class JwtOption
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string SecretKey { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Issuer { get; set; }
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Audience { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 失效时间(秒)
|
||||
/// </summary>
|
||||
public long FailureTime { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user