Sha256: 0747f78042e1649ad19abe04dfee82f01b5d50087336fd62360bd54620b747b8
Contents?: true
Size: 498 Bytes
Versions: 24
Compression:
Stored size: 498 Bytes
Contents
module Doorkeeper module Request class Code # TODO: this is so wrong! def self.build(server) new(server.context.send(:pre_auth), server) end attr_accessor :pre_auth, :server def initialize(pre_auth, server) @pre_auth, @server = pre_auth, server end def request @request ||= OAuth::CodeRequest.new(pre_auth, server.current_resource_owner) end def authorize request.authorize end end end end
Version data entries
24 entries across 24 versions & 1 rubygems