AppCheckProvider class sealed

Obtains an App Check token for one FirebaseApp.

The direct subtypes are AttestingAppCheckProvider and FallbackAppCheckProvider. Extend AttestingAppCheckProvider to attest and exchange that attestation. AppCheckProvider.fallback tries each child until one returns a token.

Implementers

Constructors

AppCheckProvider.debug({String? debugToken})
Debug provider (DebugAppCheckProvider).
factory
AppCheckProvider.fallback(List<AppCheckProvider> providers)
Tries providers in order until attestation and token exchange succeed.
factory
AppCheckProvider.recaptchaEnterprise(String siteKey)
reCAPTCHA Enterprise provider (ReCaptchaEnterpriseProvider).
factory
AppCheckProvider.recaptchaV3(String siteKey)
reCAPTCHA v3 provider (ReCaptchaV3Provider).
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getToken(FirebaseApp app, {required bool limitedUse}) → Future<AppCheckToken>
Returns an App Check token for app.
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