Create custom oAuth Server With Zend

2019-04-08 20:50发布

问题:

is it possible to create a custom oAuth server with the Zend Framework Zend_Oauth? For example i want to create a REST service and have oAuth authentication? Does the zend framework have support for this out of the box?>

回答1:

Currently, there is no working OAuth server/auth adapter. There are a few of us (including myself) working to meld the existing Zend_Oauth into a Zend_Auth_Adapter.

Find me on twitter @onyxraven and we can discuss. I should have an idea of what needs done before the end of the week.



回答2:

Have you taken a look at http://oauth.net/code/ ?

There is a community contribution:

http://framework.zend.com/svn/framework/standard/incubator/library/Zend/Oauth/Server.php