Sha256: 6a1246918e2380e46ae56345e1437b12330553557fd719eae724f4e37609fb7e
Contents?: true
Size: 468 Bytes
Versions: 17
Compression:
Stored size: 468 Bytes
Contents
module Doorkeeper module Request class Token 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
17 entries across 17 versions & 1 rubygems