跳到内容

JSON API Auth

v3.1.3

Ali Qureshi · 2013年12月17日 上架

Extends the JSON API Plugin for RESTful user authentication

正在使用
600+
评分
4.7 / 5
累计下载
8.3 万
最近更新
2026年11月19日
11 条评价需要 WordPress 3.0.1+已测试到 7.1.5PHP 7.4+

贡献者

截图

Call to generate_auth_cookie endpoint using Postman
Call to generate_auth_cookie endpoint using Postman
Call to get_currentuserinfo endpoint using Postman
Call to get_currentuserinfo endpoint using Postman
Call to validate_auth_cookie endpoint using Postman
Call to validate_auth_cookie endpoint using Postman

Important: use RESTful JSON API for new integrations

JSON API Auth is retained for existing sites that still depend on the original JSON API plugin and its cookie-authentication workflow. For a new mobile app, headless site, external service, or AI-assisted integration, install RESTful JSON API instead.

RESTful JSON API provides plugin-issued JWT bearer authentication, requires HTTPS by default for requests that handle passwords or tokens, and includes a broader set of endpoints organized into Core, Posts, User, Respond, and Widgets controllers. Its User controller includes signup, JWT login, token validation, profiles, avatars, password-reset requests, safe user meta, and authenticated comments, while the other controllers expose content, custom post type, taxonomy, media, menu, search, comment, and widget workflows.

Existing JSON API Auth integrations can continue using this plugin. Because JWT bearer tokens replace the legacy cookie format and endpoint paths differ, test your client migration before deactivating the legacy JSON API stack.

JSON API Auth extends the JSON API Plugin to allow RESTful user authentication.

JSON API Plugin, that is required, was closed on August 7, 2019 from WordPress repository. You can download JSON API Plugin from https://github.com/PI-Media/json-api until it is republished and available on WordPress.

Features include:

  • Generate Auth Cookie for user authentication

  • Validate Auth Cookie

  • Get Current User Info

For documentation: See ‘Other Notes’ tab above for usage examples.

Credits: http://www.parorrey.com/solutions/json-api-auth/

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums