Passing query options to auth provider methods
Hi everyone,
I am working on implementing a custom auth provider for my refine app. One of my requirements is to be able to check for an auth token in the check method of the auth provider, and I would like to be able to pass some react query options to the check method (mainly override the stale time and force the refetch on window focus) -
Is there a way to do this? I can see the check query cached but it has default options at the moment.
I am working on implementing a custom auth provider for my refine app. One of my requirements is to be able to check for an auth token in the check method of the auth provider, and I would like to be able to pass some react query options to the check method (mainly override the stale time and force the refetch on window focus) -
Is there a way to do this? I can see the check query cached but it has default options at the moment.
