Documentation

SecurityStorageComponent extends Injectable
in package

Table of Contents

Constants

LOGIN_TOKEN_LIFE_TIME  = 30

Properties

$redisCache  : RedisCache
$serializer  : Serializer

Methods

__construct()  : mixed
SecurityStorageComponent constructor.
addClientSubscriptionCheck()  : mixed
addLoginAuthorizationItem()  : mixed
addSecurityItem()  : void
addTokenToKeyList()  : mixed
dropKeyListByUserAccountId()  : mixed
getClientLastSubscriptionCheck()  : ClientSubscriptionCheck|null
getLoginAuthorizationItemByToken()  : LoginAuthorizationItem|null
getSecurityItemByToken()  : ISecurityItem|null
getSecurityTokensByUserAccountId()  : mixed
getSecurityTokensByUserId()  : mixed
removeItemByKey()  : mixed
removeSecurityUserByToken()  : mixed
removeTokenFromKeyListByUserAccountIdAndItemType()  : mixed
removeTokenFromKeyListByUserIdAndItemType()  : mixed
getListKeyByUserIdAndItemType()  : mixed

Constants

Properties

Methods

__construct()

SecurityStorageComponent constructor.

public __construct(RedisCache $redisCache, Serializer $serializer) : mixed
Parameters
$redisCache : RedisCache
$serializer : Serializer

dropKeyListByUserAccountId()

public dropKeyListByUserAccountId(mixed $userAccountId) : mixed
Parameters
$userAccountId : mixed

getSecurityTokensByUserAccountId()

public getSecurityTokensByUserAccountId(int $userAccountId) : mixed
Parameters
$userAccountId : int

getSecurityTokensByUserId()

public getSecurityTokensByUserId(int $userId) : mixed
Parameters
$userId : int

removeSecurityUserByToken()

public removeSecurityUserByToken(string $token) : mixed
Parameters
$token : string

removeTokenFromKeyListByUserAccountIdAndItemType()

public removeTokenFromKeyListByUserAccountIdAndItemType(string $token, int $userAccountId, string $itemType) : mixed
Parameters
$token : string
$userAccountId : int
$itemType : string

removeTokenFromKeyListByUserIdAndItemType()

public removeTokenFromKeyListByUserIdAndItemType(string $token, int $userId, string $itemType) : mixed
Parameters
$token : string
$userId : int
$itemType : string

getListKeyByUserIdAndItemType()

private getListKeyByUserIdAndItemType(int $userId, string $itemType) : mixed
Parameters
$userId : int
$itemType : string

        
On this page

Search results