Interface ServerCsrfTokenRequestHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void handle​(org.springframework.web.server.ServerWebExchange exchange, reactor.core.publisher.Mono<CsrfToken> csrfToken)
      Handles a request using a CsrfToken.
      default reactor.core.publisher.Mono<java.lang.String> resolveCsrfTokenValue​(org.springframework.web.server.ServerWebExchange exchange, CsrfToken csrfToken)
      Returns the token value resolved from the provided ServerWebExchange and CsrfToken or Mono.empty() if not available.
    • Method Detail

      • handle

        void handle​(org.springframework.web.server.ServerWebExchange exchange,
                    reactor.core.publisher.Mono<CsrfToken> csrfToken)
        Handles a request using a CsrfToken.
        Parameters:
        exchange - the ServerWebExchange with the request being handled
        csrfToken - the Mono<CsrfToken> created by the ServerCsrfTokenRepository