17 lines
406 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 中心化用户鉴权服务
## 认证(用户的身份问题 ID 你是谁)
```sh
curl --location 'http://127.0.0.1:8020/api/mcenter/v1/token/validate' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"access_token": "ANfXCQ3tjDNv5y1mq4F1mSBw"
}'
```
## 鉴权(用户能访问哪些接口, 你能干什么Role)
1. api 注册给 mcenter