File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/admin.directory.user' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/admin.reports.audit.readonly' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/apps.order' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/script.projects' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/calendar.readonly' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/classroom.courses.readonly' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ const {google} = require('googleapis');
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/activity' ,
2424 'https://www.googleapis.com/auth/drive.metadata.readonly' ] ;
25+ // The file token.json stores the user's access and refresh tokens, and is
26+ // created automatically when the authorization flow completes for the first
27+ // time.
2528const TOKEN_PATH = 'token.json' ;
2629
2730// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/drive.metadata.readonly' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/gmail.readonly' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const {google} = require('googleapis');
2121
2222// If modifying these scopes, delete token.json.
2323const SCOPES = [ 'https://www.googleapis.com/auth/contacts.readonly' ] ;
24+ // The file token.json stores the user's access and refresh tokens, and is
25+ // created automatically when the authorization flow completes for the first
26+ // time.
2427const TOKEN_PATH = 'token.json' ;
2528
2629// Load client secrets from a local file.
You can’t perform that action at this time.
0 commit comments