Interface TokenRestWebService

  • All Known Implementing Classes:
    TokenRestWebServiceImpl

    public interface TokenRestWebService
    Provides interface for token REST web services
    Author:
    Javier Rojas Blum, Yuriy Zabrovarnyy
    • Method Detail

      • requestAccessToken

        @POST
        @Path("/token")
        @Produces("application/json")
        jakarta.ws.rs.core.Response requestAccessToken​(@FormParam("grant_type")
                                                       String grantType,
                                                       @FormParam("code")
                                                       String code,
                                                       @FormParam("redirect_uri")
                                                       String redirectUri,
                                                       @FormParam("username")
                                                       String username,
                                                       @FormParam("password")
                                                       String password,
                                                       @FormParam("scope")
                                                       String scope,
                                                       @FormParam("authorization_details")
                                                       String authorizationDetails,
                                                       @FormParam("assertion")
                                                       String assertion,
                                                       @FormParam("refresh_token")
                                                       String refreshToken,
                                                       @FormParam("client_id")
                                                       String clientId,
                                                       @FormParam("client_secret")
                                                       String clientSecret,
                                                       @FormParam("code_verifier")
                                                       String codeVerifier,
                                                       @FormParam("ticket")
                                                       String ticket,
                                                       @FormParam("claim_token")
                                                       String claimToken,
                                                       @FormParam("claim_token_format")
                                                       String claimTokenFormat,
                                                       @FormParam("pct")
                                                       String pctCode,
                                                       @FormParam("rpt")
                                                       String rptCode,
                                                       @FormParam("auth_req_id")
                                                       String authReqId,
                                                       @FormParam("device_code")
                                                       String deviceCode,
                                                       @Context
                                                       jakarta.servlet.http.HttpServletRequest request,
                                                       @Context
                                                       jakarta.servlet.http.HttpServletResponse response,
                                                       @Context
                                                       jakarta.ws.rs.core.SecurityContext sec)