⬆️ Update bshaffer/oauth2-server-php library.

Manage oauth2-server-php library with composer.
Folder ./library/oauth2/ can be removed and includes removed with autoloading.
This commit is contained in:
Klaus Weidenbach
2017-03-20 00:34:20 +01:00
parent d2c971eda9
commit 8b4b135036
128 changed files with 15850 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
<?php
require_once(dirname(__FILE__).'/../src/OAuth2/Autoloader.php');
OAuth2\Autoloader::register();
// register test classes
OAuth2\Autoloader::register(dirname(__FILE__).'/lib');
// register vendors if possible
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
require_once(__DIR__.'/../vendor/autoload.php');
}