lib/uaa/info.rb in cf-uaa-lib-3.14.4 vs lib/uaa/info.rb in cf-uaa-lib-4.0.0

- old
+ new

@@ -52,17 +52,9 @@ # @return [Hash] def whoami(auth_header) json_get(target, "/userinfo?schema=openid", key_style, "authorization" => auth_header) end - # Gets various monitoring and status variables from the server. - # Authenticates using +name+ and +pwd+ for basic authentication. - # @param (see Misc.server) - # @return [Hash] - def varz(name, pwd) - json_get(target, "/varz", key_style, "authorization" => Http.basic_auth(name, pwd)) - end - # Gets basic information about the target server, including version number, # commit ID, and links to API endpoints. # @return [Hash] def server reply = json_get(target, '/login', key_style)