naystack - v1.9.9
    Preparing search index...

    Function makeAuthLink

    • Builds the client link chain: refresh-and-retry → auth header → HTTP.

      refreshLink sits outermost so its replayed operation passes back through authLink and picks up the refreshed token.

      Returns ApolloLink

      An ApolloLink for the link option of ApolloClient.