public interface UserTokensService extends de.alpharogroup.db.service.api.BusinessService<de.alpharogroup.user.entities.UserTokens,Integer>
UserTokensService.| Modifier and Type | Method and Description |
|---|---|
de.alpharogroup.user.entities.UserTokens |
find(String username)
Find all token from the given user name.
|
List<de.alpharogroup.user.entities.UserTokens> |
findAll(String username)
Find all token from the given user name.
|
String |
getAutheticationToken(String username)
Gets the authetication token from the given user name.
|
boolean |
isValid(String token)
Checks if the given token is valid.
|
String |
newAuthenticationToken(String username)
Factory method that creates a new authentication token from the given user name.
|
de.alpharogroup.user.entities.UserTokens find(String username)
username - the usernameUserTokens or null if no result.List<de.alpharogroup.user.entities.UserTokens> findAll(String username)
username - the usernameString getAutheticationToken(String username)
username - the usernameboolean isValid(String token)
token - the token to validateCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.