Sha256: 56dcca08690a00dbdd3d0bb702313c36dfcaf4eaff41a22dc33497acd716cf78
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
module Doorkeeper module Request class Token # 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::TokenRequest.new(pre_auth, server.current_resource_owner) end def authorize request.authorize end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchkeeper-0.6.7 | lib/doorkeeper/request/token.rb |