JWT (Json web token) Vs Custom Token

前端 未结 2 542
旧巷少年郎
旧巷少年郎 2021-02-05 05:05

I was looking through the questions but I did not find anything which could solve my doubt. I found extensive information about JWT, but not much when comparing the advantages J

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-05 05:24

    From Django REST framework documentation,

    JSON Web Token is a fairly new standard which can be used for token-based authentication. Unlike the built-in TokenAuthentication scheme, JWT Authentication doesn't need to use a database to validate a token.

提交回复
热议问题