Skip to content

Commit 4370852

Browse files
authored
Merge pull request #231 from XeroAPI/sid-development
Update README.md
2 parents c6b98cc + 26d788c commit 4370852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* [Requirements](#requirements)
77
* [Installation and Usage](#installation-and-usage)
88
* [Getting Started](#getting-started)
9-
* [How to use the SDK](#how-to-use-the-xero-java-sdk)
9+
* [How to use the SDK](#how-to-use-the-sdk)
1010
* [Example Calls](#example-calls)
1111
* [Client credential grant type](#client-credential-grant-type)
1212
* [JWT decoding and Signup with Xero](#jwt-decoding-and-signup-with-xero)
@@ -511,7 +511,7 @@ The code below shows how to perform the OAuth 2 client credential grant flow. [
511511
try {
512512
// Try to get an access token using the client credentials grant.
513513
$accessToken = $provider->getAccessToken('client_credentials');
514-
var_dump($accessToken);
514+
echo($accessToken->getToken());
515515
} catch (\League\OAuth2\Client\Provider\Exception\IdentityProviderException $e) {
516516
// Failed to get the access token
517517
exit($e->getMessage());

0 commit comments

Comments
 (0)