Class OAuth2EndpointUtils

java.lang.Object
com.broadleafcommerce.auth.authorization.service.OAuth2EndpointUtils

public final class OAuth2EndpointUtils extends Object
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 Details

    • getParameters

      public static org.springframework.util.MultiValueMap<String,String> getParameters(jakarta.servlet.http.HttpServletRequest request)
    • 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)