Skip to content

Latest commit

 

History

History
executable file
·
24 lines (16 loc) · 1.05 KB

File metadata and controls

executable file
·
24 lines (16 loc) · 1.05 KB

Try it now in CWS

Identity

A sample application that uses the Identity API to request information of the logged in user and present this info on the screen. If the user has a profile picture, an XMLHttpRequest request is also sent to grab the image and show it in the app.

This app uses the getAuthToken flow of the Identity API, so it only works with Google accounts. If you want to identify the user in a non-Google OAuth2 flow, you should use the launchWebAuthFlow method instead.

APIs

Screenshot

screenshot