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