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

GET /oauth/consents

获取当前用户已授权的所有 OAuth 客户端同意记录,包括客户端 ID、授权范围及授权时间。

OAuth `bearerAuth` application/json

Responses

StatusDescriptionSchema
200授权同意列表dto.ConsentListResponse
401未认证:请提供有效的 Bearer Tokengitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.ConsentListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data array of

See dto.ConsentResponse

No
message string No
timestamp string No

dto.ConsentResponse

FieldTypeRequiredExampleConstraintsDescription
client_id string No app-123
granted_at string No 2026-04-15T10:30:00Z
id string No 01ARZ3NDEKTSV4RRFFQ69G5FAV
scopes string No openid profile email

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No