[WordPress] 外掛分享: WP Verify API

首頁外掛目錄 › WP Verify API
WordPress 外掛 WP Verify API 的封面圖片
10+
安裝啟用
尚無評分
2126 天前
最後更新
問題解決
WordPress 4.6.1+ PHP 5.4+ v1.0.0 上架:2020-05-22

內容簡介

注意:這個外掛是專為 WordPress 開發人員設計,對於初學者可能會有些困惑。

此外掛透過 WordPress API 生成驗證碼並發送至指定電子郵件信箱。
然後您可以透過該 API 檢查使用者所輸入的驗證碼。

文件與支援

** 生成驗證碼 **

example.com/wp-json/wva/v1/email

電子郵件信箱需以 JSON 格式發送。
例如 :{"email" : "[email protected]"}

** 檢查驗證碼 **

example.com/wp-json/wva/v1/verify

電子郵件信箱與驗證碼需以 JSON 格式發送。如果驗證碼正確且未達到到期時間,它將傳回true,否則為false,然後您可以根據結果進行相應操作,例如 OTP,電子郵件驗證等等。
例如:{"email" : "[email protected]","verify" : "53737"}

特色

基於 API 的系統,用於生成和檢查驗證碼。
自訂驗證碼到期時間。
自訂驗證碼位數。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Verify API」→ 直接安裝(推薦)

原文外掛簡介

NOTICE : This plugin is used by WordPress developers and can be a bit confusing for beginner WordPress users.
This plugin generates a verification code via WordPress API and sends it to the specified email.
You can then check the code entered by the user with the API.
Docs & Support
** Generate verification code **
example.com/wp-json/wva/v1/email

Email should be post in JSON format.
Example :{"email" : "[email protected]"}
** Check verification code **
example.com/wp-json/wva/v1/verify

Email and verification code should be posted in JSON format. if the code is correct and the expire time is not reached, it will return true otherwise it’s false then you can do whatever you want with the result like for OTP, Email Owner verification, and so on.
Example :{"email" : "[email protected]","verify" : "53737"}
Features

API-Based system for generating and check code.
Customize expiration time for code.
Customize code digits

文章
Filter
Mastodon