/**
  * Bootstrap the application events.
  *
  * @return void
  */
 public function boot()
 {
     $this->package('mrynk/l4-google-api');
     parent::boot();
     $this->app['auth']->extend('google', function ($app) {
         return new GoogleAuthGuard(new GoogleUserProvider(), $app['session.store']);
     });
 }
Exemplo n.º 2
0
 /**
  * Bootstrap the application events.
  *
  * @return void
  */
 public function boot()
 {
     $this->package('Eliuflorez/google', null, realpath(__DIR__ . '/../../'));
     parent::boot();
     $this->app['auth']->extend('google', function ($app) {
         return new Google(new GoogleProvider(), $app['session.store']);
     });
 }
 /**
  * Bootstrap the application events.
  *
  * @return void
  */
 public function boot()
 {
     $this->package('themonkeys/laravel-google-auth', null, realpath(__DIR__ . '/../../'));
     parent::boot();
     $this->app['auth']->extend('google', function ($app) {
         return new GoogleAuthGuard(new GoogleUserProvider(), $app['session.store']);
     });
 }
 /**
  * Bootstrap the application events.
  *
  * @return void
  */
 public function boot()
 {
     $app = $this->app;
     $this->app->bind('auth', function ($app) {
         return new AuthManager($app);
     });
     $this->registerEvents();
     parent::boot();
 }