class OmniAuth::Strategies::Streamlabs
Constants
- DEFAULT_SCOPE
Public Instance Methods
access_token_options()
click to toggle source
# File lib/omniauth/strategies/streamlabs.rb, line 48 def access_token_options options.access_token_options.inject({}) { |h,(k,v)| h[k.to_sym] = v; h } end
build_access_token()
click to toggle source
Calls superclass method
# File lib/omniauth/strategies/streamlabs.rb, line 42 def build_access_token super.tap do |token| token.options.merge!(access_token_options) end end
callback_url()
click to toggle source
# File lib/omniauth/strategies/streamlabs.rb, line 52 def callback_url return options[:redirect_uri] unless options[:redirect_uri].nil? full_host + script_name + callback_path end
raw_info()
click to toggle source
# File lib/omniauth/strategies/streamlabs.rb, line 38 def raw_info @raw_info ||= access_token.get('/api/v1.0/user').parsed end