27 references to CommonKeys
Microsoft.AspNetCore.Owin (27)
OwinEnvironment.cs (8)
67{ OwinConstants.CommonKeys.OnSendingHeaders, new FeatureMap<IHttpResponseFeature>(
77{ OwinConstants.CommonKeys.ConnectionId, new FeatureMap<IHttpConnectionFeature>(feature => feature.ConnectionId,
80{ OwinConstants.CommonKeys.LocalPort, new FeatureMap<IHttpConnectionFeature>(feature => feature.LocalPort.ToString(CultureInfo.InvariantCulture),
82{ OwinConstants.CommonKeys.RemotePort, new FeatureMap<IHttpConnectionFeature>(feature => feature.RemotePort.ToString(CultureInfo.InvariantCulture),
85{ OwinConstants.CommonKeys.LocalIpAddress, new FeatureMap<IHttpConnectionFeature>(feature => feature.LocalIpAddress.ToString(),
87{ OwinConstants.CommonKeys.RemoteIpAddress, new FeatureMap<IHttpConnectionFeature>(feature => feature.RemoteIpAddress.ToString(),
121_entries.Add(OwinConstants.CommonKeys.ClientCertificate, new FeatureMap<ITlsConnectionFeature>(feature => feature.ClientCertificate,
123_entries.Add(OwinConstants.CommonKeys.LoadClientCertAsync, new FeatureMap<ITlsConnectionFeature>(
OwinFeatureCollection.cs (19)
52var register = Prop<Action<Action<object>, object>>(OwinConstants.CommonKeys.OnSendingHeaders);
184var register = Prop<Action<Action<object>, object>>(OwinConstants.CommonKeys.OnSendingHeaders);
187throw new NotSupportedException(OwinConstants.CommonKeys.OnSendingHeaders);
201get { return IPAddress.Parse(Prop<string>(OwinConstants.CommonKeys.RemoteIpAddress)); }
202set { Prop(OwinConstants.CommonKeys.RemoteIpAddress, value.ToString()); }
207get { return IPAddress.Parse(Prop<string>(OwinConstants.CommonKeys.LocalIpAddress)); }
208set { Prop(OwinConstants.CommonKeys.LocalIpAddress, value.ToString()); }
213get { return int.Parse(Prop<string>(OwinConstants.CommonKeys.RemotePort), CultureInfo.InvariantCulture); }
214set { Prop(OwinConstants.CommonKeys.RemotePort, value.ToString(CultureInfo.InvariantCulture)); }
219get { return int.Parse(Prop<string>(OwinConstants.CommonKeys.LocalPort), CultureInfo.InvariantCulture); }
220set { Prop(OwinConstants.CommonKeys.LocalPort, value.ToString(CultureInfo.InvariantCulture)); }
225get { return Prop<string>(OwinConstants.CommonKeys.ConnectionId); }
226set { Prop(OwinConstants.CommonKeys.ConnectionId, value); }
246&& (Environment.TryGetValue(OwinConstants.CommonKeys.LoadClientCertAsync, out obj)
247|| Environment.TryGetValue(OwinConstants.CommonKeys.ClientCertificate, out obj))
258get { return Prop<X509Certificate2>(OwinConstants.CommonKeys.ClientCertificate); }
259set { Prop(OwinConstants.CommonKeys.ClientCertificate, value); }
264var loadAsync = Prop<Func<Task>>(OwinConstants.CommonKeys.LoadClientCertAsync);
269return Prop<X509Certificate2>(OwinConstants.CommonKeys.ClientCertificate);