class
Illuminate
/
Auth
/
AuthenticationException
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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.