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 theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.reactor.core.publisher.Mono<OAuth2AuthorizationRequest>Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.
-
Method Details
-
resolve
reactor.core.publisher.Mono<OAuth2AuthorizationRequest> resolve(org.springframework.web.server.ServerWebExchange exchange) Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
exchange- theServerWebExchange- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-
resolve
reactor.core.publisher.Mono<OAuth2AuthorizationRequest> resolve(org.springframework.web.server.ServerWebExchange exchange, String clientRegistrationId) Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
exchange- theServerWebExchangeclientRegistrationId- the client registration id- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-