File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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());
You can’t perform that action at this time.
0 commit comments