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

Sample of OAuth 2.0 use without user interaction #258

Closed GoogleCodeExporter closed 9 years ago

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

Google.Apis.Analytics.v3

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

Using OAuth 2.0 without opening a browser, but instead with an API key

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

Windows/ASP.NET
External references, such as API reference guide?

Please provide any additional information below.

Original issue reported on code.google.com by pemb...@gmail.com on 14 Sep 2012 at 5:25

GoogleCodeExporter commented 9 years ago

Original comment by davidwat...@google.com on 21 Sep 2012 at 4:56

GoogleCodeExporter commented 9 years ago
Hi Pembo13,
OAuth2 when acting with a user account like the analytics api does, there needs 
to be user interaction at least once. 
You can use saved refresh tokens so that this only needs to be done once.

I'm closing this issue as wil not fix. 

Original comment by davidwat...@google.com on 8 Jan 2013 at 3:23