Methods | ||
---|---|---|
public
static
|
getTokenData($oAccount, $bSignMe = true)
|
# |
public
|
Set($aData, $iTime = 0, $iExpire = 0)
|
# |
public
|
UpdateTimestamp($sAuthToken, $iTime = 0)
|
# |
public
|
Get($sAuthToken)
|
# |
public
|
Delete($sAuthToken)
|
# |
public
|
DeleteAllUserSessions($iUserId)
|
# |
public
|
SetToDB($iUserId, $sAuthToken)
|
# |
public
|
GetFromDB($sAuthToken)
|
# |
public
|
DeleteFromDB($sAuthToken)
|
# |
public
|
GetExpiredAuthTokens($iDays)
|
# |
public
|
DeleteExpiredAuthTokens($iDays)
|
# |
public
|
GetUserSessionsFromDB($iUserId)
|
# |
Constants | ||
---|---|---|
public
|
TOKEN_VERSION = '2.4'
|
# |
Properties | |||
---|---|---|---|
public
static
|
|
$aTokensCache = []
|
# |