FirebaseAppCheckWeb class
- Inheritance
-
- Object
- PlatformInterface
- FirebaseAppCheckWeb
Constructors
-
FirebaseAppCheckWeb({required FirebaseApp app})
-
The entry point for the
FirebaseAuthWeb
class.
Properties
-
app
→ FirebaseApp
-
Returns the
FirebaseApp
for the current instance.
no setterinherited
-
appInstance
→ FirebaseApp?
-
The
FirebaseApp
this instance was initialized with.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
onTokenChange
→ Stream<String?>
-
Registers a listener to changes in the token state.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate({WebProvider? webProvider, AndroidProvider? androidProvider, AppleProvider? appleProvider})
→ Future<void>
-
Activates the Firebase App Check service.
-
delegateFor({required FirebaseApp app})
→ FirebaseAppCheckPlatform
-
Enables delegates to create new instances of themselves if a none default
FirebaseApp
instance is required by the user.
-
getLimitedUseToken()
→ Future<String>
-
Requests a limited-use Firebase App Check token. This method should be used only
if you need to authorize requests to a non-Firebase backend.
-
getToken(bool forceRefresh)
→ Future<String?>
-
Get the current App Check token. Attaches to the most recent in-flight
request if one is present. Returns null if no token is present and no
token requests are in-flight.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setInitialValues()
→ FirebaseAppCheckWeb
-
Sets any initial values on the instance.
-
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
Static Methods
-
registerWith(Registrar registrar)
→ void
-
Called by PluginRegistry to register this plugin for Flutter Web