class OmniAuth::Strategies::Crest

Public Instance Methods

authorize_params() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/crest.rb, line 33
def authorize_params
  super.tap do |params|
    %w[scope].each do |v|
      if request.params[v]
        params[v.to_sym] = request.params[v]
      end
    end

    params[:scope] ||= ''
  end
end
raw_info() click to toggle source
# File lib/omniauth/strategies/crest.rb, line 29
def raw_info
  @raw_info ||= access_token.get('/oauth/verify').parsed
end