Package io.jans.as.server.token.ws.rs
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(String grantType, String code, String redirectUri, String username, String password, String scope, String authorizationDetails, String assertion, String refreshToken, String clientId, String clientSecret, String codeVerifier, String ticket, String claimToken, String claimTokenFormat, String pctCode, String rptCode, String authReqId, 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") 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)
-
-