28 lines
540 B
C#
28 lines
540 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace JWTHelper
|
|
{
|
|
public class JWTConfig
|
|
{
|
|
|
|
public string TokenKey { get; set; }
|
|
|
|
public bool ValidateIssuer { get; set; }
|
|
public string Issuer { get; set; }
|
|
|
|
|
|
public bool ValidateAudience { get; set; }
|
|
public string Audience { get; set; }
|
|
|
|
public bool ValidateIssuerSigningKey { get; set; }
|
|
public string SecretKey { get; set; }
|
|
|
|
|
|
public bool ValidateLifetime { get; set; }
|
|
|
|
|
|
}
|
|
}
|