def discover_uaa
    info = server
    links = info['links'] || info[:links]
    uaa = links && (links['uaa'] || links[:uaa])

    uaa || target
  end
def discover_uaa
    info = server
    links = info['links'] || info[:links]
    uaa = links && (links['uaa'] || links[:uaa])

    uaa || target
  end
Gets a base url for the associated UAA from the target server by inspecting the
 links returned from its info endpoint.
 @return [String] url of UAA (or the target itself if it didn't provide a response)