All notable changes to this project will be documented in this file.
- Fixed: InvoiceService::validateCreditCard should pass a single parameter of the arguments as a struct. (#5)
- Added: Created a Token class that stores all information relating to a token.
- Added: Refresh token and end of life now stored alongside the access token.
- Added:
refreshAccessToken()refreshes the current access token. - Changed:
getToken()andsetToken()are nowgetTokenUri()andsetTokenUri(). The former function names now get/set the Token object. - Removed:
getAccessToken()andsetAccessToken()are no longer in theInfusionsoftclass. UsegetToken()and call the methods on the returnedTokenobject.
- Initial release