Class ExplainedTokenVerificationException

  • All Implemented Interfaces:
    Serializable

    public class ExplainedTokenVerificationException
    extends org.keycloak.exceptions.TokenVerificationException
    Token verification exception that bears an error to be logged via event system and a message to show to the user e.g. via ErrorPage.error().
    Author:
    hmlnarik
    See Also:
    Serialized Form
    • Constructor Detail

      • ExplainedTokenVerificationException

        public ExplainedTokenVerificationException​(org.keycloak.representations.JsonWebToken token,
                                                   ExplainedVerificationException cause)
      • ExplainedTokenVerificationException

        public ExplainedTokenVerificationException​(org.keycloak.representations.JsonWebToken token,
                                                   String errorEvent)
      • ExplainedTokenVerificationException

        public ExplainedTokenVerificationException​(org.keycloak.representations.JsonWebToken token,
                                                   String errorEvent,
                                                   String message)
      • ExplainedTokenVerificationException

        public ExplainedTokenVerificationException​(org.keycloak.representations.JsonWebToken token,
                                                   String errorEvent,
                                                   String message,
                                                   Throwable cause)
      • ExplainedTokenVerificationException

        public ExplainedTokenVerificationException​(org.keycloak.representations.JsonWebToken token,
                                                   String errorEvent,
                                                   Throwable cause)
    • Method Detail

      • getErrorEvent

        public String getErrorEvent()