$client_id=\Config::get()->OWNCLOUD_CLIENT_ID?:\UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_ID;// The client ID assigned to you by the provider
$client_secret=\Config::get()->OWNCLOUD_CLIENT_SECRET?:\UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_SECRET;// The client password assigned to you by the provider