Zend Framework Oauth Provider

﹥>﹥吖頭↗ 提交于 2019-11-28 00:20:34

问题


How can I add a Oauth provider to a web application using Zend Framework? Zend Framework has support for oauth consumers, but I don't see a provider support. What do you use to implement a Oauth provider in php (with Zend Framework)?


回答1:


I followed this guide from Rasmus Lerdorf to implement an OAuth provider.

While I didn't actually use the pecl extension, you can use the article to write your own server component.




回答2:


If you look at the zend incubator, it has a new Zend_Oauth_Server file

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

I think Brandon's correct in saying that a Provider doesn't exist yet in Zend, but I think this class maybe a future provider they're working on.

We're looking at implementing a provider for one of out projects at work, so I'll probably have to research this in depth soon. Keep me posted if you find more info on this yourself and I'll keep this thread updated on my side.



来源:https://stackoverflow.com/questions/4061435/zend-framework-oauth-provider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!