AppCheckAttestation class sealed
Raw attestation from an AppCheckProvider, before exchange for a JWT.
Most factories produce proof that FirebaseAppCheck exchanges via the App
Check API. AppCheckAttestation.minted is for tokens already issued by your
backend (e.g. Admin SDK appCheck().createToken()).
Constructors
- AppCheckAttestation.appAttest({required String attestationStatement, required String challenge, required String keyId})
-
factory
- AppCheckAttestation.appAttestAssertion({required String artifact, required String assertion, required String challenge})
-
factory
- AppCheckAttestation.custom(String customToken)
-
Service-account-signed JWT for
exchangeCustomToken(custom provider B).factory - AppCheckAttestation.debug(String debugToken)
-
factory
- AppCheckAttestation.deviceCheck(String token)
-
factory
- AppCheckAttestation.minted(String token, DateTime expireTime)
-
App Check JWT already minted on your backend (custom provider A).
factory
- AppCheckAttestation.playIntegrity(String token)
-
factory
- AppCheckAttestation.recaptchaEnterprise(String token, {String? webAppId})
-
factory
- AppCheckAttestation.recaptchaV3(String token, {String? webAppId})
-
webAppIdis the Firebase web app id (1:…:web:…) when attestation was obtained for a different platform (e.g. reCAPTCHA WebView fallback on mobile).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
-
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