File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const readline = require('readline');
20
20
const { google} = require ( 'googleapis' ) ;
21
21
22
22
// If modifying these scopes, delete token.json.
23
- export const SCOPES = [ 'https://www.googleapis.com/auth/admin.directory.user' ] ;
23
+ const SCOPES = [ 'https://www.googleapis.com/auth/admin.directory.user' ] ;
24
24
// The file token.json stores the user's access and refresh tokens, and is
25
25
// created automatically when the authorization flow completes for the first
26
26
// time.
@@ -101,7 +101,7 @@ function storeToken(token) {
101
101
*
102
102
* @param {google.auth.OAuth2 } auth An authorized OAuth2 client.
103
103
*/
104
- export function listUsers ( auth ) {
104
+ function listUsers ( auth ) {
105
105
const service = google . admin ( { version : 'directory_v1' , auth} ) ;
106
106
service . users . list ( {
107
107
customer : 'my_customer' ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const readline = require('readline');
20
20
const { google} = require ( 'googleapis' ) ;
21
21
22
22
// If modifying these scopes, delete token.json.
23
- export const SCOPES = [ 'https://www.googleapis.com/auth/admin.reports.audit.readonly' ] ;
23
+ const SCOPES = [ 'https://www.googleapis.com/auth/admin.reports.audit.readonly' ] ;
24
24
// The file token.json stores the user's access and refresh tokens, and is
25
25
// created automatically when the authorization flow completes for the first
26
26
// time.
@@ -101,7 +101,7 @@ function storeToken(token) {
101
101
*
102
102
* @param {google.auth.OAuth2 } auth An authorized OAuth2 client.
103
103
*/
104
- export function listLoginEvents ( auth ) {
104
+ function listLoginEvents ( auth ) {
105
105
const service = google . admin ( { version : 'reports_v1' , auth} ) ;
106
106
service . activities . list ( {
107
107
userKey : 'all' ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const readline = require('readline');
20
20
const { google} = require ( 'googleapis' ) ;
21
21
22
22
// If modifying these scopes, delete token.json.
23
- export const SCOPES = [ 'https://www.googleapis.com/auth/apps.order' ] ;
23
+ const SCOPES = [ 'https://www.googleapis.com/auth/apps.order' ] ;
24
24
// The file token.json stores the user's access and refresh tokens, and is
25
25
// created automatically when the authorization flow completes for the first
26
26
// time.
You can’t perform that action at this time.
0 commit comments