Files
w4rpservices/app/Providers/EveOnlineServiceProvider2.php
T
drkthunder02 90fbcb18ba added a Trait for EveAuth2
eve online service provider 2
eve online socialite provider 2
2019-06-23 06:03:23 -05:00

26 lines
636 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class EveOnlineServiceProvider2 extends ServiceProvider {
/**
* Bootstrap any application services
*
* @return void
*/
public function boot() {
$socialite = $this->app->make('Laravel\Socialite\Contracts\Factory');
$socialite->extend(
'eveonline',
function ($app) use ($socialite) {
$config = $app['config']['services.eveonline'];
return $socialite->buildProvider(EveOnlineSocialiteProvider::class, $config);
}
);
}
}
?>