JwtConfig
JWT signing configuration.
public sealed record JwtConfig : IEquatable<JwtConfig>
Constructors
JwtConfig
public JwtConfig(byte[] SigningKey, TimeSpan TokenLifetime)
JWT signing configuration.
| Parameter | Type | Description |
|---|---|---|
SigningKey |
Byte[] |
|
TokenLifetime |
TimeSpan |
Properties
SigningKey
public byte[] SigningKey { get; init; }
TokenLifetime
public TimeSpan TokenLifetime { get; init; }