![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/syn.corals.io/vendor/laravel/framework/src/Illuminate/Auth/ |
<?php namespace Illuminate\Auth; use Exception; class AuthenticationException extends Exception { /** * All of the guards that were checked. * * @var array */ protected $guards; /** * The path the user should be redirected to. * * @var string|null */ protected $redirectTo; /** * Create a new authentication exception. * * @param string $message * @param array $guards * @param string|null $redirectTo * @return void */ public function __construct($message = 'Unauthenticated.', array $guards = [], $redirectTo = null) { parent::__construct($message); $this->guards = $guards; $this->redirectTo = $redirectTo; } /** * Get the guards that were checked. * * @return array */ public function guards() { return $this->guards; } /** * Get the path the user should be redirected to. * * @return string|null */ public function redirectTo() { return $this->redirectTo; } }