最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rest api - Secure WordPress API, how?

programmeradmin6浏览0评论

I'm writing a plugin that expose a custom resource via WordPress API's. Now the resource is public so anyone knows the API's endpoint can get the resource but I would to secure it, what's the best practice with WordPress? I was thinking to JWT but I don't want to use third party plugins, maybe is it possible to use a library found on packagist and installed with Composer? I never did it with a WordPress plugin...

发布评论

评论列表(0)

  1. 暂无评论