account:read 授权。 原始凭据不落库;成功后只保存可逆加密令牌包。Idempotency-Key 必须是 UUID。{
"provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
"identifier": "string",
"secret": "string"
}curl --location '/api/v1/auth/resource-services/bindings' \
--header 'Idempotency-Key;' \
--header 'Content-Type: application/json' \
--data '{
"provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
"identifier": "string",
"secret": "string"
}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
"issuer": "http://example.com",
"uid": "string",
"account": "string",
"name": "string",
"status": "string",
"snapshot": {
"property1": "string",
"property2": "string"
},
"grant_expires_at": "2019-08-24T14:15:22.123Z",
"access_expires_at": "2019-08-24T14:15:22.123Z",
"refresh_expires_at": "2019-08-24T14:15:22.123Z"
}