Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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.