REST Resource: jwt
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: JwtResource
ייצוג JSON |
{
"jwt": string
} |
שיטות |
|
הכנסת המשאבים ב-JWT. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]