Interface TokenRestWebService

  • All Known Implementing Classes:
    TokenRestWebServiceImpl

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response requestAccessToken​(java.lang.String grantType, java.lang.String code, java.lang.String redirectUri, java.lang.String username, java.lang.String password, java.lang.String scope, java.lang.String assertion, java.lang.String refreshToken, java.lang.String clientId, java.lang.String clientSecret, java.lang.String codeVerifier, java.lang.String ticket, java.lang.String claimToken, java.lang.String claimTokenFormat, java.lang.String pctCode, java.lang.String rptCode, java.lang.String authReqId, java.lang.String deviceCode, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.ws.rs.core.SecurityContext sec)  
    • Method Detail

      • requestAccessToken

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