generate Jwt
Sign the payload with JWT.
Return
The signed JWT.
Parameters
base64Secret
The shared secret.
data
The data to sign.
Throws
If the secret is null or empty.
Sign the payload with JWT.
The signed JWT.
The shared secret.
The data to sign.
If the secret is null or empty.