Fire login (success or failed).

@param $succeeded
332575
private function fireLoginEvent($succeeded)
    {
        event(
            $succeeded
                ? new LoginSucceeded($this->getUser())
                : new LoginFailed($this->getUser())
        );

        return $succeeded;
    }
941309
protected function fireAttemptEvent(array $credentials, $remember, $login)
    {
        if ($this->events) {
            $payload = array($credentials, $remember, $login);

            $this->events->dispatch('auth.attempt', $payload);
        }
    }
475879
public function fire()
	{
		if ($this->flyphp['queue.failer']->forget($this->argument('id')))
		{
			$this->info('Failed job deleted successfully!');
		}
		else
		{
			$this->error('No failed job matches the given ID.');
		}
	}
93897
protected function log(bool $success) : void
    {
        if ($success) {
            $this->stdout('Success!', Console::FG_GREEN, Console::BOLD);
        } else {
            $this->stderr('Error!', Console::FG_RED, Console::BOLD);
        }
        $this->stdout(PHP_EOL);
    }
406210
protected function fireBindingEvent($username, $password)
    {
        if (isset($this->events)) {
            $this->events->fire(new Binding($this->connection, $username, $password));
        }
    }
750025
public function fire()
    {
        $this->blockMessage('Welcome!', 'Starting the installation process...', 'comment');

        $success = $this->installer->stack([
            \Modules\Core\Console\Installers\Scripts\ProtectInstaller::class,
            \Modules\Core\Console\Installers\Scripts\RequirementsCheck::class,
            \Modules\Core\Console\Installers\Scripts\ResetEnvironment::class,
            \Modules\Core\Console\Installers\Scripts\ConfigureDatabase::class,
            \Modules\Core\Console\Installers\Scripts\SetAppKey::class,
            \Modules\Core\Console\Installers\Scripts\ModuleMigrator::class,
            \Modules\Core\Console\Installers\Scripts\ModuleSeeders::class,
            \Modules\Core\Console\Installers\Scripts\ModuleAssets::class,
            \Modules\Core\Console\Installers\Scripts\ThemeAssets::class,
            \Modules\Core\Console\Installers\Scripts\AdminUserInstaller::class,
            \Modules\Core\Console\Installers\Scripts\UnignoreComposerLock::class,
            \Modules\Core\Console\Installers\Scripts\SocietyIsInstalled::class,
        ])->install($this);

        if ($success) {
            $this->blockMessage(
                'SocietyCMS is ready',
                'You can now login with your username and password at /backend',
                'fg=black;bg=green;options=bold'
            );
        }
    }
537829
protected function success($verified)
  {
    Redirect::to($this->redirectPath())
            ->with('form.old', [
              $this->musk() => isset($verified->{$this->musk()}) ? $verified->{$this->musk()} : ''
            ])
            ->with('message', 'Your password has been successfully changed.', 200);
  }
204341
public function afterMemberLoggedIn()
    {
        $this->getAuditLogger()->info(sprintf(
            '"%s" (ID: %s) successfully logged in',
            $this->owner->Email ?: $this->owner->Title,
            $this->owner->ID
        ));
    }
46532
public function attempt(array $credentials = array(), $remember = false, $login = true, $secure = false)
	{
		$this->fireAttemptEvent($credentials, $remember, $login);

		if (!$login)
		{
			return $this->validate($credentials);
		}

		try
		{
			$this->login($credentials, $remember, $secure);
		} catch (LoginFailedException $e)
		{
			$this->setError($e);

			return false;
		}

		return true;
	}
1065262
protected function fire()
    {
        $migration = $this->migrator->createMigration(
            $this->input->getArgument('name'),
            $this->input->getOption('template'),
            [],
            $this->input->getOption('directory')
        );

        $this->message("<info>Migration created:</info> {$migration}.php");
    }
813872
void fireEvent() {
        boolean useLock = !isReentrant();
        if (useLock) {
            lock.lock();
        }
        EventImpl event = eventQueue.poll();

        try {
            if (event != null) {
                fireEvent(event);
            }
        } finally {
            if (useLock) {
                lock.unlock();
            }
        }

    }
637824
public function fire()
    {
        if ($this->option('lucid') && ! $this->getParsedServiceInput()) {
            $this->error('You must pass a Service name with the `--lucid` option.');

            return true;
        }

        if ($this->option('force')) {
            $name = $this->getParsedNameInput();
            $domain = $this->option('domain');
            $lucid = $this->option('lucid');
            $service = $this->getParsedServiceInput() ?: null;


            Artisan::call('multi-auth:settings', [
                'name' => $name,
                'service' => $service,
                '--domain' => $domain,
                '--lucid' => $lucid,
                '--force' => true
            ]);

            Artisan::call('multi-auth:files', [
                'name' => $name,
                'service' => $service,
                '--domain' => $domain,
                '--lucid' => $lucid,
                '--force' => true
            ]);

            if(!$this->option('model')) {
                Artisan::call('multi-auth:model', [
                    'name' => $name,
                    '--lucid' => $lucid,
                    '--force' => true
                ]);

                $this->installMigration();
                $this->installPasswordResetMigration();
            }

            if(!$this->option('views')) {
                Artisan::call('multi-auth:views', [
                    'name' => $name,
                    'service' => $service,
                    '--lucid' => $lucid,
                    '--force' => true
                ]);
            }

            if(!$this->option('routes')) {
                $this->installWebRoutes();
            }

            $this->info('Multi Auth with ' . ucfirst($name) . ' guard successfully installed.');

            return true;
        }

        $this->info('Use `-f` flag first.');

        return true;
    }
872932
public function fire()
    {
        $this->laravel['auth.verification']->broker($this->argument('name'))->getRepository()->deleteExpired();
        $this->info('Expired verification tokens cleared!');
    }
697969
protected function fireCompletedEvent(Authenticatable $user)
    {
        if ($this->completedEvent === null || !class_exists($this->completedEvent)) {
            return;
        }

        event(new $this->completedEvent($user));
    }
797238
public function processLogin()
    {
        $this->memorizeURL();
        $this->app->template->tryDel('Menu');
        $this->showLoginForm();

        $this->app->hook('post-init');
        $this->app->hook('pre-exec');

        if (isset($_GET['submit']) && $_POST) {
            $this->app->hook('submitted');
        }

        $this->app->hook('post-submit');
        $this->app->execute();
        exit;
    }
109602
protected function fireLoginEvent($user)
    {
        if (isset($this->events)) {
            $this->events->dispatch(new Login($user, false));
        }
    }
265972
public function fire()
	{
		$fullPath = $this->createBaseMigration();
		$this->files->put($fullPath, $this->getMigrationStub());
		$this->info('Migration created successfully!');
	}