REST Resource: jwt
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Recurso: JwtResource
Representação JSON |
{
"jwt": string
} |
Métodos |
|
Insere os recursos no JWT. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eJwtResource\u003c/code\u003e object represents a JSON Web Token (JWT) used for Google Wallet integrations.\u003c/p\u003e\n"],["\u003cp\u003eThis JWT contains information about resources, as detailed in the provided link.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003einsert\u003c/code\u003e method to integrate these resources within the JWT.\u003c/p\u003e\n"],["\u003cp\u003eThe structure of the JWT is represented by a JSON object containing the 'jwt' field, which holds the token string.\u003c/p\u003e\n"]]],["The core content defines the `JwtResource`, which uses a JSON representation with a single field: `jwt`, a string adhering to the JWT format described in the provided link. The key action is facilitated by the `insert` method, accessible via the `/wallet/reference/rest/v1/jwt/insert` endpoint. This method allows the insertion of resources within the specified JWT. In essence, this defines a format to store resources and allows to add new ones.\n"],null,["# REST Resource: jwt\n\n- [Resource: JwtResource](#JwtResource)\n - [JSON representation](#JwtResource.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: JwtResource\n---------------------\n\n| JSON representation |\n|---------------------------|\n| ``` { \"jwt\": string } ``` |\n\n| Fields ||\n|-------|------------------------------------------------------------------------------------------------------------------------------|\n| `jwt` | `string` A string representing a JWT of the format described at \u003chttps://developers.google.com/wallet/reference/rest/v1/Jwt\u003e |\n\n| Methods ------- ||\n|----------------------------------------------------|-----------------------------------|\n| ### [insert](/wallet/reference/rest/v1/jwt/insert) | Inserts the resources in the JWT. |"]]