Class JIRA::OauthClient
In: lib/jira/oauth_client.rb
Parent: RequestClient

Methods

Classes and Modules

Class JIRA::OauthClient::UninitializedAccessTokenError

Constants

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

Attributes

consumer  [RW] 
options  [R] 

Public Class methods

Public Instance methods

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.

Sets the access token from a preexisting token and secret.

Sets the request token from a given token and secret.

[Validate]