It is possible in Java. The basic steps are:

1) Use the Google APIs Client Library for Java 
<https://github.com/google/google-api-java-client> to perform the OAuth2 
flow and create a Credential object.
2) Call the method setOAuth2Credentials on your SpreadsheetService 
instance, passing in the Credential object.

Best,
- Eric

On Thursday, June 25, 2015 at 4:44:41 PM UTC-4, Steven wrote:
>
> The documentation at 
> https://developers.google.com/google-apps/spreadsheets/ has C# sample 
> code for OAuth 2.0, however it does not have an example for Java. Does the 
> Java client library support OAuth 2.0? Where can I find a sample?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to