AuthenticationResult class
Authentication Response Payload.
Constructors
- AuthenticationResult.failure({required String? errorMessage, String? errorCode = 'AUTH_FAILED', required int durationMs, required DateTime timestamp})
-
const
- AuthenticationResult.success({required EnterpriseSession? session, required int durationMs, required DateTime timestamp})
-
const
Properties
- durationMs → int
-
final
- errorCode → String?
-
final
- errorMessage → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → EnterpriseSession?
-
final
- timestamp → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited