Oauth认证

来源:互联网 发布:windows pe哪个好用 编辑:程序博客网 时间:2024/05/02 00:16

一、requst_token

consumer_key(app_key)

consumer_secret(app_secret)

二、3个URL

1.request_url

2.authorize_url

2.access_url

三、参数传递有三种方式:

1.header中

2.url中

3.post form中


开源工具:

oauth-signpost  https://code.google.com/p/oauth-signpost/


详细了解:

http://wiki.open.t.qq.com/index.php/OAuth%E6%8E%88%E6%9D%83%E8%AF%B4%E6%98%8E