home > API > [/token_info] > |
request url |
https://[SERVER]:[PORT]/token_info[?PARAMETER1=value[&...]] |
short description |
Validates a JWT token |
long description |
Validates a JWT token an provides information about it in JSON format. |
parameters |
name |
type |
description |
token |
string |
JWT token to validate |
scope |
string list |
Comma separated list of right names. Name lists are separated by commas. (optional, default all available rights) |
|
result |
# |
name |
type |
description |
0 |
complex |
json |
See further information |
|
examples |
|
further information |
The result is a JSON object with the boolean property 'active' that is true when the token is valid and can be user to login into OLAP.
In case of a valid token, the response contains the following additional properties:
- username: OLAP user that the token authenticates.
- exp: expiration date of the token given in UNIX time.
- scope: an object that contains the Jedox Web rights for the user. The possible values are N, R, W, and D.
|