AuthenticationException class
- Inheritance
-
- Object
- LucidAbstractException
- AuthenticationException
Constructors
- AuthenticationException(String message, {String? code, LucidJsonMap? context, LucidErrorSeverity severity = LucidErrorSeverity.error, StackTrace? stackTrace, DateTime? timestamp, bool requiresReauth = false})
-
const
- AuthenticationException.accountLocked()
-
factory
- AuthenticationException.invalidCredentials()
-
factory
- AuthenticationException.otpVerificationFailed()
-
factory
- AuthenticationException.permissionDenied()
-
factory
- AuthenticationException.sessionExpired()
-
factory
- AuthenticationException.tokenExpired()
-
factory
- AuthenticationException.twoFactorRequired()
-
factory
-
factory
- AuthenticationException.userSuspended()
-
factory
Properties
- code → String?
-
finalinherited
- context → LucidJsonMap?
-
finalinherited
- createdAt → DateTime
-
no setterinherited
- details → String
-
no setterinherited
- formattedContext → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCritical → bool
-
no setterinherited
- isRecoverable → bool
-
no setterinherited
- message → String
-
finalinherited
- requiresReauth → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → LucidErrorSeverity
-
finalinherited
- stackTrace → StackTrace?
-
finalinherited
- timestamp → DateTime?
-
finalinherited
Methods
-
copyWith(
{String? message, String? code, LucidErrorSeverity? severity, LucidJsonMap? context, DateTime? timestamp, StackTrace? stackTrace, bool? requiresReauth}) → AuthenticationException -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → LucidJsonMap -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited