JIRA documentation claims that JIRA supports OAuth for API authentication and I have personally confirmed that NTLM also works. Unfortunately, it doesn't seem possible to use anything other than Basic authentication with JiraRestClient.
If I submit a pull request to permit alternate methods of authentication, is there a good chance it will get accepted? I was thinking to add an alternate constructor to JiraClient that accepts a parameter of type IAuthenticator (defined in the RestSharp library) in lieu of username and password.
I was also thinking that it would make sense to use HttpBasicAuthenticator in the default case, rather than manually adding the Basic auth header to the request.
JIRA documentation claims that JIRA supports OAuth for API authentication and I have personally confirmed that NTLM also works. Unfortunately, it doesn't seem possible to use anything other than Basic authentication with JiraRestClient.
If I submit a pull request to permit alternate methods of authentication, is there a good chance it will get accepted? I was thinking to add an alternate constructor to
JiraClient
that accepts a parameter of typeIAuthenticator
(defined in the RestSharp library) in lieu ofusername
andpassword
.I was also thinking that it would make sense to use
HttpBasicAuthenticator
in the default case, rather than manually adding the Basic auth header to the request.