1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-05 22:53:35 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleWorkspace/GetServiceAccountToken.txt
Vitaly the Alpaca (bot) 952363b604 Main build (Jenkins)
2025-05-08 20:10:14 +03:00

9 lines
397 B
Plaintext
Vendored

Data = "https://api.athenaeum.digital/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_GoogleWorkspace.GetServiceAccountToken(Data, Scope);