Oauth2
class Oauth2 extends Service (View source)
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
Constants
USERINFO_EMAIL |
See your primary Google Account email address. |
USERINFO_PROFILE |
See your personal info, including any personal info you've made publicly available. |
OPENID |
Associate you with your personal info on Google. |
Properties
$userinfo | |||
$userinfo_v2_me | |||
$rootUrlTemplate |
Methods
__construct(Client|array $clientOrConfig = [], string $rootUrl = null)
Constructs the internal representation of the Oauth2 service.
Details
__construct(Client|array $clientOrConfig = [], string $rootUrl = null)
Constructs the internal representation of the Oauth2 service.
Tokeninfo
tokeninfo(array $optParams = [])
(tokeninfo)