You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
758 B
33 lines
758 B
namespace BuaaLocationServer.Middlewares.Jwts |
|
{ |
|
/// <summary> |
|
/// JWT 配置项。 |
|
/// </summary> |
|
public class JwtOptions |
|
{ |
|
/// <summary> |
|
/// Secret。 |
|
/// </summary> |
|
public string Secret { get; set; } = null!; |
|
|
|
/// <summary> |
|
/// Issuer。 |
|
/// </summary> |
|
public string Issuer { get; set; } = null!; |
|
|
|
/// <summary> |
|
/// Audience。 |
|
/// </summary> |
|
public string Audience { get; set; } = null!; |
|
|
|
/// <summary> |
|
/// Expires。 |
|
/// </summary> |
|
public double Expires { get; set; } |
|
|
|
/// <summary> |
|
/// Refresh Expires。 |
|
/// </summary> |
|
public double RefreshExpires { get; set; } |
|
} |
|
} |