Documentation

Google_Service_Oauth2 extends Google_Service
in package

Service definition for Oauth2 (v2).

Obtains end-user authorization grants for use with other Google APIs.

For more information about this service, see the API Documentation

Tags
author

Google, Inc.

Table of Contents

OPENID  = "openid"
Associate you with your personal info on Google.
USERINFO_EMAIL  = "https://www.googleapis.com/auth/userinfo.email"
View your email address.
USERINFO_PROFILE  = "https://www.googleapis.com/auth/userinfo.profile"
See your personal info, including any personal info you've made publicly available.
$availableScopes  : mixed
$batchPath  : mixed
$resource  : mixed
$rootUrl  : mixed
$servicePath  : mixed
$userinfo  : mixed
$userinfo_v2_me  : mixed
$version  : mixed
$base_methods  : mixed
$client  : mixed
__construct()  : mixed
Constructs the internal representation of the Oauth2 service.
createBatch()  : Google_Http_Batch
Create a new HTTP Batch handler for this service
getClient()  : Google_Client
Return the associated Google_Client class.
tokeninfo()  : Google_Service_Oauth2_Tokeninfo
(tokeninfo)

Constants

OPENID

Associate you with your personal info on Google.

public mixed OPENID = "openid"

USERINFO_EMAIL

View your email address.

public mixed USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email"

USERINFO_PROFILE

See your personal info, including any personal info you've made publicly available.

public mixed USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile"

Properties

$availableScopes

public mixed $availableScopes

$servicePath

public mixed $servicePath

$userinfo

public mixed $userinfo

$userinfo_v2_me

public mixed $userinfo_v2_me

$base_methods

private mixed $base_methods

Methods

__construct()

Constructs the internal representation of the Oauth2 service.

public __construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
$client : Google_Client

The client used to deliver requests.

$rootUrl : string = null

The root URL used for requests to the service.

Return values
mixed

Search results