LauLamanApps / iZettleApi

iZettle Api php intergration
MIT License
12 stars 15 forks source link

Added support for Assertion Grant #47

Closed roelofr closed 3 years ago

roelofr commented 3 years ago

Added a getAccessTokenFromApiTokenAssertion method to log in with API tokens.

It doesn't support refresh tokens, so I made that optional and added a check to ensure only access tokens with refresh tokens are renewed.

Closes #44