{"categories":[],"width":"100%","image_url":null,"version":"1.0","height":"190","url":"https://zentoo.hatenablog.com/entry/2014/12/08/083617","provider_name":"Hatena Blog","type":"rich","title":"chrome.identity.getAuthToken\u3067\u5f97\u305faccess token\u3092revoke\u3059\u308b","blog_title":"\u611b\u3068\u52c7\u6c17\u3068\u7f36\u30d3\u30fc\u30eb","author_url":"https://blog.hatena.ne.jp/zentoo/","author_name":"zentoo","published":"2014-12-08 08:36:17","description":"function revokeToken() { var token = gapi.auth.getToken()[\"access_token\"]; chrome.identity.removeCachedAuthToken({ token: token }, function() {}); var img = new Image(); img.src = \"https://accounts.google.com/o/oauth2/revoke?token=\" + token; } \u3084\u308b\u3053\u3068 chrome.identity\u306f\u5185\u90e8\u7684\u306baccess token\u3092cache\u3059\u308b\u306e\u3067\u305d\u3044\u3064\u3092\u6d88\u3055\u306a\u3044\u3068\u2026","blog_url":"https://zentoo.hatenablog.com/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzentoo.hatenablog.com%2Fentry%2F2014%2F12%2F08%2F083617\" title=\"chrome.identity.getAuthToken\u3067\u5f97\u305faccess token\u3092revoke\u3059\u308b - \u611b\u3068\u52c7\u6c17\u3068\u7f36\u30d3\u30fc\u30eb\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}