AuthenticationException class final
401 — no authenticated user for the attempted guards.
- Inheritance
-
- Object
- DaravelException
- HttpException
- AuthenticationException
Constructors
-
AuthenticationException({String message = 'Unauthenticated.', List<
String> guards = const <String>[], String? redirectTo}) -
const
Properties
-
guards
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Extra headers to send with the rendered response.
finalinherited
- message → String
-
Human readable description of the failure.
finalinherited
- prettyJson → bool
-
Laravel's
Handler::unauthenticatedwrites compact JSON.no setteroverride - redirectTo → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
HTTP status code.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited