Skip to main content

safety_net_config

Overview

Namesafety_net_config
TypeResource
Idfirebase.firebaseappcheck.safety_net_config

Fields

NameDatatypeDescription
namestringRequired. The relative resource name of the SafetyNet configuration object, in the format: projects/{project_number}/apps/{app_id}/safetyNetConfig
tokenTtlstringSpecifies 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.

Methods

NameAccessible byRequired ParamsDescription
projects_apps_safetyNetConfig_getSELECTappsId, projectsIdGets the SafetyNetConfig for the specified app.
projects_apps_safetyNetConfig_batchGetEXECprojectsIdAtomically gets the SafetyNetConfigs for the specified list of apps.
projects_apps_safetyNetConfig_patchEXECappsId, projectsIdUpdates the SafetyNetConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens.