Update Laravel socailite package

Update Laravel socailite package to fix facebook authentication.
This commit is contained in:
Manish Verma
2018-08-16 14:47:19 +05:30
parent cfec60b43f
commit 89809c3123
50 changed files with 647 additions and 361 deletions

View File

@@ -3,6 +3,7 @@
namespace Laravel\Socialite;
use Illuminate\Support\ServiceProvider;
use Laravel\Socialite\Contracts\Factory;
class SocialiteServiceProvider extends ServiceProvider
{
@@ -20,7 +21,7 @@ class SocialiteServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->singleton('Laravel\Socialite\Contracts\Factory', function ($app) {
$this->app->singleton(Factory::class, function ($app) {
return new SocialiteManager($app);
});
}
@@ -32,6 +33,6 @@ class SocialiteServiceProvider extends ServiceProvider
*/
public function provides()
{
return ['Laravel\Socialite\Contracts\Factory'];
return [Factory::class];
}
}