【发布时间】:2014-09-09 05:02:18
【问题描述】:
我们知道,如果我们为门卫使用资源所有者密码凭证流,则生成的 POST JSON 参数基于 URL here:
{
"grant_type" : "password",
"username" : "user@example.com",
"password" : "sekret",
"client_id" : "the_client_id",
"client_secret" : "the_client_secret"
}
我想通过 POST 到 /oauth/revoke 执行令牌撤销;因此,我需要哪些参数才能通过 JSON 执行 POST?
谢谢!
【问题讨论】:
标签: ruby-on-rails json doorkeeper