Interface ServerOAuth2AuthorizationRequestResolver
- All Known Implementing Classes:
DefaultServerOAuth2AuthorizationRequestResolver
public interface ServerOAuth2AuthorizationRequestResolver
Implementations of this interface are capable of resolving an
OAuth2AuthorizationRequest
from the provided ServerWebExchange
. Used by
the OAuth2AuthorizationRequestRedirectWebFilter
for resolving Authorization
Requests.- Since:
- 5.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<OAuth2AuthorizationRequest>
resolve
(org.springframework.web.server.ServerWebExchange exchange) Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.reactor.core.publisher.Mono<OAuth2AuthorizationRequest>
Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.
-
Method Details
-
resolve
reactor.core.publisher.Mono<OAuth2AuthorizationRequest> resolve(org.springframework.web.server.ServerWebExchange exchange) Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.- Parameters:
exchange
- theServerWebExchange
- Returns:
- the resolved
OAuth2AuthorizationRequest
ornull
if not available
-
resolve
reactor.core.publisher.Mono<OAuth2AuthorizationRequest> resolve(org.springframework.web.server.ServerWebExchange exchange, String clientRegistrationId) Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.- Parameters:
exchange
- theServerWebExchange
clientRegistrationId
- the client registration id- Returns:
- the resolved
OAuth2AuthorizationRequest
ornull
if not available
-