Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetRequestAuthenticationHeaderValue()

static void System.Net.Http.AuthenticationHelper.SetRequestAuthenticationHeaderValue ( HttpRequestMessage request,
AuthenticationHeaderValue headerValue,
bool isProxyAuth )
inlinestaticprivate

Definition at line 315 of file AuthenticationHelper.cs.

316 {
317 if (isProxyAuth)
318 {
319 request.Headers.ProxyAuthorization = headerValue;
320 }
321 else
322 {
323 request.Headers.Authorization = headerValue;
324 }
325 }

Referenced by System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync(), System.Net.Http.AuthenticationHelper.SetBasicAuthToken(), and System.Net.Http.AuthenticationHelper.TrySetDigestAuthToken().