Package io.jans.as.server.token.ws.rs
Class TxTokenService
- java.lang.Object
-
- io.jans.as.server.token.ws.rs.TxTokenService
-
@Named public class TxTokenService extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description TxTokenService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.json.JSONObjectcreateResponse(String txToken)jakarta.ws.rs.core.Response.ResponseBuildererror(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)booleanisTxTokenFlow(jakarta.servlet.http.HttpServletRequest httpRequest)static booleanisTxTokenFlow(String requestedTokenType)jakarta.ws.rs.core.ResponseprocessTxToken(ExecutionContext executionContext)
-
-
-
Method Detail
-
processTxToken
public jakarta.ws.rs.core.Response processTxToken(ExecutionContext executionContext) throws Exception
- Throws:
Exception
-
createResponse
public static org.json.JSONObject createResponse(String txToken)
-
isTxTokenFlow
public boolean isTxTokenFlow(jakarta.servlet.http.HttpServletRequest httpRequest)
-
isTxTokenFlow
public static boolean isTxTokenFlow(String requestedTokenType)
-
error
public jakarta.ws.rs.core.Response.ResponseBuilder error(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)
-
-