1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Document JdbcOneTimeTokenService

Issue gh-15735
This commit is contained in:
Rob Winch
2024-10-02 14:40:40 -05:00
parent c3a5ae1254
commit f002fedb73
@@ -412,6 +412,7 @@ class MagicLinkGeneratedOneTimeTokenSuccessHandler : GeneratedOneTimeTokenHandle
The interface that define the common operations for generating and consuming one-time tokens is the javadoc:org.springframework.security.authentication.ott.OneTimeTokenService[].
Spring Security uses the javadoc:org.springframework.security.authentication.ott.InMemoryOneTimeTokenService[] as the default implementation of that interface, if none is provided.
For production environments consider using javadoc:org.springframework.security.authentication.ott.JdbcOneTimeTokenService[].
Some of the most common reasons to customize the `OneTimeTokenService` are, but not limited to: