Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding a method to get a user-specific token #37

Open
phoglenix opened this issue Dec 8, 2021 · 0 comments
Open

Consider adding a method to get a user-specific token #37

phoglenix opened this issue Dec 8, 2021 · 0 comments

Comments

@phoglenix
Copy link
Collaborator

The DGAPI v2.0 supports getting tokens for purchases but does not have a way to get a token specific to a user.
A user-specific token could be useful for interacting with server-side methods, eg. a server-side analogue to listPurchases that returns already-verified purchase information, or a server-side analogue to getDetails so prices specific to the user could be server-side rendered.

This token might not be available in all store contexts, eg. Play Billing doesn't currently support this concept.

Ideally this token would be short-lived so it's not useful for fingerprinting.
This token could possibly be single-use, or take an input string to generate, so that it would be difficult to share among multiple clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@phoglenix and others