curl --request POST \
--url https://api.provident.ae/v2/oauth2/introspect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"active": true,
"client_id": "<string>",
"scope": "<string>",
"exp": 123,
"iat": 123,
"username": "<string>"
}curl --request POST \
--url https://api.provident.ae/v2/oauth2/introspect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"active": true,
"client_id": "<string>",
"scope": "<string>",
"exp": 123,
"iat": 123,
"username": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The token to introspect
Boolean indicating whether the token is active
Client ID associated with the token
Space-separated list of scopes
Token expiration timestamp in seconds since epoch
Token issuance timestamp in seconds since epoch
Username of the associated user, if any