بيانات اعتماد العميل (Client credentials)
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
use the flow for service-to-service calls.
الموضوعات المخطط لها
- No user is involved: a service proves itself with its own client ID and secret.
- It gets an access token for its own permissions.
- Use it for back-end jobs, such as Shop calling an internal service.
- Keep the client secret in a secret store, not in source control.
- If a user is acting, use authorization code instead.
تفاصيل المخطط المبدئي
عرض عملي
one request: POST /token with grant_type=client_credentials and the client's credentials.
اختبر فهمك
When is client credentials the right flow?
أظهر الإجابة
Machine-to-machine, when no user is involved.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.