public final class WebSessionOAuth2ServerAuthorizationRequestRepository extends java.lang.Object implements ServerAuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>
ServerAuthorizationRequestRepository that stores
OAuth2AuthorizationRequest in the WebSession.AuthorizationRequestRepository,
OAuth2AuthorizationRequest| Constructor and Description |
|---|
WebSessionOAuth2ServerAuthorizationRequestRepository() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> |
loadAuthorizationRequest(org.springframework.web.server.ServerWebExchange exchange)
Returns the
OAuth2AuthorizationRequest associated to the provided
HttpServletRequest or null if not available. |
reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> |
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(org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest authorizationRequest,
org.springframework.web.server.ServerWebExchange exchange)
Persists the
OAuth2AuthorizationRequest associating it to the provided
HttpServletRequest and/or HttpServletResponse. |
public WebSessionOAuth2ServerAuthorizationRequestRepository()
public reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> loadAuthorizationRequest(org.springframework.web.server.ServerWebExchange exchange)
ServerAuthorizationRequestRepositoryOAuth2AuthorizationRequest associated to the provided
HttpServletRequest or null if not available.loadAuthorizationRequest in interface ServerAuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>exchange - the ServerWebExchangeOAuth2AuthorizationRequest or null if not availablepublic reactor.core.publisher.Mono<java.lang.Void> saveAuthorizationRequest(org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest authorizationRequest,
org.springframework.web.server.ServerWebExchange exchange)
ServerAuthorizationRequestRepositoryOAuth2AuthorizationRequest associating it to the provided
HttpServletRequest and/or HttpServletResponse.saveAuthorizationRequest in interface ServerAuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>authorizationRequest - the OAuth2AuthorizationRequestexchange - the ServerWebExchangepublic reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> removeAuthorizationRequest(org.springframework.web.server.ServerWebExchange exchange)
ServerAuthorizationRequestRepositoryOAuth2AuthorizationRequest associated to the
provided HttpServletRequest or if not available returns null.removeAuthorizationRequest in interface ServerAuthorizationRequestRepository<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>exchange - the ServerWebExchangeOAuth2AuthorizationRequest or null if not
available