外掛說明
PKL WPz REST API Authentication provides a simple way to authenticate WordPress REST API requests using API keys. Users can generate their own API keys from their profile page and use them to make authenticated API requests.
Features:
- User-friendly API key generation from profile page
- Secure API key storage with WordPress security standards
- Easy integration with WordPress REST API
- Support for Bearer token authentication
- API key revocation capability
- Admin can manage all users’ API keys
- Multiple authentication methods (Bearer Token, X-API-Key Header, Form-data, Query Parameter)
Developer Documentation
For detailed API documentation and examples, visit the plugin settings page in your WordPress admin.
Support
For support and feature requests, please visit our GitHub repository @PalmiizKittinan .
安裝方式
- Upload the plugin files to the
/wp-content/plugins/pkl-wpz-rest-api-authdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Users can generate API keys from their profile page (Users > Your Profile).
- Use the generated API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
常見問題集
-
How do I generate an API key?
-
- Go to Users > Your Profile in WordPress admin
- Scroll down to the “REST API Access” section
- Click “Generate New API Key”
- Copy and save your API key securely
-
How do I use the API key?
-
You can use the API key in multiple ways:
– Authorization Bearer Token (Recommended):Authorization: Bearer YOUR_API_KEY
– X-API-Key Header:X-API-Key: YOUR_API_KEY
– Form-data: Includeapi_keyparameter
– Query Parameter:?api_key=YOUR_API_KEY -
Can I revoke an API key?
-
Yes, you can revoke your API key from your profile page by clicking the “Revoke API Key” button.
-
Is it secure?
-
Yes, the plugin follows WordPress security best practices and stores API keys securely in the database.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.1.0
Change database table schema _id -> UUID()
1.0.0
Plugin Launch