JwtUtil.sign

Undocumented in source. Be warned that the author may not have intended to support it.
  1. string sign(string username, string secret, JwtAlgorithm algo)
  2. string sign(string username, string secret, string[string] claims, JwtAlgorithm algo)
  3. string sign(string username, string secret, Duration expireTime, string[string] claims, JwtAlgorithm algo)
  4. string sign(string username, string secret, Duration expireTime, JSONValue claims, JwtAlgorithm algo)
    class JwtUtil
    static
    string
    sign
    (
    string username
    ,
    string secret
    ,
    Duration expireTime
    ,
    JSONValue claims
    ,
    JwtAlgorithm algo = JwtAlgorithm.HS512
    )

Meta