I have developed windows phone store app and integrated google login without using Google.Apis sdk.
I used WebAuthenticationBroker and its working fine.
UPDATE 1:
Now I am trying to explore updated Google.Apis SDK for google integration for login.
I am able to get into google login screen by using this:
credential = await GoogleWebAuthorizationBroker.AuthorizeAsync(
new Uri("ms-appx:///Assets/client_secrets.json"),
new[] { "openid", "email" , "profile"},
"user",
CancellationToken.None);
and in webAuthenticationResult getting response containg code
needed further.
But, to use it further I needed to know all APIs it gives apart from GoogleWebAuthorizationBroker.AuthorizeAsync
, Is there any API document
You explained about Blogger/Drive APIs but not about access token expiry handling APIs normal login flow needs.
I will be very thankful to you if you take time and give me a direction on how to use this SDK for second time app launch, handle token expiry using refresh token as I seen it is navigated to login page every time I use GoogleWebAuthorizationBroker.AuthorizeAsync
.
Should we need to handle these all scenarios or SDK takes care about it?
Any help is really appreciated Peleyal. Thanks.