29 references to Prop
Microsoft.AspNetCore.Owin (29)
OwinFeatureCollection.cs (29)
52var register = Prop<Action<Action<object>, object>>(OwinConstants.CommonKeys.OnSendingHeaders); 77get { return Prop<string>(OwinConstants.RequestProtocol); } 83get { return Prop<string>(OwinConstants.RequestScheme); } 89get { return Prop<string>(OwinConstants.RequestMethod); } 95get { return Prop<string>(OwinConstants.RequestPathBase); } 101get { return Prop<string>(OwinConstants.RequestPath); } 107get { return Utilities.AddQuestionMark(Prop<string>(OwinConstants.RequestQueryString)); } 119get { return Utilities.MakeHeaderDictionary(Prop<IDictionary<string, string[]>>(OwinConstants.RequestHeaders)); } 125get { return Prop<string>(OwinConstants.RequestId); } 131get { return Prop<Stream>(OwinConstants.RequestBody); } 137get { return Prop<int>(OwinConstants.ResponseStatusCode); } 143get { return Prop<string>(OwinConstants.ResponseReasonPhrase); } 149get { return Utilities.MakeHeaderDictionary(Prop<IDictionary<string, string[]>>(OwinConstants.ResponseHeaders)); } 155get { return Prop<Stream>(OwinConstants.ResponseBody); } 161get { return Prop<Stream>(OwinConstants.ResponseBody); } 170_responseBodyWrapper = PipeWriter.Create(Prop<Stream>(OwinConstants.ResponseBody), new StreamPipeWriterOptions(leaveOpen: true)); 184var register = Prop<Action<Action<object>, object>>(OwinConstants.CommonKeys.OnSendingHeaders); 201get { return IPAddress.Parse(Prop<string>(OwinConstants.CommonKeys.RemoteIpAddress)); } 207get { return IPAddress.Parse(Prop<string>(OwinConstants.CommonKeys.LocalIpAddress)); } 213get { return int.Parse(Prop<string>(OwinConstants.CommonKeys.RemotePort), CultureInfo.InvariantCulture); } 219get { return int.Parse(Prop<string>(OwinConstants.CommonKeys.LocalPort), CultureInfo.InvariantCulture); } 225get { return Prop<string>(OwinConstants.CommonKeys.ConnectionId); } 258get { return Prop<X509Certificate2>(OwinConstants.CommonKeys.ClientCertificate); } 264var loadAsync = Prop<Func<Task>>(OwinConstants.CommonKeys.LoadClientCertAsync); 269return Prop<X509Certificate2>(OwinConstants.CommonKeys.ClientCertificate); 274get { return Prop<CancellationToken>(OwinConstants.CallCancelled); } 287return Prop<ClaimsPrincipal>(OwinConstants.RequestUser) 288?? Utilities.MakeClaimsPrincipal(Prop<IPrincipal>(OwinConstants.Security.User)); 432await Prop<Stream>(OwinConstants.ResponseBody).FlushAsync(cancellationToken);