JwtHelper Class

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

Helper class for encoding and decoding JWT tokens. See https://tools.ietf.org/html/rfc7519 and https://www.iana.org/assignments/jwt/jwt.xhtml.

public static class JwtHelper
Inheritance:
System.Object → JwtHelper

Methods

Decode(string) Decodes a JSON web token.
Encode(IDictionary, int?) Encode a JSON web token.