简体   繁体   中英

Encrypt credentials for Wordpress XML-RPC API call

I'm planning to use Wordpress' XML-RPC API but this requires me to store plain text username/password.

Is there a way to get a token from the Wordpress server so that I can store that instead of credentials to the db? Or securely encrypt the password before adding it to the db?

I'm using this PHP library .

尝试使用https://wordpress.stackexchange.com/a/25792/57301中描述的方法将API凭据安全地存储在WordPress数据库中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM