Class JWTParams
The configuration parameters necessary to defne a JSON Web Token (JWT).
Inherited Members
Namespace: Quantellia.WMServer.Auth
Assembly: WMServer.dll
Syntax
public static class JWTParams
Properties
AccessTokenLifetime
Lifetime of the access token in minutes.
Declaration
public static int AccessTokenLifetime { get; }
Property Value
Type | Description |
---|---|
int |
Audience
The JWT Audience
Declaration
public static string Audience { get; }
Property Value
Type | Description |
---|---|
string |
Issuer
The JWT Issuer
Declaration
public static string Issuer { get; }
Property Value
Type | Description |
---|---|
string |
Key
Initialize the static parameters from the configuration.
Declaration
public static string Key { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
The "JWT" section of the application config is read for values:
The vaues of these may be literal strings, or macro symbols that can be substituted for system valeus:
RefreshTokenLifetime
Lifetime of the access token in minutes.
Declaration
public static int RefreshTokenLifetime { get; }
Property Value
Type | Description |
---|---|
int |