50 references to WwwAuthenticate
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
358
_httpResponseMessage.Headers.
WwwAuthenticate
.ToString());
IISExpress.FunctionalTests (8)
InProcess\AuthenticationTests.cs (4)
40
Assert.Contains("NTLM", response.Headers.
WwwAuthenticate
.ToString());
41
Assert.Contains("Negotiate", response.Headers.
WwwAuthenticate
.ToString());
46
Assert.Contains("NTLM", response.Headers.
WwwAuthenticate
.ToString());
48
Assert.Contains("Negotiate", response.Headers.
WwwAuthenticate
.ToString());
OutOfProcess\NtlmAuthentationTest.cs (4)
59
Assert.Contains("NTLM", response.Headers.
WwwAuthenticate
.ToString());
60
Assert.Contains("Negotiate", response.Headers.
WwwAuthenticate
.ToString());
64
Assert.Contains("NTLM", response.Headers.
WwwAuthenticate
.ToString());
66
Assert.Contains("Negotiate", response.Headers.
WwwAuthenticate
.ToString());
Microsoft.AspNetCore.Authentication.Test (18)
JwtBearerTests.cs (9)
293
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
320
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
344
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
364
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
385
response.Response.Headers.
WwwAuthenticate
.First().ToString());
451
Assert.Equal(builder.ToString(), response.Response.Headers.
WwwAuthenticate
.First().ToString());
466
Assert.Equal("Bearer", response.Response.Headers.
WwwAuthenticate
.First().ToString());
478
Assert.Equal("Bearer", response.Response.Headers.
WwwAuthenticate
.First().ToString());
785
Assert.Empty(response.Response.Headers.
WwwAuthenticate
);
JwtBearerTests_Handler.cs (9)
276
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
300
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
321
Assert.Equal($"Bearer error=\"invalid_token\", error_description=\"{message}\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
338
Assert.Equal("Bearer error=\"invalid_token\"", response.Response.Headers.
WwwAuthenticate
.First().ToString());
356
response.Response.Headers.
WwwAuthenticate
.First().ToString());
421
Assert.Equal(builder.ToString(), response.Response.Headers.
WwwAuthenticate
.First().ToString());
435
Assert.Equal("Bearer", response.Response.Headers.
WwwAuthenticate
.First().ToString());
447
Assert.Equal("Bearer", response.Response.Headers.
WwwAuthenticate
.First().ToString());
733
Assert.Empty(response.Response.Headers.
WwwAuthenticate
);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (16)
AuthenticationTests.cs (12)
40
Assert.Empty(response.Headers.
WwwAuthenticate
);
58
Assert.Equal(authType.ToString(), response.Headers.
WwwAuthenticate
.ToString(), StringComparer.OrdinalIgnoreCase);
80
Assert.Equal(authType.ToString(), response.Headers.
WwwAuthenticate
.ToString(), StringComparer.OrdinalIgnoreCase);
106
Assert.Equal("Negotiate, NTLM, basic", response.Headers.
WwwAuthenticate
.ToString(), StringComparer.OrdinalIgnoreCase);
215
Assert.Empty(response.Headers.
WwwAuthenticate
);
260
Assert.Equal(authTypeList.Count(), response.Headers.
WwwAuthenticate
.Count);
283
Assert.Equal(authTypeList.Count(), response.Headers.
WwwAuthenticate
.Count);
301
Assert.Equal(3, response.Headers.
WwwAuthenticate
.Count);
327
Assert.Equal(authTypeList.Count(), response.Headers.
WwwAuthenticate
.Count);
345
Assert.Empty(response.Headers.
WwwAuthenticate
);
366
Assert.Single(response.Headers.
WwwAuthenticate
);
367
Assert.Equal(authType.ToString(), response.Headers.
WwwAuthenticate
.First().Scheme);
Listener\AuthenticationOnExistingQueueTests.cs (4)
70
Assert.Empty(response.Headers.
WwwAuthenticate
);
88
Assert.Equal(authType.ToString(), response.Headers.
WwwAuthenticate
.ToString(), StringComparer.OrdinalIgnoreCase);
112
Assert.Equal(authType.ToString(), response.Headers.
WwwAuthenticate
.ToString(), StringComparer.OrdinalIgnoreCase);
137
Assert.Equal("Negotiate, NTLM, basic", response.Headers.
WwwAuthenticate
.ToString(), StringComparer.OrdinalIgnoreCase);
Negotiate.Client (3)
Controllers\AuthTestController.cs (3)
64
var authHeader = result.Headers.
WwwAuthenticate
.ToString();
212
var authHeader = result.Headers.
WwwAuthenticate
.ToString();
249
var authHeader = result.Headers.
WwwAuthenticate
.ToString();
ServerComparison.FunctionalTests (3)
NtlmAuthenticationTest.cs (3)
72
Assert.DoesNotContain("NTLM", response.Headers.
WwwAuthenticate
.ToString());
76
Assert.Contains("NTLM", response.Headers.
WwwAuthenticate
.ToString());
78
Assert.Contains("Negotiate", response.Headers.
WwwAuthenticate
.ToString());
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (1)
161
response.Headers.
WwwAuthenticate
;