Validate the Token
post
/oauth2/v1/introspect
Request
Supported Media Types
- application/x-www-form-urlencoded
Header Parameters
-
Authorization: string
Basic Authorization. Base64 encoding of client credentials
Root Schema : schema
Type:
Show Source
object
-
token:
string
Access TokenExample:
eyJ4NXQiOiI4Wk5NMEFfNWFuSTc0dGp3Y3FWcWtMN3Z0Q2ciLCJraWQiOiJwcml2YWVrZXkxIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI1YzA4NDcyMi03Njk3LTQ2NzgtOWVmNC01ZDMxYjg5MjgzYTMiLCJuYmYiOjE0NDA3NTk0MDgsInNjb3BlIjoiQUNNRUNhbmRpZGF0ZVByb2ZpbGVTZXJ2aWNlLnJlc3VtZXNfbW9udGhzIG9mZmxpbmVfYWNjZXNzIiwiaXNzIjoiaWRjcy5vcmFjbGUuY29tIiwiZXhwIjoxNDQwNzYzMDA4LCJpYXQiOjE0NDA3NTk0MDgsInRlbmFudCI6IlRFTkFOVDEiLCJqdGkiOiI0MGU2MjU1ZS1lOGVhLTQ5ZTYtYmVlYy03ZjgwMzdkZDM3YTAifQ.OyDEHQB_RHEaeHjKak7coN1w-wsJjH_1a0ehu8h7pKE7uGJLB6fWWHzCMfLk9eXNb_eUvuNNGB7sx7TlRKHFpw
Response
Supported Media Types
- application/json
200 Response
Access Token validated
Root Schema : introspect
Type:
object
Validate the token
Show Source
-
active:
string
Active status of the Access Token
-
exp:
number
Expiry time of the Access Token
-
iat:
number
Issue time of the Access Token
-
iss:
string
Issuer of the Access Token
-
nbf:
number
Not before in Access Token
-
preferred_username:
string
Preferred User Name
-
prn:
string
Principal of the Access Token
-
scope:
string
Scope provided in the Access Token
-
token_type:
string
Token type
400 Response
Invalid request
Root Schema : error
Type:
object
Error message that appears during Access Token generation
Show Source
-
error:
string
Error values that are based on the OAuth specification
-
error_description:
string
Detailed error messages
401 Response
Invalid client
Root Schema : error
Type:
object
Error message that appears during Access Token generation
Show Source
-
error:
string
Error values that are based on the OAuth specification
-
error_description:
string
Detailed error messages