Autional Autional
API Reference GitHub autional.com →

POST /internal/oauth/introspect

Internal token introspection endpoint, no JWT authentication, only for inter-service calls. Uses system standard envelope dto_base.DataResponse[T]. Differs from standard Introspect endpoint: accepts only JSON body (not form-encoded), response uses system standard envelope instead of OAuth flat format, not exposed to external OAuth clients.

OAuth - Internal None application/json

Request Body

Accepts an empty JSON object {}

Responses

StatusDescriptionSchema
200Introspection result (includes active, client_id, user_id, scope, exp)handler.swaggerInternalIntrospectDetailResponse
400Invalid request parameters: missing tokengitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.InternalIntrospectResponse

FieldTypeRequiredExampleConstraintsDescription
active boolean No
client_id string No
exp integer No
scope string No
user_id string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

handler.swaggerInternalIntrospectDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.InternalIntrospectResponse No
message string No