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