-
Notifications
You must be signed in to change notification settings - Fork 154
Description
We are investigating how we can build a backend API for the generation of generic passes for a user to add to their Google Wallet.
For the investigation we are referencing the Google .NET example implementation here: https://github.com/google-wallet/rest-samples/blob/main/dotnet/DemoGeneric.cs
In this example there is a method called CreateObject that builds the GenericPass and uses WalletobjectsService to insert the pass.
There is also a method called CreateJWTNewObjects that builds the GenericPass and then incorporates it into a signed JWT token and uses this to build a URL for the user to use to add it to their wallet.
What we're not clear on is are these simply two different ways of creating a pass or are both process required? I.e. You need to use WalletobjectsService and create the JWT or it is enough to simply create the JWT.