- getUsername
string getUsername(string token)
Undocumented in source. Be warned that the author may not have intended to support it.
- sign
string sign(string username, string secret, JwtAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
- sign
string sign(string username, string secret, string[string] claims, JwtAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
- sign
string sign(string username, string secret, Duration expireTime, string[string] claims, JwtAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
- sign
string sign(string username, string secret, Duration expireTime, JSONValue claims, JwtAlgorithm algo)
Undocumented in source. Be warned that the author may not have intended to support it.
- verify
bool verify(string token, string username, string secret)
Undocumented in source. Be warned that the author may not have intended to support it.