谷歌验证令牌使用 [英] Google Auth using Token

查看:685
本文介绍了谷歌验证令牌使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要导航到谷歌的服务网页上的Andr​​oid应用程序(比如日历)。因为我已经有一个身份验证令牌(使用的是Android帐户管理器),我想跳过用户被重定向到Web登录。会自动登录使用的authToken可能吗?
如果是,什么是使用参数的准确网址

I've an android application that needs to navigate to a google service webpage (say calendar). Because I already have a Auth Token (using Android Accounts manager), I want to skip user being redirected to web login. Would auto-login be possible using authtoken ? If yes, what is the exact Url with params

推荐答案

您会追加?AUTH =的URL。我不知道这是否与所有谷歌的网址工作,但对于谷歌语音和几个人我见过它的工作。

you would append ?auth= to the url. I don't know if that works with all google urls, but for google voice and a couple others i've seen it work.

这篇关于谷歌验证令牌使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆