ravipatidar54 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Load OAuth credentials from text file, query Coordinate API without any human presence. #262

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which Google API and version (e.g. Google Tasks API version 1)?

Google Coordinate API version 1

What should the sample demonstrate (e.g. using OAuth2, using a specific feature 
of that API)?

Generate URL for user to get authentication code, exchange it for access and 
refresh tokens.
Store access and refresh tokens in a text file.
Load access and refresh tokens from a text file to query the API without any 
human presence.

Platform (e.g. Windows, Mono, Silverlight, WP7)?

Windows.

External references, such as API reference guide?

http://code.google.com/p/google-api-python-client/issues/detail?id=196 is the 
Python equivalent for this request.

Please provide any additional information below.

Original issue reported on code.google.com by mig...@google.com on 24 Sep 2012 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by davidwat...@google.com on 5 Oct 2012 at 2:35

GoogleCodeExporter commented 9 years ago
We added a concept of IDataStore, which is used in the new Auth library 
(http://www.nuget.org/packages/Google.Apis.Auth/).
Use the information in our OAuth2 page in this site and also take a look in our 
samples for working solutions.

I'm closing this issue, but feel free to reopen it if you think so.
Thanks!

Original comment by pele...@google.com on 24 Oct 2013 at 1:50