authsub

Google Authentication API: How to get the user's gmail address

馋奶兔 提交于 2019-11-30 04:46:38
问题 I've been studying the Google authentication API (AuthSub)... My question is, how do I get the user's account information (at least their Gmail address) after the authentication has passed? Because currently, all I get back from the authentication process is a token granting me access to which ever Google service I have specified in the scope, but there's no easy way to even get the user's login id (Gmail address) as far as I can tell... If so, what Google service allows me to access the user

Offline Access to google calendar using java

 ̄綄美尐妖づ 提交于 2019-11-29 15:43:50
问题 We have code to sync our application calendar with google calendar of logged in user. The code is using AuthSub and CalendarService class but it does not provide offline access to google calendar using access token and refresh token for that i want to use OAuth v3 using calendar class. I am facing problem to merge my old code to new v3 Calendar class which is not having getFeed() function. Here is some code from my application if(StringUtil.isValid(request.getQueryString())) { onetimeUseToken

How to get Google Analytics data using OAuth?

笑着哭i 提交于 2019-11-27 19:32:54
Hy guys, we are developing a system which will provide users with access to Google Analytics. I'm trying to implement it in the way so user don't need to enter their Google login credentials on our site, so trying to get it work using their login. I have a solution which gets analytics using user's email and password. I'm looking for a solution which will not require user's email and password but can not find anything. How can it be done? any advices or links will be appreciated. thanks Ok, guys, after a few days of struggle I finally figured this out. There is no documentation on the Internet