-
Notifications
You must be signed in to change notification settings - Fork 399
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
Add wallet_address to scopes #307
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -58,7 +58,7 @@ type AuthResult = { | |||||
|
||||||
### `scopes` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no s que hacer There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SDK_reference.md@ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CryptoGing-WalletAddress There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Eakode111 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incredible |
||||||
|
||||||
Available scopes: `username`, `payments`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wasi4440 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. User name - SaNaMoe There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. eakode111 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Amazing |
||||||
Available scopes: `username`, `payments`, `wallet_address`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SaNaMoe There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GACJXMWK23KTJJISEYHUF47OU5OFKFHVJV2KZZRTQJRNCOYU7MDJMWPP There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBCT2ZKP3GAITRA4XQH5C4ICCJWKF3GGPXU2Q7JFN7T3LXCN4C4ELKNV There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBFTP3KV6NXMECJ66XKT6FDWCXSLPKO4EY4FG2GOKSGY6NPHBWQQVUYB There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My wallet address -GBCT2ZKP3GAITRA4XQH5C4ICCJWKF3GGPXU2Q7JFN7T3LXCN4C4ELKNV There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBZO3OKL5CLSCSPDH76DYQUB7OPONOB3WUVN55GDC654CCA7F5P3A47S There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GDCCFRHQAL4PQQRZP4G4CFSKFD63V5LPZY4CKMX3F4A6XDCOFQTJEVWB |
||||||
|
||||||
> **Not yet implemented** | ||||||
> | ||||||
|
@@ -67,6 +67,7 @@ Available scopes: `username`, `payments`. | |||||
> However, you should implement your app by only adding the scopes you need when calling `authenticate`. | ||||||
> Scopes support will be added before the general release of the Pi platform. | ||||||
|
||||||
<br /> | ||||||
Here is a breakdown of various keys available on the `AuthResult['user']` object, and the scopes required for those keys | ||||||
to be present: | ||||||
|
||||||
|
@@ -75,6 +76,16 @@ to be present: | |||||
| `uid` | An app-local identifier for the user. This is specific to this user, and this app. It will change if the user revokes the permissions they granted to your app. | (none) | | ||||||
| `username` | The user's Pi username. | `username` | | ||||||
|
||||||
<br /> | ||||||
|
||||||
Here is a breakdown of scopes with no return and methods requiring them: | ||||||
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SaNaMoe e |
||||||
| Scope | Description | Methods Requiring Scope | | ||||||
| -------------: | ------------- | :-------------: | | ||||||
| `payments` | Gives permission to the app to create payments on the users behalf | `createPayment` | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBZO3OKL5CLSCSPDH76DYQUB7OPONOB3WUVN55GDC654CCA7F5P3A47S There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Approve There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aptove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Very cool |
||||||
| `wallet_address` | Gives the app access to the users public wallet address | `createPayment` - App to User Payments| | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBCT2ZKP3GAITRA4XQH5C4ICCJWKF3GGPXU2Q7JFN7T3LXCN4C4ELKNV There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBFTP3KV6NXMECJ66XKT6FDWCXSLPKO4EY4FG2GOKSGY6NPHBWQQVUYB There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GBZO3OKL5CLSCSPDH76DYQUB7OPONOB3WUVN55GDC654CCA7F5P3A47S |
||||||
|
||||||
<br /> | ||||||
### `onIncompletePaymentFound` | ||||||
|
||||||
Signature: `(payment: PaymentDTO) => void` | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SDK_reference.md