52 references to Authorization
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
149HeaderNames.Authorization,
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
59StringValues Authorization { get => this[HeaderNames.Authorization]; set => this[HeaderNames.Authorization] = value; }
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
104if (!header.Key.Equals(HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
53private static readonly FrozenSet<string> _disallowedHeaderParameters = new[] { HeaderNames.Accept, HeaderNames.Authorization, HeaderNames.ContentType }.ToFrozenSet(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
413HeaderNames.Authorization,
Microsoft.AspNetCore.Server.HttpSys (8)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal)) 2223yield return HeaderNames.Authorization; 2559yield return new KeyValuePair<string, StringValues>(HeaderNames.Authorization, Authorization); 2755HttpSysRequestHeader.Authorization => HeaderNames.Authorization,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
RequestHeaderTests.cs (1)
309yield return (HttpSysRequestHeader.Authorization, HeaderNames.Authorization);
Microsoft.AspNetCore.Server.IIS (8)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal)) 2223yield return HeaderNames.Authorization; 2559yield return new KeyValuePair<string, StringValues>(HeaderNames.Authorization, Authorization); 2755HttpSysRequestHeader.Authorization => HeaderNames.Authorization,
Microsoft.AspNetCore.Server.Kestrel.Core (20)
Internal\Http\HttpHeaders.Generated.cs (20)
300HeaderNames.Authorization, 3245if (ReferenceEquals(HeaderNames.Authorization, key)) 3282if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase)) 4056if (ReferenceEquals(HeaderNames.Authorization, key)) 4081if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase)) 5027if (ReferenceEquals(HeaderNames.Authorization, key)) 5068if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase)) 6134if (ReferenceEquals(HeaderNames.Authorization, key)) 6175if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase)) 7163array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Authorization, _headers._Authorization); 7751nameStr = HeaderNames.Authorization; 7982nameStr = HeaderNames.Authorization; 8272nameStr = HeaderNames.Authorization; 8479_current = new KeyValuePair<string, StringValues>(HeaderNames.Authorization, _collection._headers._Authorization); 10034if (!TryGetUnknown(HeaderNames.Authorization, ref value)) 10043ValidateHeaderValueCharacters(HeaderNames.Authorization, value, EncodingSelector); 10044SetValueUnknown(HeaderNames.Authorization, value); 15911if (!TryGetUnknown(HeaderNames.Authorization, ref value)) 15920ValidateHeaderValueCharacters(HeaderNames.Authorization, value, EncodingSelector); 15921SetValueUnknown(HeaderNames.Authorization, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
149HeaderNames.Authorization,
Microsoft.AspNetCore.Shared.Tests (8)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase)) 2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal)) 2223yield return HeaderNames.Authorization; 2559yield return new KeyValuePair<string, StringValues>(HeaderNames.Authorization, Authorization); 2755HttpSysRequestHeader.Authorization => HeaderNames.Authorization,