POST /internal/oauth/introspect

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

OAuth - 内部接口 None application/json

请求体

接受空 JSON 对象 {}

响应

状态描述Schema
200自检结果(含 active, client_id, user_id, scope, exp)handler.swaggerInternalIntrospectDetailResponse
400请求参数错误:缺少 tokenservice-core/base/dto.SimpleResponse
500服务内部错误service-core/base/dto.SimpleResponse

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-oauth/internal/handler/dto.InternalIntrospectResponse

字段类型必填示例约束描述
active boolean 否
client_id string 否
exp integer 否
scope string 否
user_id string 否

handler.swaggerInternalIntrospectDetailResponse

字段类型必填示例约束描述
code integer 否
data service-oauth/internal/handler/dto.InternalIntrospectResponse 否
message string 否