Interface CSRFTokenProvider


public interface CSRFTokenProvider
This SPI can be implemented by modules to provide CSRF tokens that will be included in all forms.
  • Method Summary

    Modifier and Type
    Method
    Description
    getToken(jakarta.servlet.http.HttpServletRequest request)
    Returns the CSRF token or null if there is no token to include.
  • Method Details

    • getToken

      CSRFToken getToken(jakarta.servlet.http.HttpServletRequest request)
      Returns the CSRF token or null if there is no token to include.