spring-security
spring-security copied to clipboard
Provide AbstractOneTimeTokenService
To reduce code duplication between InMemoryOneTimeTokenService and JdbcOneTimeTokenService, need to separate out the shared code in AbstractOneTimeTokenService. This class can be made part of public API so that developers can create their own implementations based on existing logic.