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

◆ TryGetRepeatedChallenge()

static bool System.Net.Http.AuthenticationHelper.TryGetRepeatedChallenge ( HttpResponseMessage response,
string scheme,
bool isProxyAuth,
out string challengeData )
inlinestaticprivate

Definition at line 283 of file AuthenticationHelper.cs.

284 {
285 challengeData = null;
287 {
288 return false;
289 }
291 {
292 return false;
293 }
294 return true;
295 }
static bool IsAuthenticationChallenge(HttpResponseMessage response, bool isProxyAuth)
static HttpHeaderValueCollection< AuthenticationHeaderValue > GetResponseAuthenticationHeaderValues(HttpResponseMessage response, bool isProxyAuth)
static bool TryGetChallengeDataForScheme(string scheme, HttpHeaderValueCollection< AuthenticationHeaderValue > authenticationHeaderValues, out string challengeData)

References System.Net.Http.AuthenticationHelper.GetResponseAuthenticationHeaderValues(), System.Net.Http.AuthenticationHelper.IsAuthenticationChallenge(), and System.Net.Http.AuthenticationHelper.TryGetChallengeDataForScheme().

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