Documentation

AuthenticationException extends Exception
in package

Table of Contents

$guards  : array<string|int, mixed>
All of the guards that were checked.
__construct()  : void
Create a new authentication exception.
guards()  : array<string|int, mixed>
Get the guards that were checked.

Properties

Methods

__construct()

Create a new authentication exception.

public __construct([string $message = 'Unauthenticated.' ][, array<string|int, mixed> $guards = [] ]) : void
Parameters
$message : string = 'Unauthenticated.'
$guards : array<string|int, mixed> = []
Return values
void

guards()

Get the guards that were checked.

public guards() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results