开发者

oauth and userid

i am very confused, once i get the access token from goog开发者_运维知识库le to access user contacts,

how do I associate that user with that token again in the future?

many thanks


You need to persist that access token somewhere.

Usually you'd store it in your database linked to the user record there.

When you do an oauth requests for that user, you look up the token and use it again.


i got confused between openid, oauth, and hybrid openid+oauth. what i really want is hybrid openid+oauth, where i have the openid as key and access token is linked to it.

thanks anyway :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜