Interface ServerAuthorizationRequestRepository<T extends org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<T> loadAuthorizationRequest​(org.springframework.web.server.ServerWebExchange exchange)
      Returns the OAuth2AuthorizationRequest associated to the provided HttpServletRequest or null if not available.
      reactor.core.publisher.Mono<T> removeAuthorizationRequest​(org.springframework.web.server.ServerWebExchange exchange)
      Removes and returns the OAuth2AuthorizationRequest associated to the provided HttpServletRequest or if not available returns null.
      reactor.core.publisher.Mono<java.lang.Void> saveAuthorizationRequest​(T authorizationRequest, org.springframework.web.server.ServerWebExchange exchange)
      Persists the OAuth2AuthorizationRequest associating it to the provided HttpServletRequest and/or HttpServletResponse.
    • Method Detail

      • loadAuthorizationRequest

        reactor.core.publisher.Mono<T> loadAuthorizationRequest​(org.springframework.web.server.ServerWebExchange exchange)
        Returns the OAuth2AuthorizationRequest associated to the provided HttpServletRequest or null if not available.
        Parameters:
        exchange - the ServerWebExchange
        Returns:
        the OAuth2AuthorizationRequest or null if not available
      • saveAuthorizationRequest

        reactor.core.publisher.Mono<java.lang.Void> saveAuthorizationRequest​(T authorizationRequest,
                                                                             org.springframework.web.server.ServerWebExchange exchange)
        Persists the OAuth2AuthorizationRequest associating it to the provided HttpServletRequest and/or HttpServletResponse.
        Parameters:
        authorizationRequest - the OAuth2AuthorizationRequest
        exchange - the ServerWebExchange
      • removeAuthorizationRequest

        reactor.core.publisher.Mono<T> removeAuthorizationRequest​(org.springframework.web.server.ServerWebExchange exchange)
        Removes and returns the OAuth2AuthorizationRequest associated to the provided HttpServletRequest or if not available returns null.
        Parameters:
        exchange - the ServerWebExchange
        Returns:
        the removed OAuth2AuthorizationRequest or null if not available