Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

BeAuthFacebookComponent Class Reference

Facebook User auth component. More...

Inheritance diagram for BeAuthFacebookComponent:

List of all members.

Public Member Functions

 startup (&$controller=null)
 login ()
 loadProfile ()
 createUser ($profile, $groups=array(), $createCard=false)
 Create new user.
 createCard ($u)

Public Attributes

 $components = array('Transaction')
 $uses = array('Image', 'Card')
 $userAuth = 'facebook'
 $relatedBy = 'e-mail'
 $disabled = false

Protected Member Functions

 checkSessionKey ()
 Check whether session key is valid.
 loginUrl ()
 uploadAvatarByUrl ($userData)

Protected Attributes

 $params = null
 $vendorController = null
 $userIdPrefix = 'facebook-'
 $permissions = array('email', 'user_birthday')

Detailed Description

Facebook User auth component.

Definition at line 17 of file be_auth_facebook.php.

Member Function Documentation

BeAuthFacebookComponent::createUser ( userData,
groups = array(),
notify = false 

Create new user.

array $userData
array $groups (contains groups names)
boolean $notify (send newUser backend notify)
int id of user created

Reimplemented from BeAuthComponent.

Definition at line 136 of file be_auth_facebook.php.

References BeAuthComponent::userGroupModel().

The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus