Class PasswordResetTokenGenerator
 Strategy object used to generate and check tokens for the password reset mechanism. 
Declaration
class PasswordResetTokenGenerator
source linkDocumentation
Methods
▷ def check_token(self, user, token)  Check that a password reset token is correct for a given user. 
 ▷ def make_token(self, user)  Return a token that can be used once to do a password reset for the given user.