jwt_resign re-signs an existing JWT token. The original algorithm is honored. This transform works with both request tokens (generator created) and response tokens (responder created).
- If the
nbfclaim is defined in the token, then it is set to 10/10/2015
expset to now+2 days
iatclaim set to now (current time)
"iss": "new value",
"aud": "new value",
"sub": new value",
"secretPath": "local path of secret mounted to generator",
"prefixes": "Bearer ,myBearer "
|secretPath||The local path of secret mounted to generator (this is done automatically by the operator. See howto)|
|iss||(optional) A replacement for iss value|
|aud||(optional) A replacement for aud value|
|sub||(optional) A replacement for sub value|
|claims||(optional) key/val pairs to be overwritten into claims map (key1=val1,key2=val2)|
|prefixes||(optional) prefixes to accept before JWT (defaults to "Bearer "). Don't forget the space at the end if it is present.|