Function retryUnauthenticatedRequest

  • Retries requests once that failed for authentication reasons (unauthorized/forbidden).

    Returns

    • Response for retrying original request that failed.

    Parameters

    • error: AxiosError<unknown, any>

      Error returned from HTTP request.

    • client: Axios

      Axios client to handle reauthentication requests.

    • authenticator: default

      Authenticator to use for reauthenticating.

    Returns Promise<AxiosResponse>

Generated using TypeDoc