def auth.headers
import bend-kit-oauth2@0.11.0.1/oauth2.bend as Oauth2import Base
import bend-kit-http@0.38.1.1/http.bend as Http
77def auth.headers(+id: String, +secret: String) -> Map<&2, List<&2, String>>:
78 +h = Http.set(Http.set(Http.empty(), "content-type", "application/x-www-form-urlencoded"), "accept", "application/json")
79 Bool.pick(Map<&2, List<&2, String>>, String.is_empty(secret), h, Http.set(h, "authorization", basic(id, secret)))