diff --git a/src/OAuth/SessionClient.php b/src/OAuth/SessionClient.php index 38ed4f8..9625d41 100644 --- a/src/OAuth/SessionClient.php +++ b/src/OAuth/SessionClient.php @@ -44,11 +44,13 @@ public function query(string $session) * @throws \GuzzleHttp\Exception\GuzzleException * @return array|\Psr\Http\Message\ResponseInterface */ - public function scope(string $session, string $bid) + public function scope(string $session, string $bid, int $offset = 0, int $limit = 500) { return $this->httpGet('router/oauth/session/scope', [ 'session' => $session, 'bid' => $bid, + 'offset' => $offset, + 'limit' => $limit, ]); } }