Wallogit.com
2017 © Pedro PelĂĄez
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
OAuth2 Server Bundle for Symfony, (*2)
Via Composer, (*3)
``` bash $ composer require borisguery/oauth2-server-storage-dbal, (*4)
## Configuration Here are the keys to override if you wish to change the default table names. ``` php $tableConfiguration = new TableConfiguration( [ 'oauth2_clients' => 'oauth2_clients', 'oauth2_access_tokens' => 'oauth2_access_tokens', 'oauth2_refresh_tokens' => 'oauth2_refresh_tokens', ] );
``` php $accessTokenStorage = new DbalAccessTokenStorage($dbalConnection, $tableConfiguration); $refreshTokenStorage = new DbalRefreshTokenStorage($dbalConnection, $tableConfiguration); $clientStorage = new DbalClientStorage($dbalConnection, $tableConfiguration);, (*5)
that's it! ## Testing ``` bash $ composer test
Please see CONTRIBUTING for details., (*6)
If you discover any security related issues, please email guery.b@gmail.com instead of using the issue tracker., (*7)
The MIT License (MIT). Please see License File for more information., (*8)