private static void _saveTokenItemByToken(Guid?token, TokenItem ti) { String storageKey = token.ToString(); StoragePerApplication.Put(storageKey, ti); }
private static void _saveTokenValueByUserIdAndAppId(long id, long appId, Guid?token) { String storageKey = _createStorageKeyFromUserIdAndAppId(id, appId); StoragePerApplication.Put(storageKey, token); }