REST Resource: projects.apps.deviceCheckConfig Stay organized with collections Save and categorize content based on your preferences.
Resource: DeviceCheckConfig
An app's DeviceCheck configuration object. This configuration is used byExchangeDeviceCheckToken to validate device tokens issued to apps by DeviceCheck. It also controls certain properties of the returned, such as itsAppCheckTokenttl.
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 theFirebase Management Service.
| JSON representation |
|---|
{"name":string,"tokenTtl":string,"keyId":string,"privateKey":string,"privateKeySet":boolean} |
| Fields | |
|---|---|
name |
Required. The relative resource name of the DeviceCheck configuration object, in the format: |
tokenTtl |
Specifies the duration for which App Check tokens exchanged from DeviceCheck tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with ' |
keyId |
Required. The key identifier of a private key enabled with DeviceCheck, created in your Apple Developer account. |
privateKey |
Required. Input only. The contents of the private key ( For security reasons, this field will never be populated in any response. |
privateKeySet |
Output only. Whether the |
Methods | |
|---|---|
| Atomically gets theDeviceCheckConfigs for the specified list of apps. |
| Gets theDeviceCheckConfig for the specified app. |
| Updates theDeviceCheckConfig for the specified app. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-25 UTC.