Skip to content

Commit b587c68

Browse files
committed
Delete no more used configToken.
1 parent 1fc1ab0 commit b587c68

File tree

2 files changed

+11
-37
lines changed

2 files changed

+11
-37
lines changed

src/Parameters/JoinMeetingParameters.php

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ class JoinMeetingParameters extends UserDataParameters
5757
*/
5858
private $creationTime;
5959

60-
/**
61-
* @var string
62-
*/
63-
private $configToken;
64-
6560
/**
6661
* @var string
6762
*/
@@ -231,26 +226,6 @@ public function setCreationTime($creationTime)
231226
return $this;
232227
}
233228

234-
/**
235-
* @return string
236-
*/
237-
public function getConfigToken()
238-
{
239-
return $this->configToken;
240-
}
241-
242-
/**
243-
* @param string $configToken
244-
*
245-
* @return JoinMeetingParameters
246-
*/
247-
public function setConfigToken($configToken)
248-
{
249-
$this->configToken = $configToken;
250-
251-
return $this;
252-
}
253-
254229
/**
255230
* @return string
256231
*/
@@ -366,16 +341,17 @@ public function setCustomParameter($paramName, $paramValue)
366341
public function getHTTPQuery()
367342
{
368343
$queries = [
369-
'meetingID' => $this->meetingId,
370-
'fullName' => $this->username,
371-
'password' => $this->password,
372-
'userID' => $this->userId,
373-
'webVoiceConf' => $this->webVoiceConf,
374-
'createTime' => $this->creationTime,
375-
'configToken' => $this->configToken,
376-
'avatarURL' => $this->avatarURL,
377-
'redirect' => $this->redirect ? 'true' : 'false',
378-
'clientURL' => $this->clientURL,
344+
'meetingID' => $this->meetingId,
345+
'fullName' => $this->username,
346+
'password' => $this->password,
347+
'userID' => $this->userId,
348+
'webVoiceConf' => $this->webVoiceConf,
349+
'createTime' => $this->creationTime,
350+
'role' => $this->role,
351+
'excludeFromDashboard' => $this->excludeFromDashboard ? 'true' : 'false',
352+
'avatarURL' => $this->avatarURL,
353+
'redirect' => $this->redirect ? 'true' : 'false',
354+
'clientURL' => $this->clientURL,
379355
];
380356

381357
foreach ($this->customParameters as $key => $value) {

tests/Parameters/JoinMeetingParametersTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public function testJoinMeetingParameters()
5151
$joinMeetingParams->setRole($newRole = $this->faker->randomElement(Role::getValues()));
5252
$joinMeetingParams->setPassword($newPassword = $this->faker->password);
5353
$joinMeetingParams->setExcludeFromDashboard($excludeFromDashboard = $this->faker->boolean);
54-
$joinMeetingParams->setConfigToken($configToken = $this->faker->md5);
5554
$joinMeetingParams->setAvatarURL($avatarUrl = $this->faker->url);
5655
$joinMeetingParams->setRedirect($redirect = $this->faker->boolean(50));
5756
$joinMeetingParams->setClientURL($clientUrl = $this->faker->url);
@@ -60,7 +59,6 @@ public function testJoinMeetingParameters()
6059
$this->assertEquals($newRole, $joinMeetingParams->getRole());
6160
$this->assertEquals($newPassword, $joinMeetingParams->getPassword());
6261
$this->assertEquals($excludeFromDashboard, $joinMeetingParams->isExcludeFromDashboard());
63-
$this->assertEquals($configToken, $joinMeetingParams->getConfigToken());
6462
$this->assertEquals($avatarUrl, $joinMeetingParams->getAvatarURL());
6563
$this->assertEquals($redirect, $joinMeetingParams->isRedirect());
6664
$this->assertEquals($clientUrl, $joinMeetingParams->getClientURL());

0 commit comments

Comments
 (0)