Skip to content

Commit

Permalink
Remove token instance setters from example
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Oct 4, 2023
1 parent ee1d489 commit fb753f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
// With frequent requests, re-using tokens results in less api requests than using user credentials only.
//
// $client->setAccessToken('someAccessTokenString');
// or $client->setAccessTokenInstance(new AccessToken($string, $expiration));
// $client->setRefreshToken('someRefreshToken');
// or $client->setRefreshTokenInstance($string, $expiration);

// 3. Execute the desired command
$response = $client->get('/events/', array('maxResults' => 2));
Expand Down

0 comments on commit fb753f3

Please sign in to comment.