lib/oo_auth.rb
# Use this in your controllers to verify the OAuth signature
# of a request.
Use this in your controllers to verify the OAuth signature
of a request.
Use this in your controllers to verify the OAuth signature of a request .
def authorize!(*args)
      proxy = RequestProxy.new(*args)
      return unless authorization = self.authorization(proxy.consumer_key, proxy.token)
      return unless Signature.verify!(proxy, authorization.credentials)
      authorization
    end
def authorize! ( * args ) proxy = RequestProxy . new ( * args ) return unless authorization = self . authorization ( proxy . consumer_key , proxy . token ) return unless Signature . verify! ( proxy , authorization . credentials ) authorization end
Use this in your controllers to verify the OAuth signature
of a request.
Use this in your controllers to verify the OAuth signature of a request .
args