Skip to content

introspectToken

Luis Huertas edited this page Feb 4, 2022 · 1 revision

Introspect Access Token

Introspect the subject token

Base Url : http://your-app-base-url.com

Endpoint : /auth/introspect/

Method : POST

Auth required : No

Permissions required : none

Request

type: body

{
  "access_token": "token"
}

Request Fields Description

key value description
access_token token The subject access token

Response

{
  "code": 200001,
  "message": "Token introspected",
  "content": {
    "subject": {
      "id": 1,
      "name": "Subject Name",
      "subjectType": "user"
    }
  }
}

Response Fields Description

key value description
code 200001 result code
message Token introspected result message
content Object The response of the subject token introspection
id 1 The subject identifier
name Subject Name The subject name
subjectType user The type of subject client or user

Response codes

  • If response is success, http status will be 201 and code in body will be 200001
code description
500000 Not categorized error
400000 Invalid body
400003 Invalid token
200001 option was created
Clone this wiki locally