1 <?php namespace BookStack\Providers;
4 use Illuminate\Support\ServiceProvider;
6 class SocialiteServiceProvider extends ServiceProvider
9 * Indicates if loading of the provider is deferred.
13 protected $defer = true;
16 * Register the service provider.
20 public function register()
22 $this->app->bindShared('Laravel\Socialite\Contracts\Factory', function ($app) {
23 return new SocialiteManager($app);
28 * Get the services provided by the provider.
32 public function provides()
34 return ['Laravel\Socialite\Contracts\Factory'];