1f37318f79
- Support azure, bitbucket, github, gitlab, google providers - Add authentication page to settings Co-authored-by: Suraj Kumar <srjkmr1024@gmail.com> Co-authored-by: Michael Castanieto <mcastanieto@gmail.com> Co-authored-by: Mike Kim <m.kim4247@gmail.com>
36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Listeners\MaintenanceModeDisabledNotification;
|
|
use App\Listeners\MaintenanceModeEnabledNotification;
|
|
use Illuminate\Foundation\Events\MaintenanceModeDisabled;
|
|
use Illuminate\Foundation\Events\MaintenanceModeEnabled;
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
protected $listen = [
|
|
MaintenanceModeEnabled::class => [
|
|
MaintenanceModeEnabledNotification::class,
|
|
],
|
|
MaintenanceModeDisabled::class => [
|
|
MaintenanceModeDisabledNotification::class,
|
|
],
|
|
// Registered::class => [
|
|
// SendEmailVerificationNotification::class,
|
|
// ],
|
|
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
|
|
\SocialiteProviders\Azure\AzureExtendSocialite::class.'@handle',
|
|
],
|
|
];
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
public function shouldDiscoverEvents(): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|