class OmniAuth::Strategies::JamaConnect

Public Instance Methods

callback_phase() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/jama-connect.rb, line 27
def callback_phase
  raise NoHostError if options[:host].nil?

  options.client_options[:token_url] = options[:host] += '/rest/oauth/token'
  super
end
query_string() click to toggle source
# File lib/omniauth/strategies/jama-connect.rb, line 34
def query_string
  # Need to override query_string here or else Connect complains about
  # a mismatch URI. The query string is non-determinate, and omniauth
  # adds it for the third leg of the journey
  ''
end
request_phase() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/jama-connect.rb, line 20
def request_phase
  raise NoHostError if options[:host].nil?

  options.client_options[:authorize_url] = options[:host] += '/authorize.req'
  super
end