加载 Google 第三方授权 JavaScript 库
请务必在用户可能会加载 OAuth 2.0 代码或令牌的任何网页上加载 Google 第三方授权 JavaScript 库。使用以下代码段:
<script src="https://accounts.google.com/gsi/client" onload="console.log('TODO: add onload function')">
</script>
如果您使用 async
和 defer
布尔值属性加载脚本,则可以优化网页的加载速度。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-23。
[null,null,["最后更新时间 (UTC):2024-11-23。"],[[["The Google 3P Authorization JavaScript library is required for pages handling OAuth 2.0 codes or tokens and can be loaded using a provided script snippet."],["Loading the script with `async` and `defer` attributes can optimize page loading speed."]]],[]]