我正在使用Doorkeeper gem和设备来验证我的rest api应用程序调用。
在删除用户时,我只是在后端数据库中停用用户,所以我想在删除帐户时撤消访问令牌,以通过删除用户访问令牌来阻止访问。
发布于 2015-09-29 18:34:49
看起来POST /oauth/revoke应该可以完成这项工作:
POST /oauth/revoke
https://github.com/doorkeeper-gem/doorkeeper/wiki/API-endpoint-descriptions-and-examples#post-oauthrevoke
https://stackoverflow.com/questions/32841672
相似问题