JwtHelper.Encode Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Encode(IDictionary, Nullable)

Encode a JSON web token.

public static string Encode(IDictionary claims, int? exp = default(int? ))

Parameters

claims
System.Collections.Generic.IDictionary{System.String,System.String}
exp
System.Nullable{System.Int32}

Returns

System.String

The encoded JWT token string.