18 lines
652 B
C#
18 lines
652 B
C#
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; }
|
|
}
|
|
} |