angularjs - In a asp.net web api + angular, with refresh tokens... how do I automatically request a token before it expires -


i started using this tutorial create application sample, uses refresh tokens. in application, user have click in button access token , refresh new token. wish application automatically request new refresh token before expires. how can this?

you should typically keep track of time token expire , request new token before expiration occurs. requesting in oauth2.0 acceptable.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -