class OmniAuth::Strategies::Typetalk

Typetalk handles Oauth2 authentication with Typetalk.

Public Instance Methods

authorize_params() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/typetalk.rb, line 16
def authorize_params
  super.tap do |params|
    %w[scope client_options].each do |v|
      params[v.to_sym] = request.params[v] if request.params[v]
    end
  end
end
callback_url() click to toggle source
# File lib/omniauth/strategies/typetalk.rb, line 47
def callback_url
  full_host + script_name + callback_path
end
raw_info() click to toggle source
# File lib/omniauth/strategies/typetalk.rb, line 43
def raw_info
  @raw_info ||= access_token.get('api/v1/profile').parsed
end
request_phase() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/typetalk.rb, line 12
def request_phase
  super
end