Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleFirebaseAppcheckV1AppCheckToken

import type { GoogleFirebaseAppcheckV1AppCheckToken } from "https://googleapis.deno.dev/v1/firebaseappcheck:v1.ts";

Encapsulates an App Check token, which are used to access Firebase services protected by App Check.

interface GoogleFirebaseAppcheckV1AppCheckToken {
token?: string;
ttl?: number;
}

§Properties

§
token?: string
[src]

The App Check token. App Check tokens are signed JWTs containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check. These tokens can also be verified by your own custom backends using the Firebase Admin SDK.

§
ttl?: number
[src]

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.