peburrows / goth

Elixir package for Oauth authentication via Google Cloud APIs
http://hexdocs.pm/goth
MIT License
284 stars 108 forks source link

config http client in goth module #111

Closed prem-prakash closed 2 years ago

prem-prakash commented 2 years ago

With this change, it will be possible to define an HTTP client for Goth.Token.fetch using config,

Application.put_env(Goth, :http_client, {MyMockClient, []})