public function getToken($id)
    {
        $result = $this->request('GET', '/tokens/' . $id);

        return $this->objectConverter->convert($result);
    }
public function getToken($id)
    {
        $result = $this->request('GET', '/tokens/' . $id);

        return $this->objectConverter->convert($result);
    }
public function getToken ( $ id ) { $ result = $ this -> request ( 'GET' , '/tokens/' . $ id ) ; return $ this -> objectConverter -> convert ( $ result ) ; }
Returns the token by id.

@param  string $id
@return Token

@throws RequestException
Returns the token by id .