Interface UserVerificationTokenDao
- All Known Implementing Classes:
BandanaUserVerificationTokenDao
public interface UserVerificationTokenDao
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearToken(String userName, UserVerificationTokenType tokenType) getToken(String userName, UserVerificationTokenType tokenType) getUsernamesByTokenType(UserVerificationTokenType tokenType) voidstoreToken(UserVerificationToken token)
-
Method Details
-
storeToken
-
getToken
@Transactional(readOnly=true) UserVerificationToken getToken(String userName, UserVerificationTokenType tokenType) -
clearToken
-
getUsernamesByTokenType
@Transactional(readOnly=true) Iterable<String> getUsernamesByTokenType(UserVerificationTokenType tokenType) - Parameters:
tokenType- the token type- Returns:
- a list of usernames for which tokens of this type are generated
- Since:
- 8.2.0
-