class AuthenticationException extends Exception (View source)

Properties

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

Methods

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

Create a new authentication exception.

array
guards()

Get the guards that were checked.

Details

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

Create a new authentication exception.

Parameters

string $message
array $guards

Return Value

void

array guards()

Get the guards that were checked.

Return Value

array