You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
ClientID = FunctionParameters["Google_ClientID"];
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
Result = OPI_GoogleWorkspace.FormCodeRetrievalLink(ClientID);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Data = FunctionParameters["Google_ServiceData"]; // URL, binary Data, file or collection
|
||||
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");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ClientID = FunctionParameters["Google_ClientID"];
|
||||
ClientSecret = FunctionParameters["Google_ClientSecret"];
|
||||
Code = FunctionParameters["Google_Code"];
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
Code = "4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg";
|
||||
|
||||
Result = OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ClientID = FunctionParameters["Google_ClientID"];
|
||||
ClientSecret = FunctionParameters["Google_ClientSecret"];
|
||||
RefreshToken = FunctionParameters["Google_Refresh"];
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
RefreshToken = "1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu...";
|
||||
|
||||
Result = OPI_GoogleWorkspace.RefreshToken(ClientID, ClientSecret, RefreshToken);
|
||||
|
||||
Reference in New Issue
Block a user