40 references to WWWAuthenticate
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
238HeaderNames.WWWAuthenticate,
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenHandler.cs (1)
60Response.Headers.Append(HeaderNames.WWWAuthenticate, "Bearer");
Microsoft.AspNetCore.Authentication.JwtBearer (2)
JwtBearerHandler.cs (2)
302Response.Headers.Append(HeaderNames.WWWAuthenticate, Options.Challenge); 344Response.Headers.Append(HeaderNames.WWWAuthenticate, builder.ToString());
Microsoft.AspNetCore.Authentication.Negotiate (3)
NegotiateHandler.cs (3)
183Response.Headers.Append(HeaderNames.WWWAuthenticate, AuthHeaderPrefix + outgoing); 197Response.Headers.Append(HeaderNames.WWWAuthenticate, AuthHeaderPrefix + outgoing); 395Response.Headers.Append(HeaderNames.WWWAuthenticate, NegotiateVerb);
Microsoft.AspNetCore.Authentication.Negotiate.Test (5)
EventTests.cs (2)
33Assert.False(context.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate)); 294Assert.False(result.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate));
NegotiateHandlerTests.cs (3)
165Assert.False(result.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate)); 290Assert.False(result.Response.Headers.ContainsKey(HeaderNames.WWWAuthenticate)); 312Assert.DoesNotContain(HeaderNames.WWWAuthenticate, result.Response.Headers);
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
257StringValues WWWAuthenticate { get => this[HeaderNames.WWWAuthenticate]; set => this[HeaderNames.WWWAuthenticate] = value; }
Microsoft.AspNetCore.Server.HttpSys (4)
AuthenticationManager.cs (2)
185context.Response.Headers[HeaderNames.WWWAuthenticate] 186= StringValues.Concat(context.Response.Headers[HeaderNames.WWWAuthenticate], challenges.ToArray());
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
54HeaderNames.WWWAuthenticate,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
54HeaderNames.WWWAuthenticate,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\HttpHeaders.Generated.cs (17)
368HeaderNames.WWWAuthenticate, 2469if (!TryGetUnknown(HeaderNames.WWWAuthenticate, ref value)) 2478SetValueUnknown(HeaderNames.WWWAuthenticate, value); 9909ValidateHeaderValueCharacters(HeaderNames.WWWAuthenticate, value, EncodingSelector); 11441if (ReferenceEquals(HeaderNames.WWWAuthenticate, key)) 11487if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase)) 12086if (ReferenceEquals(HeaderNames.WWWAuthenticate, key)) 12117if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase)) 12891if (ReferenceEquals(HeaderNames.WWWAuthenticate, key)) 12942if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase)) 13783if (ReferenceEquals(HeaderNames.WWWAuthenticate, key)) 13834if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase)) 14787array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.WWWAuthenticate, _headers._WWWAuthenticate); 15476_current = new KeyValuePair<string, StringValues>(HeaderNames.WWWAuthenticate, _collection._headers._WWWAuthenticate); 17045if (!TryGetUnknown(HeaderNames.WWWAuthenticate, ref value)) 17054ValidateHeaderValueCharacters(HeaderNames.WWWAuthenticate, value, EncodingSelector); 17055SetValueUnknown(HeaderNames.WWWAuthenticate, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
238HeaderNames.WWWAuthenticate,
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
54HeaderNames.WWWAuthenticate,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,