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: js-miniapp-sdk/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,24 @@ miniApp.setScreenOrientation(ScreenOrientation.LOCK_LANDSCAPE) // or LOCK_PORTRA
203
203
});
204
204
```
205
205
206
+
### 7. Get access token
207
+
208
+
You can get an access token provided by the Host App. The Host App will be able to deny your request if your mini app ID is not approved to access the token.
209
+
210
+
This will return an object containing `token` and `validUntil` keys.
0 commit comments