Property | Type | Description | |
---|---|---|---|
logger | log4net.ILog |
Method | Description | |
---|---|---|
DeleteToken ( string token, long userId ) : void |
Deletes token from database
|
|
FindToken ( string token ) : |
Searches token in database
|
|
GetUserIdByName ( string userName ) : long | ||
GetUserTokens ( System.Int64 userId, DeviceType deviceType ) : List |
Retrieves user tokens
|
|
SaveToken ( |
||
Select ( long userId ) : List |
||
SelectCount ( System.Int64 userId ) : int |
Counts user devices
|
|
UpdateToken ( string oldId, string newId ) : void |
public DeleteToken ( string token, long userId ) : void | ||
token | string | |
userId | long | |
return | void |
public FindToken ( string token ) : |
||
token | string | |
return |
public GetUserIdByName ( string userName ) : long | ||
userName | string | |
return | long |
public GetUserTokens ( System.Int64 userId, DeviceType deviceType ) : List |
||
userId | System.Int64 | |
deviceType | DeviceType | |
return | List |
public SaveToken ( |
||
tokenInfo | ||
return | void |
public SelectCount ( System.Int64 userId ) : int | ||
userId | System.Int64 | |
return | int |
public UpdateToken ( string oldId, string newId ) : void | ||
oldId | string | |
newId | string | |
return | void |