forked from xiongyuxing/tiku-backend.net
feat: add local authentication
This commit is contained in:
10
Tiku.Application/Security/JwtOptions.cs
Normal file
10
Tiku.Application/Security/JwtOptions.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Tiku.Application.Security;
|
||||
|
||||
public sealed class JwtOptions
|
||||
{
|
||||
public string Issuer { get; set; } = "tiku-backend";
|
||||
public string Audience { get; set; } = "tiku-api";
|
||||
public string SigningKey { get; set; } = "development-only-tiku-signing-key-change-before-production";
|
||||
public int AccessTokenMinutes { get; set; } = 30;
|
||||
public int RefreshTokenDays { get; set; } = 30;
|
||||
}
|
||||
Reference in New Issue
Block a user