我们知道,如果我们为门卫使用资源所有者密码凭证流,则为 POST 生成的 JSON 参数基于此处的 URL :
{
"grant_type" : "password",
"username" : "user@example.com",
"password" : "sekret",
"client_id" : "the_client_id",
"client_secret" : "the_client_secret"
}
我想通过 POST 对 /oauth/revoke 执行令牌撤销;因此,我需要哪些参数才能通过 JSON 执行 POST?
谢谢!