Class: Merb::Authentication::Strategies::OAuth

Inherits:
Merb::Authentication::Strategy
  • Object
show all
Defined in:
lib/ooh-auth/strategies/oauth.rb

Instance Method Summary collapse

Instance Method Details

#run!Object



7
8
9
10
11
12
# File 'lib/ooh-auth/strategies/oauth.rb', line 7

def run!
  if request.signed? and request.token and request.consumer_key
    return OohAuth::Token.authenticate!(request.consumer_key, request.token)
  end
  return nil
end