All the samples I’v seen only support ‘user’ accounts where a user has to be present.
Looks like latest version of OAuth2 supports service accounts for server to server authentication where humans not present but I am struggling to find any libraries that support it or examples of in use.
https://developers.google.com/accounts/docs/OAuth2ServiceAccount
I don’t (yet) have any C# examples of authorization via service accounts, but the Google APIs support service account authorization flow. Here’s an example of using this authorization flow with the Google BigQuery API, in Java & Python, using the Google APIs Client Libraries for these languages (http://code.google.com/p/google-api-python-client/ and http://code.google.com/p/google-api-java-client/).
Same snippet implemented in Python: