mirror of
https://github.com/ryzij/AMessanger-Server.git
synced 2026-09-18 19:25:38 +00:00
Add JwtService
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace AMessanger.Application.Settings;
|
||||
|
||||
public class JwtSettings
|
||||
{
|
||||
public const string SECTION_NAME = "Jwt";
|
||||
|
||||
public string Issuer { get; set; } = null!;
|
||||
public string Audience { get; set; } = null!;
|
||||
public int ExpiresMinutes { get; set; }
|
||||
public string Key { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user