且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检测使用Google登录API注销的信息?

更新时间:2023-12-04 16:34:54

我发现您可以使用此简单表达式来返回truefalse,具体取决于用户是否在您的网站上登录了Google.

I figured out that you can use this simple expression that returns either true or false depending on whether the user is logged into Google on your website.

gapi.auth2.init().isSignedIn.get()