Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_Oauth2 Class Reference
Inheritance diagram for Google_Service_Oauth2:
Google_Service

Public Member Functions

 __construct (Google_Client $client)
 Constructs the internal representation of the Oauth2 service.
 
 createBatch ()
 Create a new HTTP Batch handler for this service.
 
 getCertForOpenIdConnect ($optParams=array())
 (getCertForOpenIdConnect)
 
 getClient ()
 
 tokeninfo ($optParams=array())
 (tokeninfo)
 

Public Attributes

 $availableScopes
 
 $batchPath
 
 $resource
 
 $rootUrl
 
 $servicePath
 
 $userinfo
 
 $userinfo_v2_me
 
 $version
 
const PLUS_LOGIN
 Know your basic profile info and list of people in your circles.
 
const PLUS_ME
 Know who you are on Google.
 
const USERINFO_EMAIL
 View your email address.
 
const USERINFO_PROFILE
 View your basic profile info.
 

Constructor & Destructor Documentation

◆ __construct()

Google_Service_Oauth2::__construct ( Google_Client $client)

Constructs the internal representation of the Oauth2 service.

Parameters
Google_Client$client

Reimplemented from Google_Service.

Member Function Documentation

◆ createBatch()

Google_Service::createBatch ( )
inherited

Create a new HTTP Batch handler for this service.

Return values
Google_Http_Batch

◆ getCertForOpenIdConnect()

Google_Service_Oauth2::getCertForOpenIdConnect ( $optParams = array())

(getCertForOpenIdConnect)

Parameters
array$optParamsOptional parameters.
Return values
Google_Service_Oauth2_Jwk

◆ tokeninfo()

Google_Service_Oauth2::tokeninfo ( $optParams = array())

(tokeninfo)

Parameters
array$optParamsOptional parameters.

@opt_param string access_token @opt_param string id_token @opt_param string token_handle

Return values
Google_Service_Oauth2_Tokeninfo

Member Data Documentation

◆ PLUS_LOGIN

const Google_Service_Oauth2::PLUS_LOGIN
Initial value:
=
"https://www.googleapis.com/auth/plus.login"

Know your basic profile info and list of people in your circles.

◆ PLUS_ME

const Google_Service_Oauth2::PLUS_ME
Initial value:
=
"https://www.googleapis.com/auth/plus.me"

Know who you are on Google.

◆ USERINFO_EMAIL

const Google_Service_Oauth2::USERINFO_EMAIL
Initial value:
=
"https://www.googleapis.com/auth/userinfo.email"

View your email address.

◆ USERINFO_PROFILE

const Google_Service_Oauth2::USERINFO_PROFILE
Initial value:
=
"https://www.googleapis.com/auth/userinfo.profile"

View your basic profile info.


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