PHP OAuth API 2013.06.22 发布

jopen 11年前

PHP OAuth API 实现在PHP应用使用OAuth协议授权用户访问。它抽象OAuth1.0,1.0A,2.0在同一类。 它提供了内置支持流行的OAuth的服务器: Bitbucket, Box.net, Dropbox, Eventful, 非死book, Fitbit, Flickr, Foursquare, github, Google, Instagram, LinkedIn, Microsoft, RightSignature, Scoop.it, StockTwits, Tumblr, 推ter, XING, and Yahoo!.
所有其他的OAuth服务器支持通过设置使用特定的类变量的端点URL和其他参数。 这个类还可以
使用先前获得的OAuth访问令牌发送请求API。对于支持脱机访问的服务器,这个类可以续订过期自动刷新令牌。

</span>发布说明: This release adds support to Bearer authorization token types. It also makes the access token not expire when the expiry time is 0. A bug was fixed to made the class reuse the previous refresh token if a new refresh token is not provided by the server when refreshing an expired token. Another bug was fixed to prevent creating duplicated OAuth session database records when using sessions for a given user