getAuth
Get an authorization token to use with JWKS
Syntax
messageHandler.getAuth().then(function(state){//do something});
// or
let status=await messageHandler.getAuth();
The AuthToken Object
- uid: The unique identifier of the JWKS token
- token: The compact JWS token
- expiry_date: The expiry date of the token
-
{
"uid": "eyJ0eXAiOiJKV1QiLA0KIC",
"token": "eyJ0eXAiOiJKV1QiLA0KICJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJqb2UiLA0KICJleHAiOjEzMDA4MTkzODAsDQogImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ.dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk",
"expiry_date": "2021-07-20T14:00:00.000Z"
}
To learn more about the JWKS tokens process click here
Updated 8 days ago