撤销对应用Gmail API的访问权限
我怎么能撤销从后台Node.js访问应用程序因为我们可以select使用方法refreshaccesstoken()生成access_token。 那么有没有类似的方法,我可以用来撤销应用程序的访问。
您可以通过向https://accounts.google.com/o/oauth2/revoke?token={token}
发送请求,以编程方式轻松撤销令牌 。 access_token
和refresh_token
起作用。
我怎么能撤销从后台Node.js访问应用程序因为我们可以select使用方法refreshaccesstoken()生成access_token。 那么有没有类似的方法,我可以用来撤销应用程序的访问。
您可以通过向https://accounts.google.com/o/oauth2/revoke?token={token}
发送请求,以编程方式轻松撤销令牌 。 access_token
和refresh_token
起作用。