I've reintegrated the global functions expired (renamed to isExpired) and getSessionToken into the AccessToken factory and made the tokenStorage an object of the factory as well.
The background is that I'm using the services without the directive and I needed a different token storage.
Further on there were two missing node modules for the unit tests and I let my IDE reformat the code to a consistent code style.
First of: thanks for your work james!
I've reintegrated the global functions
expired
(renamed toisExpired
) andgetSessionToken
into theAccessToken
factory and made thetokenStorage
an object of the factory as well.The background is that I'm using the services without the directive and I needed a different token storage.
Further on there were two missing node modules for the unit tests and I let my IDE reformat the code to a consistent code style.