Class ExplainedTokenVerificationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.keycloak.common.VerificationException
-
- org.keycloak.exceptions.TokenVerificationException
-
- org.keycloak.authentication.actiontoken.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. viaErrorPage.error()
.- Author:
- hmlnarik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExplainedTokenVerificationException(org.keycloak.representations.JsonWebToken token, String errorEvent)
ExplainedTokenVerificationException(org.keycloak.representations.JsonWebToken token, String errorEvent, String message)
ExplainedTokenVerificationException(org.keycloak.representations.JsonWebToken token, String errorEvent, String message, Throwable cause)
ExplainedTokenVerificationException(org.keycloak.representations.JsonWebToken token, String errorEvent, Throwable cause)
ExplainedTokenVerificationException(org.keycloak.representations.JsonWebToken token, ExplainedVerificationException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorEvent()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-
Method Detail
-
getErrorEvent
public String getErrorEvent()
-
-