User authentication when consuming a REST webservice with ServiceStack
问题 The ServiceStack docs are full of examples on how to use server side implementation of authentication of a user. But how does one set the user credentials on the client side? I use ServiceStack to consume a JSON REST service like this: var restClient = new JsonServiceClient (baseUri); var response = restClient.Get<MyResponse> ("/some/service"); How can I add any form of authentication to the request? The webservice I want to consume uses OAuth 1.0 , but I am interested in adding custom