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

GoogleFirebaseAppcheckV1SafetyNetConfig

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

An app's SafetyNet configuration object. This configuration controls certain properties of the AppCheckToken returned by ExchangeSafetyNetToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by SafetyNet; please register them via the Firebase Console or programmatically via the Firebase Management Service.

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

§Properties

§
name?: string
[src]

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

§
tokenTtl?: number
[src]

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