简体   繁体   中英

JavaScript Boolean to check if Google Auth token is still valid?

因此,如果用户首先访问该页面并且仍然没有授权的信息共享,那么是否有一种方法可以使用JavaScipt检测是否甚至有一个令牌或该令牌是否仍然有效?

想办法:

google.accounts.user.checkLogin(scope)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM