JwtSign
Reference
Parameters
payload
Component data2-core-primitives@Object
headers
Component data2-core-primitives@Object
expirationTime
Component data2-core-primitives@String
privateKey
Component data2-core-primitives@String
algorithm
Component data2-core-primitives@String
One of 'RS256' | 'HS256'
keytype
Component data2-core-primitives@String
One of 'pkcs8' | 'spki' | 'x509' | 'secret'