How does extPay know which user information to get, when we run extpay.getUser() #102
Answered
by
burkybang
Shashank003
asked this question in
Q&A
-
|
How exactly does this function know, which user's information to get from the server. |
Beta Was this translation helpful? Give feedback.
Answered by
burkybang
Feb 18, 2023
Replies: 1 comment 2 replies
-
|
When the user signs in, your extension sends a request to extensionpay.com, which generates a unique ID and returns it. Your extension saves the ID in Chrome sync storage. When you run extpay.getUser(), it sends the ID to extensionpay.com asking for the user's information. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Glench
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the user signs in, your extension sends a request to extensionpay.com, which generates a unique ID and returns it. Your extension saves the ID in Chrome sync storage. When you run extpay.getUser(), it sends the ID to extensionpay.com asking for the user's information.