R/authorize.R

Defines functions sh_authorize

sh_authorize <- function(pat = sourcehut_pat()) {
  httr::add_headers(`Authorization` = glue::glue("token {pat}"))
}
hrbrmstr/sourcehut documentation built on Nov. 4, 2019, 1:46 p.m.