REST Resource: jwt
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: JwtResource
Zapis JSON |
{
"jwt": string
} |
Metody |
|
Wstawia zasoby do tokena JWT. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]