Uses of Record Class
com.irurueta.authserver.authorization.domain.account.AccountToken
Packages that use AccountToken
Package
Description
Account lifecycle: registration, e-mail verification, password change and reset.
PostgreSQL implementation of the account token port, over the
account_tokens table.-
Uses of AccountToken in com.irurueta.authserver.authorization.domain.account
Methods in com.irurueta.authserver.authorization.domain.account that return types with arguments of type AccountTokenModifier and TypeMethodDescriptionConsumes a token: finds an unused, unexpired token with the given hash and purpose and marks it as used, in one atomic step, so that two concurrent calls can never both succeed.AccountTokenRepository.findUsable(String hashedToken, String purpose, Instant now) Finds an unused, unexpired token with the given hash and purpose, without consuming it, so that a caller can run every check before spending the token.Methods in com.irurueta.authserver.authorization.domain.account with parameters of type AccountTokenModifier and TypeMethodDescriptionvoidAccountTokenRepository.store(AccountToken token) Stores a new token. -
Uses of AccountToken in com.irurueta.authserver.authorization.infrastructure.persistence.account
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.account that return AccountTokenModifier and TypeMethodDescriptionMaps the current row.Methods in com.irurueta.authserver.authorization.infrastructure.persistence.account that return types with arguments of type AccountTokenModifier and TypeMethodDescriptionJdbcAccountTokenRepository.findUsable(String hashedToken, String purpose, Instant now) Methods in com.irurueta.authserver.authorization.infrastructure.persistence.account with parameters of type AccountToken