Setting JWT Token and User Auth and Role based with Redux Toolkit and Typescript

前端 未结 0 1603
离开以前
离开以前 2021-01-18 09:58

Back at school i did this piece of code to validate tokens, users role and user auth: Auth Token:

const setAuthToken = token => {
  if (token) {
    //appl         


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