1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-20 10:00:46 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleCalendar/GetServiceAccountToken.txt
T
Vitaly the Alpaca (bot) c25ed70ac3 Main build (Jenkins)
2026-02-13 14:09:07 +03:00

8 lines
395 B
Plaintext
Vendored

Data = "https://hut.openintegrations.dev/secret_test_data/google_service.json"; // URL, binary Data, file or collection
Scope = New Array;
Scope.Add("https://www.googleapis.com/auth/calendar");
Scope.Add("https://www.googleapis.com/auth/drive");
Scope.Add("https://www.googleapis.com/auth/spreadsheets");
Result = OPI_GoogleCalendar.GetServiceAccountToken(Data, Scope);