Handling Token in ionic

I added authClient.tokenManager.add(‘name’, token); but that token gets expired at certain time. And application gets closed. 2nd OAuthService doesn’t have any tokenManager functionalities so how to play with it.