class
Illuminate
/
Auth
/
AuthenticationException
You are viewing an older version of the documentation. For the latest, please visit master documentation.
AuthenticationException
Extends
Properties
protected
$guards array
All of the guards that were checked.
Default: null
protected
$redirectTo string|null
The path the user should be redirected to.
Default: null
Methods
public
__construct ( $message , array $guards , $redirectTo ) : void
Create a new authentication exception.
Parameters
- $message string
- $guards array
- $redirectTo string|null
public
guards ( ) : array
Get the guards that were checked.
public
redirectTo ( ) : string|null
Get the path the user should be redirected to.