class Doorkeeper::Server

def credentials

def credentials
  methods = Doorkeeper.config.client_credentials_methods
  @credentials ||= OAuth::Client::Credentials.from_request(context.request, *methods)
end