We have had a developer build a class for the Sage One API. Currently it requires a user sign in for each and every API request. We need a developer to modify the class to include a method to request a 'refresh token' continuously, to avoid needing a user to login each and every time a user makes a request.
I envisage that a solution would be something like:
- Store the Token in DB, before expiry run a refresh token request and store in DB.
- If token has expired for any reason and a login is required, email a link to the admin to login and save a token.
You can fin details of the API here.
[login to view URL]
In your proposal please state that you have looked at the above URL and what your plan is to implement the toke refresh.
I can supply the current class on request.