Google Reader API令牌会过期吗? [英] Does the Google Reader API token expire?

查看:119
本文介绍了Google Reader API令牌会过期吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,所以我有一个可以与GR的"api"紧密相连的应用程序.

Ok, so I have an app that hooks in pretty deeply with GR's "api".

一切正常,但是最近我一直在从Google处获得拒绝权限的返回.如果我退出GR并使用我的应用程序重新登录,则所有操作都会重新开始.这使我相信,当您登录时授权令牌GR会为您提供一个月左右的到期时间.

Everything is working nicely, BUT lately I have been getting permission denied returns from Google. If I log out of GR and log back in with my app it all starts working again. This leads me to believe that the authorization token GR gives you when you log in expires after a month or so.

还有其他人遇到吗?如果有的话,最好的处理方法是什么.我真的不想存储用户的Google帐户和密码来不时重新授权.

Has anyone else run into this? If you have, what is the best way to deal with it. I REALLY don't want to have to store people's Google account and password to reauthorize from time to time.

谢谢, 大卫

推荐答案

ClientLogin身份验证方法提供的令牌将在两周后过期. OAuth方法的令牌永不过期.

The ClientLogin authentication method provides tokens that expire after two weeks. The OAuth method's tokens never expire.

这篇关于Google Reader API令牌会过期吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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