we\'re writing an open-source jdbc driver for bigquery, and ran into the following problem:
We want to authorize our driver with Oauth 2 as an installed application.
Using java.net.HttpURLConnection
java.net.HttpURLConnection
URL myURL = new URL("http://example.com/"); URLConnection myURLConnection = myURL.openConnection(); myURLConnection.connect();