Accept a callback for isAuthenticated
#216
brandonpittman
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Could you provide an example API and use case? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is connected to the process of refreshing tokens, but even with remix-auth, I have to have a separate
requireUser
function to refresh tokens. What about adding a callback option toisAuthenticated
that could run whenever the function is called and returns anything other thannull
?Beta Was this translation helpful? Give feedback.
All reactions