FusabaseAppTrust class
Entry point for App Trust operations.
Properties
- app ↔ FusabaseApp
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onTokenChange
→ Stream<
String> -
Emits token changes similarly to App Trust.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(
{AndroidProvider? androidProvider, AppleProvider? appleProvider, WebProvider? webProvider}) → Future< void> - Activates App Trust for the current app.
-
getToken(
[bool forceRefresh = false]) → Future< String?> - Retrieves the current App Trust token.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
useApp(
FusabaseApp app) → void - Rebinds this App Trust instance to a newly initialized app with the same name while preserving the active provider and cached token.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FusabaseAppTrust
-
Returns the App Trust instance for the default Fusabase app.
no setter
Static Methods
-
instanceFor(
{required FusabaseApp app}) → FusabaseAppTrust - Returns the App Trust instance for a specific app.