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:
-
Method Summary
Modifier and TypeMethodDescriptionresolve(jakarta.servlet.http.HttpServletRequest request) Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.
-
Method Details
-
resolve
Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
request- theHttpServletRequest- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-
resolve
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
-