Class ParRestWebService


  • @Path("/par")
    public class ParRestWebService
    extends Object
    Implementation based on https://datatracker.ietf.org/doc/html/draft-ietf-oauth-par-08
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • ParRestWebService

        public ParRestWebService()
    • Method Detail

      • requestPushedAuthorizationRequest

        @POST
        @Produces("application/json")
        public jakarta.ws.rs.core.Response requestPushedAuthorizationRequest​(@FormParam("scope")
                                                                             String scope,
                                                                             @FormParam("authorization_details")
                                                                             String authorizationDetails,
                                                                             @FormParam("response_type")
                                                                             String responseType,
                                                                             @FormParam("client_id")
                                                                             String clientId,
                                                                             @FormParam("redirect_uri")
                                                                             String redirectUri,
                                                                             @FormParam("state")
                                                                             String state,
                                                                             @FormParam("response_mode")
                                                                             String responseMode,
                                                                             @FormParam("nonce")
                                                                             String nonce,
                                                                             @FormParam("display")
                                                                             String display,
                                                                             @FormParam("prompt")
                                                                             String prompt,
                                                                             @FormParam("max_age")
                                                                             Integer maxAge,
                                                                             @FormParam("ui_locales")
                                                                             String uiLocales,
                                                                             @FormParam("id_token_hint")
                                                                             String idTokenHint,
                                                                             @FormParam("login_hint")
                                                                             String loginHint,
                                                                             @FormParam("acr_values")
                                                                             String acrValuesStr,
                                                                             @FormParam("amr_values")
                                                                             String amrValuesStr,
                                                                             @FormParam("request")
                                                                             String request,
                                                                             @FormParam("request_uri")
                                                                             String requestUri,
                                                                             @FormParam("session_id")
                                                                             String sessionId,
                                                                             @FormParam("origin_headers")
                                                                             String originHeaders,
                                                                             @FormParam("code_challenge")
                                                                             String codeChallenge,
                                                                             @FormParam("code_challenge_method")
                                                                             String codeChallengeMethod,
                                                                             @FormParam("nbf")
                                                                             String nbf,
                                                                             @FormParam("custom_response_headers")
                                                                             String customResponseHeaders,
                                                                             @FormParam("claims")
                                                                             String claims,
                                                                             @Context
                                                                             jakarta.servlet.http.HttpServletRequest httpRequest,
                                                                             @Context
                                                                             jakarta.servlet.http.HttpServletResponse httpResponse,
                                                                             @Context
                                                                             jakarta.ws.rs.core.SecurityContext securityContext)
      • unsupportedPutMethod

        @PUT
        public jakarta.ws.rs.core.Response unsupportedPutMethod()
      • unsupportedGetMethod

        @GET
        public jakarta.ws.rs.core.Response unsupportedGetMethod()
      • unsupportedHeadMethod

        @HEAD
        public jakarta.ws.rs.core.Response unsupportedHeadMethod()
      • unsupportedOptionsMethod

        @OPTIONS
        public jakarta.ws.rs.core.Response unsupportedOptionsMethod()