开发者

How to persistent oauth login info?

I am developing a thrid api client for a website.It use oath

Now How can I only let my app user login one time.

I want to persistent oauth info in session , how to?

Becase 开发者_开发问答every time you use app, you have to login into offical website.it boring.


This depends on service you are using. For example twitter requres you to use "authentication url" ( https://api.twitter.com/oauth/authenticate ) instead of "authorization url". Facebook uses 2.0 version with javascript so there is not problem with that - you have to include offline_access as permission.

In Google Data API I'm not sure yet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜