InappifyAuthenticationResult class

Public authentication state returned by an Inappify session backend.

Web backends obtain this value after exchanging a one-time Identity Ticket or verifying an OTP challenge. Tokens deliberately do not cross this boundary; their storage and rotation remain owned by the selected backend.

Annotations

Constructors

InappifyAuthenticationResult({required bool isAnonymous, String? type, String? authenticatedAt})
Creates an immutable authentication result.
const
InappifyAuthenticationResult.fromMap(Map<String, dynamic> map)
Decodes the documented, token-free authentication response.
factory

Properties

authenticatedAt → String?
ISO-8601 authentication timestamp, when reported by the backend.
final
hashCode → int
The hash code for this object.
no setterinherited
isAnonymous → bool
Whether the active customer session is anonymous.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String?
Provider-defined authentication type, when reported by the backend.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
Encodes this result using standard message-codec values.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited