| Class | JIRA::OauthClient |
| In: |
lib/jira/oauth_client.rb
|
| Parent: | RequestClient |
| DEFAULT_OPTIONS | = | { :signature_method => 'RSA-SHA1', :request_token_path => "/plugins/servlet/oauth/request-token", :authorize_path => "/plugins/servlet/oauth/authorize", :access_token_path => "/plugins/servlet/oauth/access-token", :private_key_file => "rsakey.pem", :consumer_key => nil, :consumer_secret => nil |
| consumer | [RW] | |
| options | [R] |
Returns the current access token. Raises an JIRA::Client::UninitializedAccessTokenError exception if it is not set.
Initialises and returns a new access token from the params hash returned by the OAuth transaction.
Returns the current request token if it is set, else it creates and sets a new token.