public function getResourceOwner(\League\OAuth2\Client\Token\AccessToken $token) { $data = $token->getIdTokenClaims(); return $this->createResourceOwner($data, $token); }