BloomAuthBase class abstract
Base non-generic interface for Bloom authentication session management.
Exposes reactive authentication status signals and session termination.
Example:
final auth = inject<BloomAuthBase>();
print('Authenticated: ${auth.isAuthenticated.value}');
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isAuthenticated
→ ReadonlySignal<
bool> -
Reactive boolean signal indicating whether an active authenticated session exists.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
token
→ ReadonlySignal<
String?> -
Reactive signal containing the current authentication bearer token, or
nullif unauthenticated.no setter
Methods
-
logout(
) → Future< void> - Clears the active session and logs the current user out.
-
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