📜  API Key Authentication, Basic , Pasword Grant, Client Credentials - BASIC 代码示例

📅  最后修改于: 2022-03-11 14:52:01.864000             🧑  作者: Mango

代码示例1
curl --request POST \
  --url 'https://YOUR_DOMAIN/oauth/token' \
  --header 'content-type: application/json' \
  --data grant_type=client_credentials \
  --data client_id=YOUR_CLIENT_ID \
  --data client_secret=YOUR_CLIENT_SECRET \
  --data audience=YOUR_API_IDENTIFIER