/** * Google Plus does not allow the state parameter when making access tokens requests, so it is removed from the * payload. * * @param string $grantType * @param array $payload * * @return array|false * @throws \InvalidArgumentException */ public function requestAccessToken($grantType = GrantTypes::AUTHORIZATION_CODE, array $payload = array()) { Option::remove($payload, 'state'); return parent::requestAccessToken($grantType, $payload); }