@inrupt/solid-client-authn-node
    Preparing search index...

    Function refreshSession

    • Log a session in using a refresh token from storage. The provided session is mutated so that session.info is accurate if the login is successful.

      Parameters

      • session: Session

        the session to log in.

      • Optionaloptions: { storage?: IStorage }

        optional arguments to control the session refresh.

      Returns Promise<void>

      Promise

      const session = await getSessionFromStorage(sessionId, { refresh: false });
      await refreshSession(session);