class Google::Auth::ExternalAccount::PluggableAuthCredentials

def validate_response_schema response

def validate_response_schema response
  raise "The executable response is missing the version field." if response[:version].nil?
  if response[:version] > EXECUTABLE_SUPPORTED_MAX_VERSION
    raise "Executable returned unsupported version #{response[:version]}."
  end
  raise "The executable response is missing the success field." if response[:success].nil?
end