I am trying to use the nuget package Google.Apis.Auth.1.8.1 for authentication in Windows Phone and Windows Store Apps.
I found this Google C# Api Beta 1.6 Authentication Issue and this https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth but I don´t want to use the CalendarService...
My questions are:
Which is the best sample for me - I only want to authenticate? is this (Note: this is for Windows Store apps)
var credential = await GoogleWebAuthorizationBroker.AuthorizeAsync( new Uri("ms-appx:///Assets/client_secrets.json"), null, "user", CancellationToken.None );
What is the format of the client_secrets.json? Is it this
{ "clientid ": "the client id here", "clientsecret ": "the client secret here", }