jwt.jwt

Undocumented in source.

Members

Classes

Token
class Token

represents a token

Functions

decode
Token decode(string encodedToken)
Undocumented in source. Be warned that the author may not have intended to support it.
verify
Token verify(string encodedToken, string secret, JWTAlgorithm[] algs)

verifies the tokens is valid, using the algorithm given instead of the alg field in the claims

verify
Token verify(string encodedToken)

verifies the tokens is valid, used in case the token was signed with "none" as algorithm

Meta