14 references to Utilities
Microsoft.AspNetCore.Owin (14)
OwinEnvironment.cs (7)
57{ OwinConstants.RequestQueryString, new FeatureMap<IHttpRequestFeature>(feature => Utilities.RemoveQuestionMark(feature.QueryString), () => string.Empty, 58(feature, value) => feature.QueryString = Utilities.AddQuestionMark(Convert.ToString(value, CultureInfo.InvariantCulture))) }, 59{ OwinConstants.RequestHeaders, new FeatureMap<IHttpRequestFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) }, 65{ OwinConstants.ResponseHeaders, new FeatureMap<IHttpResponseFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) }, 93()=> null, (feature, value) => feature.User = Utilities.MakeClaimsPrincipal((IPrincipal)value),
OwinFeatureCollection.cs (7)
107get { return Utilities.AddQuestionMark(Prop<string>(OwinConstants.RequestQueryString)); } 108set { Prop(OwinConstants.RequestQueryString, Utilities.RemoveQuestionMark(value)); } 119get { return Utilities.MakeHeaderDictionary(Prop<IDictionary<string, string[]>>(OwinConstants.RequestHeaders)); } 120set { Prop(OwinConstants.RequestHeaders, Utilities.MakeDictionaryStringArray(value)); } 149get { return Utilities.MakeHeaderDictionary(Prop<IDictionary<string, string[]>>(OwinConstants.ResponseHeaders)); } 150set { Prop(OwinConstants.ResponseHeaders, Utilities.MakeDictionaryStringArray(value)); } 288?? Utilities.MakeClaimsPrincipal(Prop<IPrincipal>(OwinConstants.Security.User));