Class OAuth2EndpointUtils
java.lang.Object
com.broadleafcommerce.auth.authorization.service.OAuth2EndpointUtils
Copy of the class of the same name from Spring. Package protection precludes access from its
original location. Added methods to detect embedded login and refresh token flow.
-
Method Summary
Modifier and TypeMethodDescriptiongetParameters
(jakarta.servlet.http.HttpServletRequest request) static boolean
matchesAuthorizationCodeGrantRequest
(jakarta.servlet.http.HttpServletRequest request) static boolean
matchesEmbeddedAuthorizationRequest
(jakarta.servlet.http.HttpServletRequest request) static boolean
matchesEmbeddedRefreshGrantRequest
(jakarta.servlet.http.HttpServletRequest request) static boolean
matchesPkceTokenRequest
(jakarta.servlet.http.HttpServletRequest request) static boolean
matchesRefreshGrantRequest
(jakarta.servlet.http.HttpServletRequest request)
-
Method Details
-
getParameters
-
matchesEmbeddedAuthorizationRequest
public static boolean matchesEmbeddedAuthorizationRequest(jakarta.servlet.http.HttpServletRequest request) -
matchesEmbeddedRefreshGrantRequest
public static boolean matchesEmbeddedRefreshGrantRequest(jakarta.servlet.http.HttpServletRequest request) -
matchesRefreshGrantRequest
public static boolean matchesRefreshGrantRequest(jakarta.servlet.http.HttpServletRequest request) -
matchesAuthorizationCodeGrantRequest
public static boolean matchesAuthorizationCodeGrantRequest(jakarta.servlet.http.HttpServletRequest request) -
matchesPkceTokenRequest
public static boolean matchesPkceTokenRequest(jakarta.servlet.http.HttpServletRequest request)
-