This is the code documentation for the SproutCMS project
Search documentation |
class GoogleDriveApi
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2025-11-09
**/
class NewClassName extends GoogleDriveApi {
/**
* Load Oauth2 token. May cause a token refresh
**/
public function getToken () {
// Method code goes here
}
/**
* Performs an API request
**/
public function apiRequest (string $method, string $url, array $data, bool $headers) {
// Method code goes here
}
/**
* Loads Oauth2 config
**/
public function getConfig () {
// Method code goes here
}
public function refreshOauthToken (mixed $token) {
// Method code goes here
}
/**
* Request an Oauth2 code
**/
public function requestOauthCode () {
// Method code goes here
}
/**
* Save Oauth token
**/
public function saveOauthToken (string $code) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|