public interface OAuth2AuthorizationRequestResolver
OAuth2AuthorizationRequest
from the provided HttpServletRequest
. Used
by the OAuth2AuthorizationRequestRedirectFilter
for resolving Authorization
Requests.OAuth2AuthorizationRequest
,
OAuth2AuthorizationRequestRedirectFilter
Modifier and Type | Method and Description |
---|---|
OAuth2AuthorizationRequest |
resolve(javax.servlet.http.HttpServletRequest request)
Returns the
OAuth2AuthorizationRequest resolved from the provided
HttpServletRequest or null if not available. |
OAuth2AuthorizationRequest |
resolve(javax.servlet.http.HttpServletRequest request,
java.lang.String clientRegistrationId)
Returns the
OAuth2AuthorizationRequest resolved from the provided
HttpServletRequest or null if not available. |
OAuth2AuthorizationRequest resolve(javax.servlet.http.HttpServletRequest request)
OAuth2AuthorizationRequest
resolved from the provided
HttpServletRequest
or null
if not available.request
- the HttpServletRequest
OAuth2AuthorizationRequest
or null
if not
availableOAuth2AuthorizationRequest resolve(javax.servlet.http.HttpServletRequest request, java.lang.String clientRegistrationId)
OAuth2AuthorizationRequest
resolved from the provided
HttpServletRequest
or null
if not available.request
- the HttpServletRequest
clientRegistrationId
- the clientRegistrationId to useOAuth2AuthorizationRequest
or null
if not
available