Uses of Class
com.ericbouchut.learndev.auth.entity.PasswordResetToken
Packages that use PasswordResetToken
-
Uses of PasswordResetToken in com.ericbouchut.learndev.auth
Methods in com.ericbouchut.learndev.auth that return types with arguments of type PasswordResetTokenModifier and TypeMethodDescriptionPasswordResetService.findUsableToken(String rawToken) Returns the token entity when the raw token is valid (exists, not expired, not used). -
Uses of PasswordResetToken in com.ericbouchut.learndev.auth.repository
Methods in com.ericbouchut.learndev.auth.repository that return types with arguments of type PasswordResetTokenModifier and TypeMethodDescriptionPasswordResetTokenRepository.findByToken(String tokenHash) Lookup by the SHA-256 hash of the raw token.PasswordResetTokenRepository.findByUserAndUsedAtIsNull(User user) Outstanding (not yet consumed) tokens of a user, for invalidation.