encode

simple version that accepts only strings as values for payload and header fields

  1. string encode(string[string] payload, string key, JWTAlgorithm algo, string[string] header_fields)
    string
    encode
    (
    string[string] payload
    ,
    string key
    ,,
    string[string] header_fields = null
    )
  2. string encode(JSONValue payload, string key, JWTAlgorithm algo, JSONValue header_fields)
  3. string encode(ubyte[] payload, string key, JWTAlgorithm algo, JSONValue header_fields)

Meta