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

BeAuthTwitterComponent Class Reference

Twitter User auth component. More...

Inheritance diagram for BeAuthTwitterComponent:
BeAuthComponent

List of all members.

Public Member Functions

 startup ($controller=null)
 login ()
 logout ()
 User logout: remove session data for the user.
 getUser ()
 Get the current logged user.
 loadProfile ()
 createUser ($profile=null, $groups=array(), $createCard=false)
 Create new user.
 createCard ($u, $profile=null)

Public Attributes

 $components = array('Transaction')
 $uses = array('Image', 'Card')
 $userAuth = 'twitter'
 $relatedBy = 'nickname'
 $disabled = false

Protected Member Functions

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

Protected Attributes

 $params = null
 $vendorController = null
 $userIdPrefix = 'twitter-'

Detailed Description

Twitter User auth component.

Definition at line 17 of file be_auth_twitter.php.


Member Function Documentation

BeAuthTwitterComponent::createUser ( userData = null,
groups = array(),
notify = false 
)

Create new user.

Parameters:
array $userData
array $groups (contains groups names)
boolean $notify (send newUser backend notify)
Returns:
int id of user created
Exceptions:
BeditaException 

Reimplemented from BeAuthComponent.

Definition at line 186 of file be_auth_twitter.php.

References BeAuthComponent::userGroupModel().

BeAuthTwitterComponent::logout (  ) 

User logout: remove session data for the user.

Returns:
boolean

Reimplemented from BeAuthComponent.

Definition at line 124 of file be_auth_twitter.php.


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