class Doorkeeper::Server

def client

def client
  @client ||= OAuth::Client.authenticate(credentials)
end