ResultAuthenticationFailed class
The result of a failed Endpoint method call where authentication failed.
Constructors
- ResultAuthenticationFailed.insufficientAccess(String message)
-
Creates a new ResultAuthenticationFailed object when the user provided
an authentication key that did not have sufficient access.
factory
- ResultAuthenticationFailed.unauthenticated(String message)
-
Creates a new ResultAuthenticationFailed object when the user failed to
provide a valid authentication key.
factory
Properties
- errorDescription → String
-
Description of the error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → AuthenticationFailureReason
-
The reason why the authentication failed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited