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