我如何从后端Node.js撤销对应用程序的访问,因为我们可以选择使用刷新访问access_token ()方法生成应用程序。所以有没有任何类似的方法,我可以用来撤销对应用程序的访问。
发布于 2016-07-25 19:59:20
您可以通过使用access_token或refresh_token发送请求来revoke a token programmatically。
POST https://oauth2.googleapis.com/revoke?token={token} HTTP/1.1
Content-type: application/x-www-form-urlencodedhttps://stackoverflow.com/questions/38565628
复制相似问题