开放平台
读取授权用户信息
GET /v1/oauth2/userinfo
GET
/v1/oauth2/userinfo仅接受 OAuth access token;sub 始终返回,profile:read 与 email:read 各控制对应字段。
Bearer 令牌(profile:read) 或 Bearer 令牌(email:read)
此接口无需请求参数。
返回值
成功
substring必填preferred_usernamestring可选namestring可选picturestring | null可选emailstring | null可选email_verifiedboolean可选接口信息
接口: GET /v1/oauth2/userinfo
operationId: getOAuthUserinfo
仅接受 OAuth access token;sub 始终返回,profile:read 与 email:read 各控制对应字段。