Interface OAuth2AuthorizationRequestResolver
- All Known Implementing Classes:
DefaultOAuth2AuthorizationRequestResolver
public interface OAuth2AuthorizationRequestResolver
Implementations of this interface are capable of resolving an
OAuth2AuthorizationRequest from the provided HttpServletRequest. Used
by the OAuth2AuthorizationRequestRedirectFilter for resolving Authorization
Requests.- Since:
- 5.1
- See Also:
-
OAuth2AuthorizationRequestOAuth2AuthorizationRequestRedirectFilter
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequestresolve(jakarta.servlet.http.HttpServletRequest request) Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequestReturns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.
-
Method Details
-
resolve
org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest resolve(jakarta.servlet.http.HttpServletRequest request) Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
request- theHttpServletRequest- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-
resolve
org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest resolve(jakarta.servlet.http.HttpServletRequest request, String clientRegistrationId) Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
request- theHttpServletRequestclientRegistrationId- the clientRegistrationId to use- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-