]> granicus.if.org Git - curl/commit
auth: pick Bearer authentication whenever a token is available
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 20 Jul 2018 16:17:43 +0000 (18:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Jul 2018 08:11:49 +0000 (10:11 +0200)
commit6f5ef24f068a86d0f61ce39f674462128c1743d1
treec871779098dfb52db39b8b149537dc6180fa046b
parentdf57b439f4cfd594bde29055e7258607056985dc
auth: pick Bearer authentication whenever a token is available

So far, the code tries to pick an authentication method only if
user/password credentials are available, which is not the case for
Bearer authentictation...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Closes #2754
lib/http.c