You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SDK_reference.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ type AuthResult = {
58
58
59
59
### `scopes`
60
60
61
-
Available scopes: `username`, `payments`.
61
+
Available scopes: `username`, `payments`, `wallet_address`.
62
62
63
63
> **Not yet implemented**
64
64
>
@@ -67,6 +67,7 @@ Available scopes: `username`, `payments`.
67
67
> However, you should implement your app by only adding the scopes you need when calling `authenticate`.
68
68
> Scopes support will be added before the general release of the Pi platform.
69
69
70
+
<br />
70
71
Here is a breakdown of various keys available on the `AuthResult['user']` object, and the scopes required for those keys
71
72
to be present:
72
73
@@ -75,6 +76,16 @@ to be present:
75
76
| `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) |
76
77
| `username` | The user's Pi username. | `username` |
77
78
79
+
<br />
80
+
81
+
Here is a breakdown of scopes with no return and methods requiring them:
0 commit comments