/// <summary> /// Refreshes the security token. /// </summary> /// <param name="securityToken"></param> public void RefreshToken(string securityToken) { _securityToken = securityToken; if (_employeeService != null) { _employeeService.RefreshToken(_securityToken); } if (_visitorService != null) { _visitorService.RefreshToken(_securityToken); } if (_visitService != null) { _visitService.RefreshToken(_securityToken); } if (_securityService != null) { _securityService.RefreshToken(_securityToken); } if (_visitorPictureService != null) { _visitorPictureService.RefreshToken(_securityToken); } }