com.vaadin.flow.internal.springcsrf.

Class SpringCsrfTokenUtil


  • public class SpringCsrfTokenUtil
    extends Object

    A util class for helping dealing with Spring CSRF token.

    • Method Detail

      • getSpringCsrfToken

        public static Optional<SpringCsrfToken> getSpringCsrfToken(javax.servlet.ServletRequest request)
      • addTokenAsMetaTagsToHeadIfPresentInRequest

        public static void addTokenAsMetaTagsToHeadIfPresentInRequest(org.jsoup.nodes.Element head,
                                                                      VaadinRequest request)