SproutCMS

This is the code documentation for the SproutCMS project

class GoogleDriveApi

Source code (3 results)

/modules/HarborAndSprout/Controllers/HarborController.php   Highlighted file source

Line 6: use SproutModules\Karmabunny\HarborAndSprout\Helpers\GoogleDriveApi;
Line 48: $view->connected = (bool) GoogleDriveApi::getToken();
Line 55: $resp = GoogleDriveApi::apiRequest($_POST['method'], GoogleDriveApi::$domain . $_POST['endpoint'], $params);
Line 78: GoogleDriveApi::requestOauthCode();
Line 95: GoogleDriveApi::saveOauthToken($_GET['code']);

/modules/HomePage/Controllers/HomePageController.php   Highlighted file source

Line 18: use SproutModules\Karmabunny\HarborAndSprout\Helpers\GoogleDriveApi;
Line 50: $response = GoogleDriveApi::apiRequest('GET', GoogleDriveApi::$domain . '/files', $params);

A total of 8 lines in 3 files were found