Interface ServerOAuth2AuthorizationRequestResolver
-
- All Known Implementing Classes:
DefaultServerOAuth2AuthorizationRequestResolver
public interface ServerOAuth2AuthorizationRequestResolverImplementations of this interface are capable of resolving anOAuth2AuthorizationRequestfrom the providedServerWebExchange. Used by theOAuth2AuthorizationRequestRedirectWebFilterfor resolving Authorization Requests.- Since:
- 5.1
- See Also:
OAuth2AuthorizationRequest,OAuth2AuthorizationRequestRedirectWebFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>resolve(org.springframework.web.server.ServerWebExchange exchange)Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest>resolve(org.springframework.web.server.ServerWebExchange exchange, java.lang.String clientRegistrationId)Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.
-
-
-
Method Detail
-
resolve
reactor.core.publisher.Mono<org.springframework.security.oauth2.core.endpoint.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<org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest> resolve(org.springframework.web.server.ServerWebExchange exchange, java.lang.String clientRegistrationId)Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
exchange- theServerWebExchangeclientRegistrationId- the client registration id- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-
-