Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
peripherad
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Auth
:
AuthenticationException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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; } }