class Illuminate / Auth / AuthenticationException

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.