protected function MoxtraService::getRemoveUserUrl in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getRemoveUserUrl()
Returns URL to remove the user from the binder.
Parameters
int $owner_id: User ID.
string $binder_id: Binder ID.
Return value
string URL.
1 call to MoxtraService::getRemoveUserUrl()
- MoxtraService::removeUserFromWorkspace in src/
MoxtraService.php - Removes users from the workspace.
File
- src/
MoxtraService.php, line 183
Class
- MoxtraService
- Implements Moxtra REST API.
Namespace
Drupal\opigno_moxtraCode
protected function getRemoveUserUrl($owner_id, $binder_id) {
$token = $this->moxtraConnector
->getToken($owner_id);
return $this->moxtraConnector
->getUrl() . "/v1/{$binder_id}/removeuser?access_token={$token}";
}