karishmal / 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

OAuth 2.0 for Server to Server Applications .NET Client #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current version does not support Server to Server login.
It seems like this is the only way to use Gan API from a script.

Thanks,
Michael Khodos

Original issue reported on code.google.com by michael....@mnpent.com on 24 Aug 2012 at 6:00

GoogleCodeExporter commented 9 years ago
Michael: did you find hidden support, or a third party option to get you 
Server-to-server support?  

I need this to check status of Subscriptions in the "Google Play Android 
Developer API" also, and none of the other authorization paradigms make any 
sense without being really ghetto. (since there is no UI for the back-end 
service that will be using it)

I would implement myself and contribute back to the project, but the code looks 
a little overly architected (probably in the interest of supporting 
auto-generated services, which is cool).

I may brute force it and ignore the warning "developers are strongly encouraged 
to attempt to use an existing library rather than building your own support for 
server-to-server interactions", since they don't have an API for me yet.

@Contributors: Any advise?

Thanks,
Bob Wold

Original comment by bobw...@gmail.com on 16 Nov 2012 at 10:02

GoogleCodeExporter commented 9 years ago
Bob, we learned to live without it. Michael

Original comment by Michael....@gmail.com on 20 Nov 2012 at 8:35

GoogleCodeExporter commented 9 years ago
Michael: It turns out that it is in there! I took a day to build support for 
it, then when I went to re-factor it to fit the structure of the code, I found 
that it was already there.  It looks like it can all be done via the 
"AssertionFlowClient".

Thanks for posting back.

Original comment by bobw...@gmail.com on 21 Nov 2012 at 9:10

GoogleCodeExporter commented 9 years ago
As bobwold@ mentioned this is now supported via AssertionFlowClient, 
unfortunately we do not yet have any samples to demonstrate how to use it yet.

Original comment by davidwat...@google.com on 27 Nov 2012 at 5:34