Stay organized with collections
Save and categorize content based on your preferences.
Resource: DebugToken
A debug token is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.
Required. A human readable display name used to identify this debug token.
token
string
Required. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive.
This field is immutable once set, and cannot be provided during an debugTokens.patch request. You can, however, delete this debug token using debugTokens.delete to revoke it.
For security reasons, this field will never be populated in any response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-05 UTC."],[],[],null,["# REST Resource: projects.apps.debugTokens\n\nResource: DebugToken\n--------------------\n\nA *debug token* is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.\n\n| JSON representation |\n|--------------------------------------------------------------------|\n| ``` { \"name\": string, \"displayName\": string, \"token\": string } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} |\n| `displayName` | `string` Required. A human readable display name used to identify this debug token. |\n| `token` | `string` Required. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an [debugTokens.patch](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/patch#google.firebase.appcheck.v1.ConfigService.UpdateDebugToken) request. You can, however, delete this debug token using [debugTokens.delete](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/delete#google.firebase.appcheck.v1.ConfigService.DeleteDebugToken) to revoke it. For security reasons, this field will never be populated in any response. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/create) | Creates a new [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken) for the specified app. |\n| ### [delete](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/delete) | Deletes the specified [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken). |\n| ### [get](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/get) | Gets the specified [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken). |\n| ### [list](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/list) | Lists all [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken)s for the specified app. |\n| ### [patch](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/patch) | Updates the specified [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken). |"]]