plugin-icon

WP REST API Key Authentication

لصاحبه Kamal Hosen·
A simple plugin to add API key-based authentication to the WordPress REST API. Manage multiple API keys and secure your REST API endpoints.
النسخة
1.0
التنصيبات النشطة
10
آخر تحديث
Jan 16, 2025
WP REST API Key Authentication

WP REST API Key Authentication adds a simple API key-based authentication method to the WordPress REST API. This plugin is perfect for developers who want to interact with the REST API securely without relying on complex OAuth authentication mechanisms.

Key Features:

  • Multiple API Keys: Create and manage multiple API keys with custom names.
  • Secure API Key Storage: API keys are hashed and securely stored in the WordPress database.
  • Single Display for Security: API keys are shown only once after creation.
  • REST API Access Control: Authenticate requests by including an API key in the Authorization header.
  • Admin Interface: Manage API keys with a user-friendly admin page.
  • Copy to Clipboard Popup: Easily copy generated API keys with a built-in popup.

The plugin is lightweight and integrates seamlessly with WordPress.

Usage

  1. Generate an API Key:

    • Go to API Keys in the WordPress admin menu.
    • Enter a name for the API key and click “Generate API Key”.
    • The API key will appear in a popup. Copy it immediately, as it will not be displayed again.
  2. Use the API Key:

    • Include the API key in the Authorization header of your REST API requests: Authorization: Bearer YOUR_API_KEY
  3. Delete API Keys:

    • To revoke access, delete an API key from the API Keys admin page.

License

This plugin is licensed under the GPLv2 or later. See the License URI for details.

مجانيعلى الخطط المدفوعة
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.7.5
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.