【问题标题】:Secure my API using oauth 2 build under codeigniter framework在 codeigniter 框架下使用 oauth 2 构建保护我的 API
【发布时间】:2013-09-19 16:18:11
【问题描述】:

我需要构建自己的 API,并且我需要使用 Oauth 2 服务器保护我的 API 我已经尝试了多种方法将 Oauth 2 集成为 codeigniter 作为库,但它不起作用存在错误如何将 oauth 服务器与 codeigniter 集成到保护我的 API 任何库?插入 ?帮手?

http://oauth.net/2/

我正在尝试使用这个https://github.com/fkooman/php-oauth

如何在 Codeigniter 中使用这些文件

【问题讨论】:

  • 我认为你应该获取 CodeIgniter 已经为这项工作专门制作的库,请参阅 here
  • 我们需要使用 Oauth 2 来实现安全 API
  • 你遇到了哪个错误?

标签: php api codeigniter oauth


【解决方案1】:

集成说明在此答案的此评论中:

Integrate oauth 2.0 server with codeigniter

【讨论】:

    猜你喜欢
    • 2012-11-16
    • 1970-01-01
    • 2020-07-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-14
    • 2020-07-24
    • 2021-10-14
    相关资源
    最近更新 更多