الأدوار والرموز
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
name the four roles and the tokens.
الموضوعات المخطط لها
- Resource owner: the user who owns the data.
- Client: the app that wants access.
- Authorization server: logs the user in and issues tokens (for example Keycloak).
- Resource server: the API that accepts tokens (our Shop API).
- Access token: sent to the API. Refresh token: gets new access tokens. Scopes describe what is allowed.
تفاصيل المخطط المبدئي
عرض عملي
a four-box diagram with arrows: user → client → authorization server → token → resource server.
اختبر فهمك
Which role is the Shop API?
أظهر الإجابة
Resource server.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.