Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Auth_Abstract Class Reference
Inheritance diagram for Google_Auth_Abstract:
Google_Auth_AppIdentity Google_Auth_ComputeEngine Google_Auth_OAuth2 Google_Auth_Simple

Public Member Functions

 authenticatedRequest (Google_Http_Request $request)
 An utility function that first calls $this->auth->sign($request) and then executes makeRequest() on that signed request.
 
 sign (Google_Http_Request $request)
 

Member Function Documentation

◆ authenticatedRequest()

Google_Auth_Abstract::authenticatedRequest ( Google_Http_Request $request)
abstract

An utility function that first calls $this->auth->sign($request) and then executes makeRequest() on that signed request.

Used for when a request should be authenticated

Parameters
Google_Http_Request$request
Return values
Google_Http_Request\$request

Reimplemented in Google_Auth_AppIdentity, Google_Auth_ComputeEngine, Google_Auth_OAuth2, and Google_Auth_Simple.

◆ sign()

Google_Auth_Abstract::sign ( Google_Http_Request $request)
abstract

The documentation for this class was generated from the following file: