+
+ $this->app->singleton(SocialAuthService::class, function ($app) {
+ return new SocialAuthService($app->make(SocialiteFactory::class), $app->make(LoginService::class));
+ });
+
+ $this->app->singleton(CspService::class, function ($app) {
+ return new CspService();
+ });
+
+ $this->app->bind(HttpClientInterface::class, function ($app) {
+ return new Client([
+ 'timeout' => 3,
+ ]);
+ });