addAudience

addAudience(audience: String);

The addAudience method of the JadeJsonWebToken class adds an audience (aud) claim specified in the audience parameter to the JSON Web Token.

The audience claim identifies the recipients for which the JWT is intended. Each principal intended to process the JWT must identify itself with a value in the audience claim.

2020.0.01 and higher