public void ApplyClientBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime)
 {
     OAuth2HeaderInspector inspector = new OAuth2HeaderInspector();
     clientRuntime.MessageInspectors.Add(inspector);
 }
        public void ApplyClientBehavior(ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime)
        {
            OAuth2HeaderInspector inspector = new OAuth2HeaderInspector();

            clientRuntime.MessageInspectors.Add(inspector);
        }