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