2017 © Pedro Peláez
 

library ldc-zfc-user-oauth2

OAuth2 server integration for ZfcUser

image

adamlundrigan/ldc-zfc-user-oauth2

OAuth2 server integration for ZfcUser

  • Saturday, November 15, 2014
  • by adamlundrigan
  • Repository
  • 3 Watchers
  • 12 Stars
  • 558 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 4 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

LdcZfcUserOAuth2

What?

An extension for zf-oauth2 allowing use of ZfcUser as authentication source, (*1)


Latest Stable Version License Build Status Code Coverage Scrutinizer Code Quality, (*2)


How?

  1. Install module using Composer, (*3)

    composer require adamlundrigan/ldc-zfc-user-oauth2:<version>
    
  2. Enable required modules in your application.config.php file:, (*4)

  • ZfcBase
  • ZfcUser
  • LdcZfcUserOAuth2
  1. Configure ZfcUser, (*5)

  2. Override the zf-ouath2 configuration to use the provided storage provider:, (*6)

    return array(
       'zf-oauth2' => array(
           'storage' => 'ldc-zfc-user-oauth2-storage-pdo', 
       ),
    );
    
  3. Override the authentication adapter used by ZfcUser. Locate the auth_adapters key in your zfc-user.global.php config file and replace it with this:, (*7)

    'auth_adapters' => array( 100 => 'ldc-zfc-user-oauth2-authentication-adapter-db' ),
    

TODO

  • [x] Use ZfcUser's authentication mechanism in OAuth2 server
  • [x] Populate ZfcUser auth storage when OAuth2 server authentication succeeds
  • [ ] Some tests might be a good idea
  • [ ] Some documentation and an example might also be good ideas

The Versions

15/11 2014

dev-master

9999999-dev

OAuth2 server integration for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

apigility zfcuser zf-oauth2

08/11 2014

dev-release/1.x

dev-release/1.x

OAuth2 server integration for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

apigility zfcuser zf-oauth2

08/11 2014

1.0.0

1.0.0.0

OAuth2 server integration for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

apigility zfcuser zf-oauth2