plugin-icon

المصادقة بعاملين Two-Factor

لصاحبه WordPress.org·
Enable المصادقة بعاملين Two-Factor Authentication (2FA) using time-based one-time passwords (TOTP), Universal 2nd Factor (U2F), email, and backup verification codes.
التقييم
4.8/5
النسخة
0.14.2
التنصيبات النشطة
90K
آخر تحديث
Dec 11, 2025
المصادقة بعاملين Two-Factor

استخدام “خيارات المصادقة بعاملين Two-Factor” ضمن قسم “الأعضاء” “ملفك الشخصي” لتهيئة وتمكين واحد أو أكثر من مزودي خدمات المصادقة المصادقة الثنائية (Two-Factor) لحسابك:

  • رموز البريد الإلكتروني
  • كلمة مرور واحدة لمرة واحدة (TOTP)
  • FIDO Universal 2nd Factor (U2F)
  • رموز التحقق الاحتياطية (Backup Codes)
  • الطريقة الوهمية (لأغراض الاختبار فقط)

لمزيد من سجلّات التغيير، شاهد هذه المقالة.

الإجراءات والفلاتر

فيما يلي قائمة بالإجراءات وعوامل التصفية (filter hooks) التي توفرها الإضافة:

  • يتخطى الفلتر two_factor_providers الطرق المزودة والمتاحة للمصادقة بعاملين two-factor مثل البريد الإلكتروني واستخدام كلمات مرور لمرة واحدة المستندة إلى الوقت. الـ Array values هي أسماء فئات PHP classnames لـ مزوّدي التحقق الثنائي two-factor.
  • two_factor_providers_for_user filter overrides the available two-factor providers for a specific user. Array values are instances of provider classes and the user object WP_User is available as the second argument.
  • يتخطى الفلتر two_factor_enabled_providers_for_user قائمة موفري طرق المصادقة بعاملين two-factor الذين تم تمكينهم للمستخدم. الوسيطة الأولى (First argument) عبارة عن مصفوفة (array) من أسماء فئات المزوّد الممكنة كـ قيم، والوسيطة الثانية (Second argument) هي معرّف المستخدم.
  • الإجراء two_factor_user_authenticated الذي يستقبل الكائن WP_User الذي تم تسجيل دخوله كأول وسيطة لتحديد المستخدم الذي قام بتسجيل الدخول بعد سير آلية المصادقة مباشرة.
  • two_factor_user_api_login_enable filter restricts authentication for REST API and XML-RPC to application passwords only. Provides the user ID as the second argument.
  • two_factor_email_token_ttl filter overrides the time interval in seconds that an email token is considered after generation. Accepts the time in seconds as the first argument and the ID of the WP_User object being authenticated.
  • two_factor_email_token_length filter overrides the default 8 character count for email tokens.
  • two_factor_backup_code_length filter overrides the default 8 character count for backup codes. Provides the WP_User of the associated user as the second argument.
  • two_factor_rest_api_can_edit_user filter overrides whether a user’s Two-Factor settings can be edited via the REST API. First argument is the current $can_edit boolean, the second argument is the user ID.
مجانيعلى خطة Business
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.9
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.