John O'Reilly
09/21/2020, 7:05 AMHttpClient
to apply different types of auths to different requests?aleksey.tomin
09/21/2020, 7:09 AMx-api-key
header - you can use different headers. And so on.John O'Reilly
09/21/2020, 7:22 AMinstall(Auth) {
digest {
....
}
}
aleksey.tomin
09/21/2020, 7:27 AMdigest
and (may by) write your own class for auth.
It has to call one of auths for each call.John O'Reilly
09/21/2020, 7:41 AMauthenticate
s (that have different auths)?aleksey.tomin
09/21/2020, 7:46 AMbut there’s no way of specifying which one it should use...You don’t know what way should be using? I think it’s the root cause of the problem.
John O'Reilly
09/21/2020, 7:51 AMinstall(Auth)
block will be automatically used for all requests? I guess that makes sensealeksey.tomin
09/21/2020, 7:57 AMJohn O'Reilly
09/21/2020, 7:59 AMaleksey.tomin
09/21/2020, 8:04 AMthen specify which one to use when making requestYou know which one you have to use. Isn’t it?
John O'Reilly
09/21/2020, 8:05 AMaleksey.tomin
09/21/2020, 8:07 AMJohn O'Reilly
09/21/2020, 8:09 AM