©
本文档使用
php.cn手册 发布
此扩展提供 OAuth 消费方和提供方之间的绑定。OAuth 是一种建立在 HTTP 之上的授权协议,用于允许应用程序安全访问数据而无需存储用户名和密码。
[#1] bishnoi dot balwant at springedge dot com [2014-10-15 05:55:10]
OAuth does the following:
The consumer requests a token from the server
The consumer then directs the user to a login page, passing the token with them
The user logs in and is redirected back to the consumer with an access token
The consumer takes the access token and requests the OAuth token to use with future secure requests
The OAuth token is retrieved, and the developer can now make secure requests by passing the token for validation