未经授权的帐户 - Google 设备访问 - Nest
Unauthorize account - Google Device Access - Nest
我无法从文档中弄清楚如何取消对用户关联帐户的授权并停止从其关联设备接收事件。有这方面的要求吗?或者可能通过使用户的 Oauth2 access/refresh 令牌无效?
用户可以通过 https://myaccount.google.com/permissions or by revoking the token by passing it to https://oauth2.googleapis.com/revoke
撤销令牌
见https://developers.google.com/identity/protocols/oauth2/web-server#httprest_8
我无法从文档中弄清楚如何取消对用户关联帐户的授权并停止从其关联设备接收事件。有这方面的要求吗?或者可能通过使用户的 Oauth2 access/refresh 令牌无效?
用户可以通过 https://myaccount.google.com/permissions or by revoking the token by passing it to https://oauth2.googleapis.com/revoke
撤销令牌见https://developers.google.com/identity/protocols/oauth2/web-server#httprest_8