addSubject

addSubject(subject : String) updating;

The addSubject method of the JadeJsonWebToken class adds a subject (sub) claim to the JSON Web Token. The subject claim specified in the subject parameter identifies the principal that is the subject of the JWT.

The claims in a JWT are normally statements about the subject.

2020.0.01 and higher