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 theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.
-
Method Details
-
resolve
Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.- Parameters:
request
- theHttpServletRequest
- Returns:
- the resolved
OAuth2AuthorizationRequest
ornull
if not available
-
resolve
OAuth2AuthorizationRequest resolve(jakarta.servlet.http.HttpServletRequest request, String clientRegistrationId) Returns theOAuth2AuthorizationRequest
resolved from the providedHttpServletRequest
ornull
if not available.- Parameters:
request
- theHttpServletRequest
clientRegistrationId
- the clientRegistrationId to use- Returns:
- the resolved
OAuth2AuthorizationRequest
ornull
if not available
-