Interface UserVerificationTokenDao
-
- All Known Implementing Classes:
BandanaUserVerificationTokenDao
public interface UserVerificationTokenDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearToken(String userName, UserVerificationTokenType tokenType)
UserVerificationToken
getToken(String userName, UserVerificationTokenType tokenType)
Iterable<String>
getUsernamesByTokenType(UserVerificationTokenType tokenType)
void
storeToken(UserVerificationToken token)
-
-
-
Method Detail
-
storeToken
@Transactional void storeToken(UserVerificationToken token)
-
getToken
@Transactional(readOnly=true) UserVerificationToken getToken(String userName, UserVerificationTokenType tokenType)
-
clearToken
@Transactional void clearToken(String userName, UserVerificationTokenType tokenType)
-
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
-
-