public interface UserTokenService extends de.alpharogroup.service.domain.DomainService<Integer,UserToken>
UserTokenService.| Modifier and Type | Method and Description |
|---|---|
UserToken |
find(String username)
Find all token from the given user name.
|
List<UserToken> |
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.
|
UserToken find(String username)
username - the usernameUserTokens or null if no result.List<UserToken> 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.