授权接口
POST
/api/auth/oauth2/token
授权时Authorization的加密格式
请求参数
Header 参数
Authorization
string
可选
示例值:
Basic aHhfMDAwMDE6c2VjcmV0
Content-Type
string
可选
示例值:
application/x-www-form-urlencoded
Body 参数application/x-www-form-urlencoded
grant_type
string
可选
示例值:
client_credentials
scope
string
可选
示例值:
server
示例代码
返回响应
修改于 2025-02-21 01:25:08