Click or drag to resize

IJwtServiceGenerateToken Method

Generate the JWT token.

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
string GenerateToken(
	Dictionary<string, string> jwtAttributes,
	bool useIat = false,
	bool useJti = false
)

Parameters

jwtAttributes
Type: System.Collections.GenericDictionaryString, String
A list of additional JWT claims.
useIat (Optional)
Type: SystemBoolean
Specifies whether or not to use the JWT "iat" (Issued At) claim.
useJti (Optional)
Type: SystemBoolean
Specifies whether or not to use the JWT "jti" (JWT ID) claim.

Return Value

Type: String
The JWT token.
See Also