REST Resource: jwt
Stay organized with collections
Save and categorize content based on your preferences.
Resource: JwtResource
JSON representation |
{
"jwt": string
} |
Methods |
|
Inserts the resources in the JWT. |
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-10-23 UTC.
[null,null,["Last updated 2024-10-23 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. |"]]