简体   繁体   中英

Use Google OAuth2 token from different platforms

I use AccountManager to retrieve google accounts on the Android device. After it I asked user for token with some scope and after I get it, I want to send it to the server and use token for API calls from backend side.

So, my question is can I use AccountManager for this? Or only GoogleAuthUtil?

这听起来很像跨客户端身份的用例。

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