encodeJWTToken

Encode values into a JWTToken string that gets stored into the output parameter.

  1. void encodeJWTToken(Out output, JWTAlgorithm algo, string secret, Args args)
    void
    encodeJWTToken
    (
    Out
    Args...
    )
    (
    ref Out output
    ,,
    string secret
    ,
    Args args
    )
  2. void encodeJWTToken(Out output, JWTAlgorithm algo, string secret, const(Json) args)

Parameters

output Out

The Output Range to store the JWTToken string

algo JWTAlgorithm

The algorithm to encode the JWTToken with

secret string

The secret to use to encode the JWTToken with

args Args

The values to encode into the JWTToken. Args must be come in pairs of two. A string and a value.

Meta