码迷,mamicode.com
首页 > Windows程序 > 详细

facebook api & oauth protocal

时间:2015-02-03 13:01:21      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:

http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-10.5

 

code
REQUIRED. The authorization code generated by the
authorization server. The authorization code MUST expire
shortly after it is issued to mitigate the risk of leaks. A
maximum authorization code lifetime of 10 minutes is
RECOMMENDED. The client MUST NOT use the authorization code
more than once. If an authorization code is used more than
once, the authorization server MUST deny the request and SHOULD
revoke (when possible) all tokens previously issued based on
that authorization code. The authorization code is bound to
the client identifier and redirection URI.

 

authorization codes MUST be short lived and single use

 

access_token should be posted

facebook api & oauth protocal

标签:

原文地址:http://www.cnblogs.com/argb/p/4269529.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!