Interface CsrfInterface

All Known Implementing Classes:
CsrfService

@Component public interface CsrfInterface
CSRF Service Interface
Since:
2024-03-16
Version:
1.1.1
Author:
SKN
Use Case:
Spring Boot Reactive
Dedicated To:
Logno, Atoshi and My Parents
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<org.springframework.security.web.server.csrf.CsrfToken>
    csrfRouteGetRequest(org.springframework.security.web.server.csrf.CsrfToken token)
    Method to get the CSRF token as response of GET request
  • Method Details

    • csrfRouteGetRequest

      reactor.core.publisher.Mono<org.springframework.security.web.server.csrf.CsrfToken> csrfRouteGetRequest(org.springframework.security.web.server.csrf.CsrfToken token) throws Exception
      Method to get the CSRF token as response of GET request
      Parameters:
      token - a CsrfToken as parameter
      Returns:
      a Mono of CsrfToken as a response
      Throws:
      Exception - an exception if CsrfToken GET request fails
      Since:
      v1.0.0