babashka / http-client

HTTP client for Clojure and Babashka built on java.net.http
MIT License
121 stars 13 forks source link

Bearer auth interceptor #49

Closed icp1994 closed 6 months ago

icp1994 commented 6 months ago

Would you be interested in a small contribution for :bearer-auth similar to the existing :basic-auth? It's trivial to use without being in the client anyway but since I'm using it quite a bit thought I would make a PR.

borkdude commented 6 months ago

Yeah, I think other projects (clj-http, hato) use :oauth-token so let's choose this name instead?

icp1994 commented 6 months ago

Yes I'd also like the name to be consistent with the ecosystem. Is the API.md generated with a script or written manually?

borkdude commented 6 months ago

API.md is generated with bb quickdoc