Class ParRestWebService


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response requestPushedAuthorizationRequest​(java.lang.String scope, java.lang.String responseType, java.lang.String clientId, java.lang.String redirectUri, java.lang.String state, java.lang.String responseMode, java.lang.String nonce, java.lang.String display, java.lang.String prompt, java.lang.Integer maxAge, java.lang.String uiLocales, java.lang.String idTokenHint, java.lang.String loginHint, java.lang.String acrValuesStr, java.lang.String amrValuesStr, java.lang.String request, java.lang.String requestUri, java.lang.String sessionId, java.lang.String originHeaders, java.lang.String codeChallenge, java.lang.String codeChallengeMethod, java.lang.String customResponseHeaders, java.lang.String claims, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, javax.ws.rs.core.SecurityContext securityContext)  
      javax.ws.rs.core.Response unsupportedGetMethod()  
      javax.ws.rs.core.Response unsupportedHeadMethod()  
      javax.ws.rs.core.Response unsupportedOptionsMethod()  
      javax.ws.rs.core.Response unsupportedPutMethod()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParRestWebService

        public ParRestWebService()
    • Method Detail

      • requestPushedAuthorizationRequest

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

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

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

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

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