Skip to content
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

Does refresh() throw if it fails to refresh, or does the returned value need to be checked? #1038

Open
gwashburne opened this issue Nov 25, 2024 · 0 comments

Comments

@gwashburne
Copy link

Documentation Feedback

This is mostly a question, but I think the answer would be good to include in the documentation. Suppose the following:

  • I call await refresh() inside a try catch block with a refresh token
  • The user's account has been deactivated, so the refresh should fail

Will refresh() throw an error, or will the RefreshResult need to be checked to see if it failed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant