Ntb\RestAPI\OAuth\GoogleApi
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class GoogleApi
implements
ISocialApi
{
- // methods
- public bool validateToken()
- public array getProfileData()
Hierarchy
Implements
Methods
public
- getProfileData()
- validateToken() — Checks with the site to confirm that the given token is indeed valid and corresponds with the userID we were given. It can do anything else it needs as well (e.g. facebook provides a debug_token endpoint)