adamlundrigan/ldc-zf-oauth2-doctrine

用于与 Doctrine ORM 一起使用的 zf-oauth2 适配器

dev-master 2014-11-15 21:21 UTC

This package is not auto-updated.

Last update: 2024-09-24 03:08:04 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Build Status Code Coverage Scrutinizer Code Quality

是什么?

LdcZfOAuth2Doctrine 实现了 zf-oauth2 表作为 Doctrine ORM 实体。轻松链接任何 ZfcUser 兼容的账户实体,现在可以通过 OAuth2 进行身份验证。

警告:此代码尚未经过测试、文档化或用于实际环境中。请谨慎处理。

如何使用?

  1. 安装 Composer

    composer require adamlundrigan/ldc-zf-oauth2-doctrine:dev-master@dev
    
  2. config/ldc-zf-oauth2-doctrine.local.php.dist 文件复制到您的应用程序的 config/autoload 文件夹中,并根据需要进行修改。

  3. 在您的 ZF2 应用程序中启用模块(LdcZfOAuth2Doctrine)。