Description
SDK you're using (please complete the following information):
- [2.23.0]
Describe the bug
Use of the JWT functions throws deprecation errors
To Reproduce
Steps to reproduce the behaviour:
- install xero-php-oauth2-starter & dependancies
- run the demo project
- authenticate with Xero
- Click the menu option for "JWT Claims"
- Errors are shown before the desired information
Deprecated: Creation of dynamic property XeroAPI\XeroPHP\JWTClaims::$accessToken is deprecated in /Users/mymac/Sites/CKM/vendor/xeroapi/xero-php-oauth2/lib/JWTClaims.php on line 139
Deprecated: Creation of dynamic property XeroAPI\XeroPHP\JWTClaims::$jwtAccessDecoded is deprecated in /Users/sarahking/mymac/CKM/vendor/xeroapi/xero-php-oauth2/lib/JWTClaims.php on line 126
Expected behaviour
I expected to get an errorless dump of the JWT Token
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This can obviously be ignored but it would be good to get the code upgraded at some point.