Closed smingerson closed 3 years ago
Yeah, I was actually wondering about this the other day. So if someone else had the same thought, I think it's a good sign it's worth doing 😄. I think "auto" auth would select "manual" if both server
and key
were supplied, so most of the changes would be to check_auth()
and then the docs for board_rsconnect()
. Is that clear enough for you to have a go at it?
Yes it is, I'll take a crack at it in the next couple days.
I removed rsc_server_envvar()
, replacing it with rsc_server_manual()
, as that can be used as rsc_server_manual(server, key)
or rsc_server_manual(envvar_get("CONNECT_SERVER"), envvar_get("CONNECT_API_KEY")
. Let me know if that's satisfactory, I can put back rsc_server_envvar()
back in too if you would prefer.
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Mention manual authorization in
board_rsconnect()
. I don't know if it makes sense to change the function to accept a separate manual option or not. If you think so, I can add something like that.Closes #508