app['session.store'], $app[LdapService::class], $app[UserRepo::class] ); }); } /** * Register the application services. * * @return void */ public function register() { Auth::provider('external-users', function ($app, array $config) { return new ExternalBaseUserProvider($config['model']); }); } }