任何人都可以为bitbucket api提供php或nodejs oauth库,以便我可以使用ajax调用与库进行交互吗? [关闭]

任何人都可以为bitbucket api提供php或nodejs oauth库,以便我可以使用ajax调用与库进行交互吗?  [关闭]

问题描述:

I need a library based on php(preferably) like loginWithBitbucket.php so that, I send authorization request to it and it will authorize the bitbucket user by opening new tab and asking for user login credentials and do the authorization and then return the response data i.e. JSON data as the response of the ajax request.

我需要一个基于php(最好)的库,比如loginWithBitbucket.php,这样我就可以向它发送授权请求了 它将通过打开新选项卡并要求用户登录凭据并执行授权来授权bitbucket用户,然后返回响应数据,即JSON数据作为ajax请求的响应。 p> div>

Oauth.io is one such library. Its very easy to use.

Have a library for node.js and one for PHP. Both were just a quick Google search away. You should definitely use Google if you search for a library the next time.