JS how to know when auth jwt token is expired?

前端 未结 0 2038
迷失自我
迷失自我 2020-12-13 08:03

How can I simulate that the auth token in local storage is expired?

This is the jwt:

export function parseJwt(token) {
  const base64Url = token.split(         


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