Class ParEndpoint

java.lang.Object
org.keycloak.protocol.oidc.par.endpoints.AbstractParEndpoint
org.keycloak.protocol.oidc.par.endpoints.ParEndpoint

public class ParEndpoint extends AbstractParEndpoint
Pushed Authorization Request endpoint
  • Field Details

    • PAR_CREATED_TIME

      public static final String PAR_CREATED_TIME
      See Also:
    • REQUEST_URI_PREFIX_LENGTH

      public static final int REQUEST_URI_PREFIX_LENGTH
  • Constructor Details

  • Method Details

    • parUrl

      public static jakarta.ws.rs.core.UriBuilder parUrl(jakarta.ws.rs.core.UriBuilder baseUriBuilder)
    • request

      @Path("/") @POST @Consumes("application/x-www-form-urlencoded") @Produces("application/json") public jakarta.ws.rs.core.Response request()
    • flattenDecodedFormParametersToParamsMap

      public static void flattenDecodedFormParametersToParamsMap(jakarta.ws.rs.core.MultivaluedMap<String,String> decodedFormParameters, Map<String,String> params)
      Flattens the given decodedFormParameters MultivaluedMap to a plain Map. Rationale: The SingleUseObjectProvider used as store for PARs only accepts Map so that MultivaluedMap needs to be converted to Map.
      Parameters:
      decodedFormParameters - form parameters sent in request body
      params - target parameter Map