Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to Set UserAgent : Request GetRequestTokenAuthorizeUrl & RetrieveAndStoreAccess #367
could we have a property exposed for setting the UserAgent when calling GetRequestTokenAuthorizeUrl and RetrieveAndStoreAccess
i see OAuthTokens.GetToken it appears to have it hard coded as
var req = new HttpClient(baseUri)
could we have it like how the HttpClient.CreateRequest does it?
request.UserAgent = !string.IsNullOrWhiteSpace(UserAgent) ? UserAgent : "Xero Api wrapper - " + Consumer.ConsumerKey;