public interface TokenServiceLocal extends TokenService, org.cyclos.impl.CRUDServiceLocal<Token,TokenDTO,TokenData,TokenDataParams>
TokenService| Modifier and Type | Method and Description |
|---|---|
long |
expireTokens()
Takes all the tokens and switches their statuses to EXPIRED or ACTIVATION_EXPIRED for those
who meet the conditions of these statuses.
|
Token |
firstActive(User user,
TokenPrincipalType type)
Returns the first token for the given user, whose status is
TokenStatus.ACTIVE |
java.util.List<TokenType> |
getReceiveTokenTypes()
Returns a list with the token types used for receive payments
|
void |
validateNFCChallenge(java.lang.String challenge)
Validates the challenge received from a NFC tag/device ensuring it's the same as the previously generated by
Cyclos.
|
activateNFCDevice, activateNFCTag, activatePending, assign, block, cancel, cancelNFCDevice, cancelNFCTag, getActivateNFCDeviceData, getActivateNFCTagData, getListData, getSearchData, requestForExternalAuthenticate, requestNewOTPForActivateNFCTag, search, unblockfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, savelong expireTokens()
throws FrameworkException
FrameworkExceptionToken firstActive(User user, TokenPrincipalType type) throws FrameworkException
TokenStatus.ACTIVEFrameworkExceptionjava.util.List<TokenType> getReceiveTokenTypes() throws FrameworkException
FrameworkExceptionvoid validateNFCChallenge(java.lang.String challenge)
throws FrameworkException
challenge - the HEXA string send back by a NFC tag/device.FrameworkException