// Token: 0x060004E2 RID: 1250 RVA: 0x0001B0FC File Offset: 0x000192FC private static bool IsE4eInvalidStoreRequest(HttpRequest request) { return(request.HttpMethod.Equals(HttpMethod.Get.ToString(), StringComparison.OrdinalIgnoreCase) && E4eProxyRequestHandler.IsE4ePayloadRequest(request)); }
protected virtual bool AllowAnonymousRequest(HttpRequest httpRequest) { return(HttpProxyGlobals.ProtocolType != ProtocolType.Mapi && (WopiRequestPathHandler.IsWopiRequest(httpRequest, AuthCommon.IsFrontEnd) || AnonymousCalendarProxyRequestHandler.IsAnonymousCalendarRequest(httpRequest) || OwaExtensibilityProxyRequestHandler.IsOwaExtensibilityRequest(httpRequest) || OwaCobrandingRedirProxyRequestHandler.IsCobrandingRedirRequest(httpRequest) || E4eProxyRequestHandler.IsE4ePayloadRequest(httpRequest) || httpRequest.IsWsSecurityRequest() || PsgwProxyRequestHandler.IsPsgwRequest(httpRequest))); }
// Token: 0x060004E0 RID: 1248 RVA: 0x0001B06C File Offset: 0x0001926C private static bool IsE4ePostOrRetrievePayloadRequest(HttpRequest request) { bool flag = request.HttpMethod.Equals(HttpMethod.Post.ToString(), StringComparison.OrdinalIgnoreCase) && E4eProxyRequestHandler.IsE4ePayloadRequest(request); bool flag2 = E4eProxyRequestHandler.IsRESTAPIUploadRequset(request); bool flag3 = E4eProxyRequestHandler.IsE4eRetrieveRequest(request); return(flag || flag2 || flag3); }
// Token: 0x060005F1 RID: 1521 RVA: 0x000210E0 File Offset: 0x0001F2E0 protected virtual bool AllowAnonymousRequest(HttpRequest httpRequest) { if (HttpProxyGlobals.ProtocolType == 14) { return(false); } if (HttpProxyGlobals.ProtocolType == 21) { return(true); } if (HttpProxyGlobals.ProtocolType == 22) { return(true); } UriBuilder uriBuilder = new UriBuilder(httpRequest.Url); string text = null; if (UrlUtilities.TryGetExplicitLogonUser(httpRequest, ref text)) { uriBuilder.Path = UrlUtilities.GetPathWithExplictLogonHint(httpRequest.Url, text); } return(WopiRequestPathHandler.IsWopiRequest(httpRequest.HttpMethod, httpRequest.Url, AuthCommon.IsFrontEnd) || AnonymousCalendarProxyRequestHandler.IsAnonymousCalendarRequest(httpRequest) || OwaExtensibilityProxyRequestHandler.IsOwaExtensibilityRequest(httpRequest) || UrlUtilities.IsOwaDownloadRequest(uriBuilder.Uri) || OwaCobrandingRedirProxyRequestHandler.IsCobrandingRedirRequest(httpRequest) || E4eProxyRequestHandler.IsE4ePayloadRequest(httpRequest) || httpRequest.IsWsSecurityRequest() || PsgwProxyRequestHandler.IsPsgwRequest(httpRequest)); }