You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
1)i have created one class which extends the Link
2)when my token is valid i have concat my customLink class with HttpLink(where i have set the uri and my header)
3)now while executing the request my server throws error of unAuthentication(token expired)
4)i have successfully refreshed my token
5)i want my current request(step3) to be executed with new token
6)for that i have to set my headers in my customLink class
Hey @naikdp7!
Artemis currently uses gql's Link as its underlining client mechanism. If you're changing/chaining new Links at runtime, you need to reinstantiate ArtemisClient.fromLink.
1)i have created one class which extends the Link
2)when my token is valid i have concat my customLink class with HttpLink(where i have set the uri and my header)
3)now while executing the request my server throws error of unAuthentication(token expired)
4)i have successfully refreshed my token
5)i want my current request(step3) to be executed with new token
6)for that i have to set my headers in my customLink class
i have tried below code
Any help or guidance will be appreciated..thanks in advance
The text was updated successfully, but these errors were encountered: