class vB_Library_ExternalLogin extends vB_Library

vB_Library_Auth

Traits

Properties

static protected $instance from vB_Library
protected $loginlibraryid
protected $productid

Methods

__sleep()

No description

__wakeup()

No description

__construct()

No description

static vB_PageCache
instance($class)

Returns singleton instance of self.

static 
getLibraryClassNameInternal($controller)

No description

static 
getContentInstance($contenttypeid)

No description

static 
clearCache()

No description

createLoginLibraryId($productid = "", $class = "")

No description

getLoginLibraryId($productid = "")

No description

checkLinkSuccess($newUserAuth)

No description

updateUserAuthRecord($data)

No description

checkExternalUseridAvailability($external_userid)

No description

getUserAuthRecord($external_userid = null, $token = null, $userid = null)

No description

deleteUserAuthRecord()

No description

updateSessionAuthRecord($data)

No description

getSessionAuthRecord($token = null)

No description

deleteSessionAuthRecord()

No description

removeExpiredSessionAuths()

No description

linkCurrentUserWithApp($params = array())

No description

unlinkCurrentUserFromApp($params = array())

No description

getNonce($length = 32, $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567')

No description

loginUser($vbuserid)

No description

saveUserLink($userAuth)

No description

postUserDelete($userid)

No description

getPersonalData($userid)

No description

array
formatPersonalDataForExport($userauth)

Given userauth record & the loginlibrary data, fetch any additional personal data stored for the user & format it for export.

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

at line 32
__construct()

in vB_Library at line 35
static vB_PageCache instance($class)

Returns singleton instance of self.

Parameters

$class

Return Value

vB_PageCache
  • Reference to singleton instance of the cache handler

in vB_Library at line 52
static protected getLibraryClassNameInternal($controller)

Parameters

$controller

in vB_Library at line 91
static getContentInstance($contenttypeid)

Parameters

$contenttypeid

in vB_Library at line 99
static clearCache()

at line 37
final createLoginLibraryId($productid = "", $class = "")

Parameters

$productid
$class

at line 59
final protected getLoginLibraryId($productid = "")

Parameters

$productid

at line 86
protected checkLinkSuccess($newUserAuth)

Parameters

$newUserAuth

at line 96
final protected updateUserAuthRecord($data)

Parameters

$data

at line 167
final protected checkExternalUseridAvailability($external_userid)

Parameters

$external_userid

at line 174
final getUserAuthRecord($external_userid = null, $token = null, $userid = null)

Parameters

$external_userid
$token
$userid

at line 221
final protected deleteUserAuthRecord()

at line 239
final protected updateSessionAuthRecord($data)

Parameters

$data

at line 327
final getSessionAuthRecord($token = null)

Parameters

$token

at line 363
final protected deleteSessionAuthRecord()

at line 388
final protected removeExpiredSessionAuths()

at line 415
linkCurrentUserWithApp($params = array())

Parameters

$params

at line 460
unlinkCurrentUserFromApp($params = array())

Parameters

$params

at line 470
protected getNonce($length = 32, $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567')

Parameters

$length
$chars

at line 490
final loginUser($vbuserid)

Parameters

$vbuserid

Parameters

$userAuth

at line 539
postUserDelete($userid)

Parameters

$userid

at line 557
final getPersonalData($userid)

Parameters

$userid

at line 635
array formatPersonalDataForExport($userauth)

Given userauth record & the loginlibrary data, fetch any additional personal data stored for the user & format it for export.

Parameters

$userauth array userauth and loginlibrary data for the user, including the following data: - int userid - string external_userid - array additional_params - string token - string token_secret - int loginlibraryid - int productid - string class

Return Value

array each key should be a phrase title, and value should be the stored data