Hello,
I noticed that in the documentation for the org.springframework.security.web.server.csrf package, there is no description for CsrfToken. I hope this can be helpful in some way.
Comment From: marcusdacoregio
Hi, @MathBergamo.
What version is that API doc? At least in all supported versions, it is already fixed https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/web/csrf/package-summary.html (change current to the version you want to check). With that said, I'll close this as solved.