safety_net_config
Overview
Name | safety_net_config |
Type | Resource |
Id | firebase.firebaseappcheck.safety_net_config |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. The relative resource name of the SafetyNet configuration object, in the format: projects/{project_number}/apps/{app_id}/safetyNetConfig |
tokenTtl | string | 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. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_apps_safetyNetConfig_get | SELECT | appsId, projectsId | Gets the SafetyNetConfig for the specified app. |
projects_apps_safetyNetConfig_batchGet | EXEC | projectsId | Atomically gets the SafetyNetConfigs for the specified list of apps. |
projects_apps_safetyNetConfig_patch | EXEC | appsId, projectsId | Updates 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. |