You are here

protected function MoxtraService::getMeetingInfoUrl in Opigno Moxtra 8

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

Returns URL to get the meeting info.

Parameters

int $owner_id: User ID.

string $session_key: Session key of the Live Meeting.

Return value

string URL.

1 call to MoxtraService::getMeetingInfoUrl()
MoxtraService::getMeetingInfo in src/MoxtraService.php
Returns meeting info.

File

src/MoxtraService.php, line 199

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

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