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

GoogleFirebaseAppcheckV1AppAttestConfig

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

An app's App Attest configuration object. This configuration controls certain properties of the AppCheckToken returned by ExchangeAppAttestAttestation and ExchangeAppAttestAssertion, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the Firebase Management Service.

interface GoogleFirebaseAppcheckV1AppAttestConfig {
name?: string;
tokenTtl?: number;
}

§Properties

§
name?: string
[src]

Required. The relative resource name of the App Attest configuration object, in the format: projects/{project_number}/apps/{app_id}/appAttestConfig

§
tokenTtl?: number
[src]

Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.