-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
refactor: change logout and refresh token to use useQuery #2999
Conversation
…t in the header component 🔧 (api.tsx): Add useLogout and useRefreshAccessToken functions to handle user logout and access token refresh 🔧 (use-post-logout.ts): Implement useLogout function to handle user logout functionality 🔧 (use-post-refresh-access.ts): Implement useRefreshAccessToken function to handle access token refresh 🔧 (authStore.ts): Remove unnecessary imports and update the authStore functionality for user logout and access token management.
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 26 Jul 24 21:05 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
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.
LGTM
…i#2999) ✨ (headerComponent/index.tsx): Add functionality to handle user logout in the header component 🔧 (api.tsx): Add useLogout and useRefreshAccessToken functions to handle user logout and access token refresh 🔧 (use-post-logout.ts): Implement useLogout function to handle user logout functionality 🔧 (use-post-refresh-access.ts): Implement useRefreshAccessToken function to handle access token refresh 🔧 (authStore.ts): Remove unnecessary imports and update the authStore functionality for user logout and access token management. Co-authored-by: anovazzi1 <[email protected]> (cherry picked from commit 9903b44)
✨ (headerComponent/index.tsx): Add functionality to handle user logout in the header component
🔧 (api.tsx): Add useLogout and useRefreshAccessToken functions to handle user logout and access token refresh
🔧 (use-post-logout.ts): Implement useLogout function to handle user logout functionality
🔧 (use-post-refresh-access.ts): Implement useRefreshAccessToken function to handle access token refresh
🔧 (authStore.ts): Remove unnecessary imports and update the authStore functionality for user logout and access token management.