PHP Class Hybrid_Providers_Vkontakte

added by guiltar | https://github.com/guiltar
Inheritance: extends Hybrid_Provider_Model_OAuth2
Datei anzeigen Open project: hybridauth/hybridauth

Public Properties

Property Type Description
$fields default user fields map
$scope default permissions

Public Methods

Method Description
getUserByResponse ( object $response, boolean $withAdditionalRequests = false ) : Hybrid_User_Contact
getUserContacts ( ) load the user contacts
getUserProfile ( ) load the user profile from the IDp api client
initialize ( ) IDp wrappers initializer
loginFinish ( )

Method Details

getUserByResponse() public method

public getUserByResponse ( object $response, boolean $withAdditionalRequests = false ) : Hybrid_User_Contact
$response object
$withAdditionalRequests boolean True to get some full fields like 'city' or 'country' (requires additional responses to vk api!)
return Hybrid_User_Contact

getUserContacts() public method

load the user contacts
public getUserContacts ( )

getUserProfile() public method

load the user profile from the IDp api client
public getUserProfile ( )

initialize() public method

IDp wrappers initializer
public initialize ( )

loginFinish() public method

public loginFinish ( )

Property Details

$fields public_oe property

default user fields map
public $fields

$scope public_oe property

default permissions
public $scope