
內容簡介
Stionic Users 擴展了 WordPress REST API,以管理使用者。
讓您可以創建 WordPress 的行動應用程式。
功能
註冊使用者
使用者名稱重設密碼
更改使用者頭像
在其他地方登出
此外掛支援 API 透過存取權杖使用 Facebook 登入
文件與支援
註冊使用者
傳送 ‘POST’ 請求到 ‘/wp-json/wp/v2/m_users/register’,帶著參數 ‘username’ 和 ’email’。
重設密碼
傳送 ‘POST’ 請求到 ‘/wp-json/wp/v2/m_users/password’,帶著參數 ‘username’。
更改使用者頭像 (需要登入)
傳送 ‘POST’ 請求到 ‘/wp-json/wp/v2/m_users/avatar’,帶著參數 ‘base64’ (圖片的 base64)。
刪除使用者頭像 (需要登入)
傳送 ‘DELETE’ 請求到 ‘/wp-json/wp/v2/m_users/avatar’。
在其他地方登出 (需要登入)
傳送 ‘POST’ 請求到 ‘/wp-json/wp/v2/m_users/keep’。
使用 Facebook 登入
傳送 ‘POST’ 請求到 ‘/wp-json/wp/v2/m_facebook/login’,帶著參數 ‘token’ 是 Facebook 的存取權杖。
回傳:JWT 認證資訊,包括 token,使用它在JWT 認證中的標頭。
您可以在文件中找到更多資訊。
如果您在文件中找不到答案,您應該在 WordPress.org 的支援論壇上檢查。
如果您找不到涉及特定問題的主題,請為該問題發表新主題。
建議外掛
以下外掛建議使用 Stionic Users:
JWT Authentication for WP REST API,由 Enrique Chavez。
WP User Avatar,由 flippercode。
Nextend Social Login and Register,由 Nextendweb。
外掛標籤
開發者團隊
② 後台搜尋「Stionic Users – WordPress Users API」→ 直接安裝(推薦)
原文外掛簡介
Stionic Users has expanded the WordPress REST API for manager Users.
Allows you create mobile app for WordPress.
Features
Register users
Reset password by username
Change users avatar
Logout everywhere else
This plugin support API login with Facebook by access token
Docs & Support
Register users
Send ‘POST’ request to ‘/wp-json/wp/v2/m_users/register’ with params ‘username’ and ’email’.
Reset password
Send ‘POST’ request to ‘/wp-json/wp/v2/m_users/password’ with params ‘username’.
Change users avatar (login required)
Send ‘POST’ request to ‘/wp-json/wp/v2/m_users/avatar’ with params ‘base64’ (base64 of image).
Delete users avatar (login required)
Send ‘DELETE’ request to ‘/wp-json/wp/v2/m_users/avatar’.
Logout everywhere else (login required)
Send ‘POST’ request to ‘/wp-json/wp/v2/m_users/keep’.
Login Facebook
Send ‘POST’ request to ‘/wp-json/wp/v2/m_facebook/login’ with params ‘token’ is access token of Facebook.
Return: JWT Authentication data include token, use it in Header of JWT authentication.
You can find docs.
If you were unable to find the answer to your question on the documentation, you should check the support forum on WordPress.org.
If you can’t locate any topics that pertain to your particular issue, post a new topic for it.
Recommend Plugins
The following plugins are recommend for Stionic Users:
JWT Authentication for WP REST API by Enrique Chavez.
WP User Avatar by flippercode.
Nextend Social Login and Register by Nextendweb.
