library ldc-zfc-user-oauth2
OAuth2 server integration for ZfcUser
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
LdcZfcUserOAuth2
What?
An extension for zf-oauth2
allowing use of ZfcUser as authentication source, (*1)
, (*2)
How?
-
Install module using Composer, (*3)
composer require adamlundrigan/ldc-zfc-user-oauth2:<version>
-
Enable required modules in your application.config.php
file:, (*4)
- ZfcBase
- ZfcUser
- LdcZfcUserOAuth2
-
Configure ZfcUser, (*5)
-
Override the zf-ouath2
configuration to use the provided storage provider:, (*6)
return array(
'zf-oauth2' => array(
'storage' => 'ldc-zfc-user-oauth2-storage-pdo',
),
);
-
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
dev-master
9999999-dev
OAuth2 server integration for ZfcUser
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
apigility
zfcuser
zf-oauth2
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
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