AppCheckToken

Encapsulates anApp Check token, which are used to access backend services protected by App Check.

JSON representation
{"token":string,"ttl":string}
Fields
token

string

The App Check token.

App Check tokens are signedJWTs containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check.

These tokens can also beverified by your own custom backends using the Firebase Admin SDK or third-party libraries.

ttl

string (Duration format)

The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration.

A duration in seconds with up to nine fractional digits, ending with 's'. Example:"3.5s".

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-26 UTC.