REST Resource: jwt
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:JwtResource
JSON 表示法 |
{
"jwt": string
} |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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. |"]]