gapi.auth2 event close authentication code example Example: google gapi auth2 get current token gapi.auth2.getAuthInstance().currentUser.get().wc.id_token