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