public void MakeRequestWithAnUnencodedJwtBearerToken(GpConnectInteraction interaction) { var requestFactory = new RequestFactory(interaction, _fhirResourceRepository); requestFactory.ConfigureBody(_httpContext.HttpRequestConfiguration); _httpContext.HttpRequestConfiguration.RequestHeaders.ReplaceHeader(HttpConst.Headers.kAuthorization, jwtHelper.GetBearerTokenWithoutEncoding()); var httpRequest = new HttpContextRequest(_httpContext, _securityContext); httpRequest.MakeRequest(); }