FirebaseAppCheck class abstract
Constructors
- FirebaseAppCheck.instanceFor({required FirebaseApp app})
-
factory
Properties
- app → FirebaseApp
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onTokenChange
→ Stream<
String?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(
{AppCheckProvider? provider}) → Future< void> -
Activates App Check for this app using
provider. -
getLimitedUseToken(
) → Future< String> - Requests a limited-use Firebase App Check token.
-
getToken(
[bool forceRefresh = false]) → Future< String?> - Get the current App Check token.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setTokenAutoRefreshEnabled(
bool isTokenAutoRefreshEnabled) → Future< void> - If true, the SDK automatically refreshes App Check tokens as needed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FirebaseAppCheck
-
final