ExchangeAppAttestAttestationResponse
Stay organized with collections
Save and categorize content based on your preferences.
AttestationTokenResponse
Encapsulates an App Check token, which are used to access Firebase services protected by App Check.
JSON representation |
{
"attestationToken": string,
"ttl": string
} |
Fields |
attestationToken |
string
An App Check token. App Check tokens are signed JWTs containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check.
|
ttl |
string (Duration format)
The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration. A duration in seconds with up to nine fractional digits, ending with 's '. Example: "3.5s" .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-05 UTC.
[null,null,["Last updated 2024-04-05 UTC."],[],[],null,["# ExchangeAppAttestAttestationResponse\n\nResponse message for the [ExchangeAppAttestAttestation](/docs/reference/appcheck/rest/v1beta/projects.apps/exchangeAppAttestAttestation#google.firebase.appcheck.v1beta.TokenExchangeService.ExchangeAppAttestAttestation) method.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"artifact\": string, \"attestationToken\": { object (/docs/reference/appcheck/rest/v1beta/ExchangeAppAttestAttestationResponse#AttestationTokenResponse) }, \"appCheckToken\": { object (/docs/reference/appcheck/rest/v1beta/AppCheckToken) } } ``` |\n\n| Fields ||\n|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `artifact` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` An artifact that can be used in future calls to [ExchangeAppAttestAssertion](/docs/reference/appcheck/rest/v1beta/projects.apps/exchangeAppAttestAssertion#google.firebase.appcheck.v1beta.TokenExchangeService.ExchangeAppAttestAssertion). A base64-encoded string. |\n| `attestationToken` **(deprecated)** | `object (`[AttestationTokenResponse](/docs/reference/appcheck/rest/v1beta/ExchangeAppAttestAttestationResponse#AttestationTokenResponse)`)` | This field is deprecated; it has been renamed to [`app_check_token`](/docs/reference/appcheck/rest/v1beta/ExchangeAppAttestAttestationResponse#FIELDS.app_check_token). Encapsulates an App Check token. |\n| `appCheckToken` | `object (`[AppCheckToken](/docs/reference/appcheck/rest/v1beta/AppCheckToken)`)` Encapsulates an App Check token. |\n\nAttestationTokenResponse\n------------------------\n\n| This object is deprecated; it has been renamed to [AppCheckToken](/docs/reference/appcheck/rest/v1beta/AppCheckToken).\nEncapsulates an *App Check token*, which are used to access Firebase services protected by App Check.\n\n| JSON representation |\n|-------------------------------------------------------|\n| ``` { \"attestationToken\": string, \"ttl\": string } ``` |\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `attestationToken` | `string` An App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519) containing claims that identify the attested app and Firebase project. This token is used to access Firebase services protected by App Check. |\n| `ttl` | `string (`[Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration)` format)` The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `\"3.5s\"`. |"]]