You are here

protected function MoxtraService::getBinderListUrl in Opigno Moxtra 8

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

Returns URL to list the binders.

Parameters

int $owner_id: User ID.

Return value

string URL.

File

src/MoxtraService.php, line 91

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

protected function getBinderListUrl($owner_id) {
  $token = $this->moxtraConnector
    ->getToken($owner_id);
  return $this->moxtraConnector
    ->getUrl() . "/me/binders?access_token={$token}";
}