Angular 9: Guard which calls API to check if session did not expire

前端 未结 0 1431
挽巷
挽巷 2021-01-06 04:05

On some pages in my Angular app, I want to validate the session is not expired.

I have token in local storage, so in AuthService I have:

isUserAuthenti         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题