Package io.jans.as.server.token.ws.rs
Class JwtGrantService
java.lang.Object
io.jans.as.server.token.ws.rs.JwtGrantService
- Author:
- Yuriy Z
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response.ResponseBuilderorg.json.JSONObjectprocessJwtBearer(String assertion, String scope, jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.registration.Client client, Function<io.jans.as.model.token.JsonWebResponse, Void> idTokenPreProcessing, ExecutionContext executionContext) voidverifyExpiration(io.jans.as.model.jwt.Jwt jwt, ExecutionContext executionContext)
-
Field Details
-
EMPTY_USER
public static final io.jans.as.common.model.common.User EMPTY_USER
-
-
Constructor Details
-
JwtGrantService
public JwtGrantService()
-
-
Method Details
-
processJwtBearer
public org.json.JSONObject processJwtBearer(String assertion, String scope, jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.registration.Client client, Function<io.jans.as.model.token.JsonWebResponse, Void> idTokenPreProcessing, ExecutionContext executionContext) throws io.jans.util.security.StringEncrypter.EncryptionException, io.jans.as.model.exception.CryptoProviderException- Throws:
io.jans.util.security.StringEncrypter.EncryptionExceptionio.jans.as.model.exception.CryptoProviderException
-
verifyExpiration
-
error
public jakarta.ws.rs.core.Response.ResponseBuilder error(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)
-