Interface OAuth2AuthorizationRequestResolver
-
- All Known Implementing Classes:
DefaultOAuth2AuthorizationRequestResolver
public interface OAuth2AuthorizationRequestResolverImplementations of this interface are capable of resolving anOAuth2AuthorizationRequestfrom the providedHttpServletRequest. Used by theOAuth2AuthorizationRequestRedirectFilterfor resolving Authorization Requests.- Since:
- 5.1
- See Also:
OAuth2AuthorizationRequest,OAuth2AuthorizationRequestRedirectFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequestresolve(javax.servlet.http.HttpServletRequest request)Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequestresolve(javax.servlet.http.HttpServletRequest request, java.lang.String clientRegistrationId)Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.
-
-
-
Method Detail
-
resolve
org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest resolve(javax.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(javax.servlet.http.HttpServletRequest request, java.lang.String clientRegistrationId)Returns theOAuth2AuthorizationRequestresolved from the providedHttpServletRequestornullif not available.- Parameters:
request- theHttpServletRequestclientRegistrationId- the clientRegistrationId to use- Returns:
- the resolved
OAuth2AuthorizationRequestornullif not available
-
-