Skip to content

Jwt.Encode

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any String
Output ➡️ The resulting output of the shard String
PemEc No The Key in PEM ECDSA format to use for encoding the token. none NoneStringVar(String)
PemRsa No The Key in PEM RSA format to use for encoding the token. none NoneStringVar(String)
Algorithm No The algorithm to use for encoding (RS256, RS384, ES256, ES384). none StringVar(String)
Audience No The audience to encode in the token claims. none NoneStringVar(String)
Issuer No The issuer to encode in the token claims. none NoneStringVar(String)
ExpirationTime No The expiration time in seconds from now. none NoneIntVar(Int)

Encodes a JSON payload into a JWT token