LdcZfOAuth2Doctrine implements zf-oauth2
tables as Doctrine ORM entities. Easily link up any ZfcUser-compatible account entity and bingo-bango they can now authenticate via OAuth2.
WARNING: This code is not yet tested, documented or been used in a live environment. Approach with extreme caution.
-
Install the Composer package:
composer require adamlundrigan/ldc-zf-oauth2-doctrine:dev-master@dev
-
Copy the
config/ldc-zf-oauth2-doctrine.local.php.dist
file to you application'sconfig/autoload
folder and modify to suit. -
Enable the module (
LdcZfOAuth2Doctrine
) in your ZF2 application.