开发者

Pure PHP OAuth Provider

开发者 https://www.devze.com 2023-03-07 07:59 出处:网络
Is there some code out there (under BSD or similar license preferably) that implements provider support for OAuth without needing PECL OAuth extension? Zend Framewo开发者_运维问答rk\'s Zend_Oauth is p

Is there some code out there (under BSD or similar license preferably) that implements provider support for OAuth without needing PECL OAuth extension? Zend Framewo开发者_运维问答rk's Zend_Oauth is pretty good, but it is only the consumer side. So I wonder if there's something like that but for doing the other side (i.e. making OAuth server).

Note that I'm not looking for how to do that with pecl/oauth - this I already have, see for example, Set up a PHP OAuth Provider - but unfortunately not all people can install PECL extensions, so I'm looking for some solution that would reduce requirements.


Have you taken a look at http://pear.php.net/package/HTTP_OAuth/?


I've ended up making some implementation for Oauth provider for Zend Framework, which can be seen here: https://github.com/smalyshev/Zend_OAuth_Provider

I'll improve it if time permits but it works for me right now.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号