Refactoring of Google Authentication (new callback url)

This commit is contained in:
Frederic Guillot
2015-07-16 07:28:46 -04:00
parent 0bbc6da50a
commit 12036aa21f
9 changed files with 247 additions and 118 deletions

View File

@@ -3,6 +3,7 @@
namespace ServiceProvider;
use Core\Paginator;
use Core\OAuth2;
use Model\Config;
use Model\Project;
use Model\Webhook;
@@ -107,5 +108,9 @@ class ClassProvider implements ServiceProviderInterface
$container['paginator'] = $container->factory(function ($c) {
return new Paginator($c);
});
$container['oauth'] = $container->factory(function ($c) {
return new OAuth2($c);
});
}
}