class Doorkeeper::Request::AuthorizationCode
def self.build(server)
def self.build(server) new(server.grant, server.client, server) end
def authorize
def authorize request.authorize end
def initialize(grant, client, server)
def initialize(grant, client, server) @grant, @client, @server = grant, client, server end
def request
def request @request ||= OAuth::AuthorizationCodeRequest.new(Doorkeeper.configuration, grant, client, server.parameters) end