ralfvdb / ldc-zf-oauth2-doctrine

Doctrine ORM 的 zf-oauth2 适配器

dev-master 2016-04-13 15:18 UTC

This package is not auto-updated.

Last update: 2024-09-20 19:19:50 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)。