JwtUtil

Members

Static functions

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.

Static variables

EXPIRE_TIME
Duration EXPIRE_TIME;
Undocumented in source.

Meta