jwt : 服务器端不保存token, 用户后续访问,服务端拿到token 做算法验证
pip3 install pyjwt
pyjwt.encode()
pyjwt.decode()
三段
https://www.cnblogs.com/wupeiqi