oauth1.0 rsa-sha1 signature support #316
Implements RSA-SHA1 signature support for OAuth1.0. Assuming you've created an application link according to this documentation with your local RSA private key or
endpoint <- oauth_endpoint( request = "https://yourjira.atlassian.net/plugins/servlet/oauth/request-token", authorize = "https://yourjira.atlassian.net/plugins/servlet/oauth/authorize", access = "https://yourjira.atlassian.net/plugins/servlet/oauth/access-token") app <- oauth_app("jira", key = "yourkey", secret = "yoursecret") key <- openssl::read_key("/path/to/key.pem") token <- oauth1.0_token(endpoint, app, private_key = key) GET("https://yourjira.atlassian.net/rest/api/2/search?jql=assignee=fred", config(token = token))
Jan 8, 2016
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.