GenerateAppAttestChallengeResponse
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"challenge": string,
"ttl": string
} |
Fields |
challenge |
string (bytes format)
A one-time use challenge for the client to pass to the App Attest API. A base64-encoded string.
|
ttl |
string (Duration format)
The duration from the time this challenge 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-09-26 UTC.
[null,null,["Last updated 2024-09-26 UTC."],[],[],null,["# GenerateAppAttestChallengeResponse\n\nResponse message for the [GenerateAppAttestChallenge](/docs/reference/appcheck/rest/v1/projects.apps/generateAppAttestChallenge#google.firebase.appcheck.v1.TokenExchangeService.GenerateAppAttestChallenge) method.\n\n| JSON representation |\n|------------------------------------------------|\n| ``` { \"challenge\": string, \"ttl\": string } ``` |\n\n| Fields ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `challenge` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` A one-time use challenge for the client to pass to the App Attest API. A base64-encoded string. |\n| `ttl` | `string (`[Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration)` format)` The duration from the time this challenge 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\"`. |"]]