Package io.jans.as.server.token.ws.rs
Class TxTokenService
java.lang.Object
io.jans.as.server.token.ws.rs.TxTokenService
- Author:
- Yuriy Z
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.json.JSONObjectcreateResponse(String txToken) jakarta.ws.rs.core.Response.ResponseBuilderbooleanisTxTokenFlow(jakarta.servlet.http.HttpServletRequest httpRequest) static booleanisTxTokenFlow(String requestedTokenType) jakarta.ws.rs.core.ResponseprocessTxToken(ExecutionContext executionContext)
-
Constructor Details
-
TxTokenService
public TxTokenService()
-
-
Method Details
-
processTxToken
public jakarta.ws.rs.core.Response processTxToken(ExecutionContext executionContext) throws Exception - Throws:
Exception
-
createResponse
-
isTxTokenFlow
public boolean isTxTokenFlow(jakarta.servlet.http.HttpServletRequest httpRequest) -
isTxTokenFlow
-
error
public jakarta.ws.rs.core.Response.ResponseBuilder error(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)
-