auth.grantOfflineAccess({ authuser: user.getAuth code example Example: google gapi auth2 get current token gapi.auth2.getAuthInstance().currentUser.get().wc.id_token