Spaces:
Sleeping
Sleeping
processmaker-community / processmaker-files /workflow /engine /methods /oauth2 /accessTokenSetup.php
Download processmaker-files/workflow/engine/methods/oauth2/accessTokenSetup.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/methods/oauth2/accessTokenSetup.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/methods/oauth2/accessTokenSetup.php
-
curl -L -o accessTokenSetup.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/methods/oauth2/accessTokenSetup.php
598 Bytes
| $config = array(); | |
| $config["pageSize"] = 20; | |
| $arrayScope = array( | |
| array("value" => "view_processes", "label" => "View Processes"), | |
| array("value" => "edit_processes", "label" => "Edit Processes") | |
| ); | |
| $headPublisher = &headPublisher::getSingleton(); | |
| $headPublisher->addContent("oauth2" . PATH_SEP . "accessTokenSetup"); //Adding a HTML file .html | |
| $headPublisher->addExtJsScript("oauth2" . PATH_SEP . "accessTokenSetup", false); //Adding a JavaScript file .js | |
| $headPublisher->assign("CONFIG", $config); | |
| $headPublisher->assign("SCOPE", $arrayScope); | |
| G::RenderPage("publish", "extJs"); | |