$privateKey
$privateKey :
getJWT( $exp = null, $nbf = null, $sub = null, $iss = 'Test Client ID', $jti = null) : string
Generates a JWT
| $exp | The expiration date. If the current time is greater than the exp, the JWT is invalid. |
|
| $nbf | The "not before" time. If the current time is less than the nbf, the JWT is invalid. |
|
| $sub | The subject we are acting on behalf of. This could be the email address of the user in the system. |
|
| $iss | The issuer, usually the client_id. |
|
| $jti |