Class RevokeSessionRestWebService

java.lang.Object
io.jans.as.server.revoke.RevokeSessionRestWebService

@Path("/") public class RevokeSessionRestWebService extends Object
/revoke_session endpoint is deprecated in favor of Global Token Revocation which removes session as well and is standard one.
Author:
Yuriy Zabrovarnyy
  • Constructor Details

    • RevokeSessionRestWebService

      public RevokeSessionRestWebService()
  • Method Details

    • requestRevokeSession

      @POST @Path("/revoke_session") @Produces("application/json") public jakarta.ws.rs.core.Response requestRevokeSession(@FormParam("user_criterion_key") String userCriterionKey, @FormParam("user_criterion_value") String userCriterionValue, @Context jakarta.servlet.http.HttpServletRequest request, @Context jakarta.servlet.http.HttpServletResponse response, @Context jakarta.ws.rs.core.SecurityContext sec)