Sha256: 99e561f68d6a42088af41f368fc38aa2cd70b35bfd9e6506c7d66d02345c21f0
Contents?: true
Size: 415 Bytes
Versions: 5
Compression:
Stored size: 415 Bytes
Contents
class OauthController < ApplicationController def authorize session["oauth.authorization"] = oauth.authorization render :text=>"client: #{oauth.client.display_name}\nscope: #{oauth.scope.join(", ")}\nauthorization: #{oauth.authorization}" end def grant head oauth.grant!(session["oauth.authorization"], "Superman") end def deny head oauth.deny!(session["oauth.authorization"]) end end
Version data entries
5 entries across 5 versions & 1 rubygems