You are here

protected function MoxtraService::getUpdateMeetingUrl in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getUpdateMeetingUrl()

Returns URL to update the meeting.

Parameters

int $owner_id: User ID.

string $session_key: Session key of the Live Meeting.

Return value

string URL.

1 call to MoxtraService::getUpdateMeetingUrl()
MoxtraService::updateMeeting in src/MoxtraService.php
Updates meeting.

File

src/MoxtraService.php, line 229

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

protected function getUpdateMeetingUrl($owner_id, $session_key) {
  $token = $this->moxtraConnector
    ->getToken($owner_id);
  return $this->moxtraConnector
    ->getUrl() . "/v1/meets/{$session_key}?access_token={$token}";
}