AuthenticationException

class AuthenticationException extends Exception (View source)

Properties

protected array $guards All of the guards that were checked.

Methods

__construct($message = 'Unauthenticated.', array $guards = [])

Create a new authentication exception.

array guards()

Get the guards that were checked.

Details

__construct($message = 'Unauthenticated.', array $guards = [])

Create a new authentication exception.

Parameters

$message
array $guards

array guards()

Get the guards that were checked.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Auth/AuthenticationException.html