itsdangerous 产生token
摘要:
import itsdangerous #产生token def create_token(data,expires_time=3600): salt = '!@#' t = itsdangerous.TimedJSONWebSignatureSerializer(salt,expires_in=expires_time) # 产生一个token res = t... 阅读全文
posted @ 2019-06-01 13:51 dongxl 阅读(159) 评论(0) 推荐(0) 编辑