diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-16 07:28:46 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-16 07:28:46 -0400 |
commit | 12036aa21f4308aca4d816864b357f9627a0f437 (patch) | |
tree | b333a38750e06430c667c49d259155d492fbf087 /app/ServiceProvider | |
parent | 0bbc6da50ae8b23a8cc6c1217dcd345c0ddb5b7a (diff) |
Refactoring of Google Authentication (new callback url)
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r-- | app/ServiceProvider/ClassProvider.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php index ef772f58..ef7aa575 100644 --- a/app/ServiceProvider/ClassProvider.php +++ b/app/ServiceProvider/ClassProvider.php @@ -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); + }); } } |