Class JwtGrantService

java.lang.Object
io.jans.as.server.token.ws.rs.JwtGrantService

@Named public class JwtGrantService extends Object
Author:
Yuriy Z
  • 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.EncryptionException
      io.jans.as.model.exception.CryptoProviderException
    • verifyExpiration

      public void verifyExpiration(io.jans.as.model.jwt.Jwt jwt, ExecutionContext executionContext)
    • error

      public jakarta.ws.rs.core.Response.ResponseBuilder error(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)