Show / Hide Table of Contents

Class JWTParams

The configuration parameters necessary to defne a JSON Web Token (JWT).

Inheritance
object
JWTParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE