public interface TokenServiceLocal extends TokenService, CRUDServiceLocal<Token,TokenDTO,TokenData,TokenDataParams>
TokenService| Modifier and Type | Method and Description |
|---|---|
void |
cancel(Token token) |
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 |
void |
generateOnRegistrationTokens(User user)
Generates the tokens that are configured to be generated upon registration
|
byte[] |
getKeyMask(NFCToken nfcToken)
Returns the key mask used to encrypt/decrypt the nfc token's keys (AMK and Operational)
|
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.
|
activatePending, assign, block, cancel, cancelNFCToken, exportToCSV, getInitializeNFCTagData, getListData, getPersonalizeNFCTagData, getSearchData, initializeNFCTag, personalizeNFCTag, requestForExternalAuthenticate, requestNewOTPForPersonalizeNFCTag, search, unblockfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, savevoid cancel(Token token)
TokenService.cancel(Long)long expireTokens()
Token firstActive(User user, TokenPrincipalType type)
TokenStatus.ACTIVEvoid generateOnRegistrationTokens(User user)
byte[] getKeyMask(NFCToken nfcToken)
java.util.List<TokenType> getReceiveTokenTypes()
void validateNFCChallenge(java.lang.String challenge)
challenge - the HEXA string send back by a NFC tag/device.