Files
luos/workflow/engine/methods/oauth2/clientSetup.php
Erik Amaru Ortiz 7333cf1444 Oauth2 Registering and Access Management is complete now.
- User can register applications and manage them
- User can manage access tokens from interface on profile menu
2014-06-10 13:03:47 -04:00

13 lines
460 B
PHP

<?php
$config = array();
$config["pageSize"] = 20;
$headPublisher = &headPublisher::getSingleton();
//$headPublisher->addContent("oauth2" . PATH_SEP . "clientSetup"); //Adding a HTML file .html
$headPublisher->addExtJsScript("oauth2" . PATH_SEP . "clientSetup", false); //Adding a JavaScript file .js
$headPublisher->assign("CONFIG", $config);
$headPublisher->assign("CREATE_CLIENT", (isset($_GET["create_app"]))? 1 : 0);
G::RenderPage("publish", "extJs");