مراجعة مسارات OAuth
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
choose the right OAuth 2.0 flow per scenario.
الموضوعات المخطط لها
- User-facing apps (web, mobile, SPA): authorization code flow with PKCE; no implicit flow.
- Machine-to-machine: client credentials flow; there is no user.
- Delegated access ("on behalf of the user" across services): token exchange, or forwarding the user's token where policy allows.
- OIDC adds identity (ID token) on top of OAuth; access tokens are for APIs.
- Check current OAuth security guidance (for example the OAuth 2.1 draft and best-practice documents) before recording.
تفاصيل المخطط المبدئي
عرض عملي
table: scenario | flow | token holds.
اختبر فهمك
Which flow for a nightly job with no user?
أظهر الإجابة
Client credentials.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.