I am using the restify-oauth2 repo from here: https://github.com/domenic/restify-oauth2
In the readme it mentions tokenExpirationTime
but never tells how to use it. Here is all it says about it:
- tokenExpirationTime: the value returned for the expires_in component of the response from the token endpoint. Note that this is only the value reported; you are responsible for keeping track of token expiration yourself and calling back with false from authenticateToken when the token expires. Defaults to Infinity.
If someone could point me in the right direction or knows how to use this that would be much appreciated. Thanks in advance!