WP Manifestindependent plugin directory
manifest / security / xenice-auth

Xenice Auth

WordPress JWT身份验证插件,在开发小程序、移动 App 或前后端分离的网站时使用

★ 1stars
v1.2.3latest · 10mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/xenice/xenice-auth/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

xenice-auth —— 超简单的 WordPress JWT 身份验证插件

xenice-auth 是一款为 WordPress API 场景 设计的轻量级 JWT 身份验证插件,适用于:

  • 小程序
  • APP
  • 前后端分离网站
  • 第三方系统对接 WordPress 用户体系

插件网址

https://www.xenice.com/zh/xenice-auth/


登录接口

获取登录参数

GET /xe/v1/login

返回:

{
  "client": "客户端ID",
  "nonce": "登录nonce"
}

提交登录

POST /xe/v1/login

参数:client, nonce, username, password

返回:

{
  "id": "用户ID",
  "token": "用户令牌",
  "avatar": "用户头像",
  "nickname": "用户昵称"
}

注册接口

获取注册参数

GET /xe/v1/register

返回:

{
  "client": "客户端ID",
  "nonce": "注册nonce"
}

提交注册

POST /xe/v1/register

参数:client, nonce, username, password, email

返回:

{
  "id": "用户ID",
  "token": "用户令牌",
  "avatar": "用户头像",
  "nickname": "用户昵称"
}

发送邮箱验证码

POST /xe/v1/send-email-code

参数:client, nonce, email

返回:

  • 200:发送成功
  • 非 200:发送失败

Releases

1 release.

Tag
Published
v1.2.3 latest
Dec 13, 2025 10mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.