密码重置期间 DJANGO 中生成的令牌存储在哪里

Where is the generated token in DJANGO stored during password reset

当我请求 "forgotten password" 功能时,我试图访问生成的令牌(在数据库 table 中),但我似乎找不到它。

我正在使用 django 1.10rest_frameworkdjango-rest-auth。我已经在 authtoken_tokenaccount_emailconfirmation table 内部进行了检查,但没有成功。

在 github 中,源代码在 python 中将此引用为 token_model 我认为 https://github.com/Tivix/django-rest-auth/blob/master/rest_auth/utils.py

它不会存储在除用户电子邮件以外的任何地方。当用户单击由 PasswordResetTokenGenerator to obtain timestamp. With this timestamp PasswordResetTokenGenerator generate NEW token. And compare this new token with provided by user, see check_token 方法解析的 link 令牌时。