refactor: Projektdateien migriert. Cloud-NuGet-Pakete durch lokale NuGet-Projekte ersetzt.
This commit is contained in:
18
HRD.LDAPService/JWT/JwtMiddlewareOptions.cs
Normal file
18
HRD.LDAPService/JWT/JwtMiddlewareOptions.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace HRD.LDAPService.JWT
|
||||
{
|
||||
public class JwtMiddlewareOptions
|
||||
{
|
||||
public string Secret { get; set; }
|
||||
|
||||
public int ExpirationInMin { get; set; } = 60 * 24 * 28; //28 Tage
|
||||
public List<JwtRole> JwtRoleList { get; set; }
|
||||
public List<string> AuthorizationFilterWhitelistPath { get; set; }
|
||||
public List<string> AuthorizationFilterBlacklistPath { get; set; }
|
||||
public bool AktivateAuthorizationFilter { get; set; } = true;
|
||||
public string Issuer { get; set; }
|
||||
public string Audience { get; set; }
|
||||
public bool DeaktivateLDAP { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user