I followed an analog very close to what is done for the authentication helper that was done for the RStudio bc app
Basically swap the plaintext user:password call with
And then write the auth to verify against a cached shell
One other notable bit is that I needed to stash the full
tmux <with all the opts> command in another file, and let the
/bin/auth call this file.
I’m still not quite finalized as I’m thinking this through, but I can reach out to you offline to discuss this potential solution.