class Doorkeeper::OAuth::ClientCredentialsRequest::Creator

def create(client, scopes, attributes = {})

def create(client, scopes, attributes = {})
  Doorkeeper::AccessToken.create(attributes.merge({
    :application_id => client.id,
    :scopes         => scopes.to_s
  }))
end