PHP OAuth API 2013.06.22 發布

jopen 11年前發布 | 10K 次閱讀 PHP OAuth

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

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!