Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Public Member Functions | |
__construct (Google_Client $client, $config=null) | |
authenticatedRequest (Google_Http_Request $request) | |
Perform an authenticated / signed apiHttpRequest. | |
sign (Google_Http_Request $request) | |
Google_Auth_Simple::authenticatedRequest | ( | Google_Http_Request | $request | ) |
Perform an authenticated / signed apiHttpRequest.
This function takes the apiHttpRequest, calls apiAuth->sign on it (which can modify the request in what ever way fits the auth mechanism) and then calls apiCurlIO\makeRequest on the signed request
Google_Http_Request | $request |
Google_Http_Request | The resulting HTTP response including the responseHttpCode, responseHeaders and responseBody. |
Reimplemented from Google_Auth_Abstract.
Google_Auth_Simple::sign | ( | Google_Http_Request | $request | ) |
Reimplemented from Google_Auth_Abstract.