]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Command/CalendarCommand.php
Add note about validating app
[airbundle] / Command / CalendarCommand.php
index 3951bb94fcdc8248525a6281a00678de9855f436..a78384861e7f41de51e8ae5b153efb67d1a4fd6b 100644 (file)
@@ -178,6 +178,8 @@ class CalendarCommand extends Command {
                                                $cache->save($cacheCalendars);
 
                                                //Drop token and report
+                                               //XXX: submit app to avoid expiration
+                                               //XXX: see https://console.cloud.google.com/apis/credentials/consent?project=calendar-317315
                                                echo 'Token '.$tokenId.' for calendar '.$token['calendar'].' has expired and is not refreshable'."\n";
 
                                                //Return failure
@@ -281,6 +283,7 @@ class CalendarCommand extends Command {
                                foreach($sessions as $sessionId => $session) {
                                        //Init shared properties
                                        //TODO: validate for constraints here ??? https://developers.google.com/calendar/api/guides/extended-properties
+                                       //TODO: drop shared as unused ???
                                        $shared = [
                                                'gps' => $session['l_latitude'].','.$session['l_longitude']
                                        ];