1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello, thank you for your question. As I understand, you wish to retrieve access tokens from Cognito without needing to continuously call Auth.currentSession(). After the initial Auth.currentSession() call, JWT tokens can be retrieved from your local cache by utilizing the Cache module. Please refer to the link below for examples and additional information.
https://docs.amplify.aws/lib/auth/advanced/q/platform/js/#retrieve-jwt-tokens
已回答 2 年前
相關內容
- 已提問 9 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前