Google CardDAV API Authentication -


is there way authenticate accounts' contacts saved token? in research looks have create new token having user login , give consent.

thank you,

brandon

yes, there is.
make sure include access_type=offline in authentication request. after user gives app permission first time refresh token present in response. if save it, can use later new access token every time need it. no consent screen shown.

although can craft own auth mechanism, google provides nice set of client libraries, work (exchanging refresh token access token, getting new refresh token after has expired, ...).


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -