@@ 735-742 (lines=8) @@ | ||
732 | * @return \stdClass |
|
733 | * @throws TwitchException |
|
734 | */ |
|
735 | public function authBlockTarget($token, $user, $target) |
|
736 | { |
|
737 | $this->checkConfig(); |
|
738 | $queryString = $this->getAuthString($token); |
|
739 | $block = new Methods\Block($this->request); |
|
740 | ||
741 | return $block->blockTarget($user, $target, $queryString); |
|
742 | } |
|
743 | ||
744 | /** |
|
745 | * Removes $target from $user block list |
|
@@ 753-760 (lines=8) @@ | ||
750 | * @return \stdClass |
|
751 | * @throws TwitchException |
|
752 | */ |
|
753 | public function authRemoveTarget($token, $user, $target) |
|
754 | { |
|
755 | $this->checkConfig(); |
|
756 | $queryString = $this->getAuthString($token); |
|
757 | $block = new Methods\Block($this->request); |
|
758 | ||
759 | return $block->removeTarget($user, $target, $queryString); |
|
760 | } |
|
761 | ||
762 | /** |
|
763 | * Get the authenticated channel |