naystack - v1.9.9
    Preparing search index...

    Function useAuthFetch

    • Fetches the access token on mount by calling the auth endpoint. Stores the result in the token store. Used internally by auth setup; prefer AuthWrapper for typical usage.

      Parameters

      • skip: { skip?: boolean } = {}

        Skip the fetch (e.g. when the token is supplied another way).

      Returns void