A AuthMS API Wiki API Reference iam.tianv.com →

POST /internal/introspect

内部令牌自检端点,无JWT认证,仅内部服务间调用。使用系统标准信封 dto_base.DataResponse[T]。与标准 Introspect 端点的区别在于:仅接受 JSON body(不兼容 form-encoded),响应使用系统标准信封而非 OAuth 扁平格式,不暴露给外部 OAuth Client。

OAuth - 内部接口 None application/json

Request Body

Accepts an empty JSON object {}

Responses

StatusDescriptionSchema
200自检结果(含 active, client_id, user_id, scope, exp)handler.swaggerInternalIntrospectDetailResponse
400请求参数错误:缺少 tokengitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_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