Home
last modified time | relevance | path

Searched refs:tokenFile (Results 1 – 1 of 1) sorted by relevance

/plugin/calendar/classes/
DGoogleCalendarSync.php34 private $tokenFile; variable in GoogleCalendarSync
49 $this->tokenFile = $this->configDir . 'google_token.json';
103 if (!file_exists($this->tokenFile)) {
258 file_put_contents($this->tokenFile, json_encode($token, JSON_PRETTY_PRINT));
259 @chmod($this->tokenFile, 0600);
266 if (!file_exists($this->tokenFile)) {
269 return json_decode(file_get_contents($this->tokenFile), true);
276 if (file_exists($this->tokenFile)) {
277 @unlink($this->tokenFile);