【问题标题】:Zend Framework 2 and OAuth how to create provider?Zend Framework 2 和 OAuth 如何创建提供者?
【发布时间】:2013-09-30 17:39:10
【问题描述】:

我正在寻找一种使用 OAuth 保护我自己的 api 的方法,但我发现的只是如何创建连接到 Twitter 或 Facebook 的客户端。在 ZF2 文档站点中,只有示例如何使用 ZendOAuth 连接到 Twitter 服务。有教程/文档之类的吗?

【问题讨论】:

    标签: oauth zend-framework2


    【解决方案1】:

    您正在寻找关于 Oauth 的哪个版本?

    只需添加其中一个模块即可创建 Oauth 提供程序。 保重!您必须了解 oauth 的工作原理,才能集成到您的应用程序中。

    对于 oauth 1.0a https://github.com/bgallagher/BgOauthProvider

    对于 oauth 2.0 https://github.com/php-loep/oauth2-server

    【讨论】:

      【解决方案2】:

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2015-01-10
        • 2012-02-06
        • 1970-01-01
        • 2012-07-11
        • 2011-11-22
        • 2014-04-18
        • 1970-01-01
        • 2011-12-09
        相关资源
        最近更新 更多