Class OidcValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.oidc.OidcException
com.revetsec.oidc.OidcValidationException
- All Implemented Interfaces:
Serializable
An ID token, UserInfo response or refresh continuity check failed. The exception retains only fixed reasons;
it never retains the rejected token, a claim, a lower-layer exception or any access or refresh token.
- Since:
- 1.0.0
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFixed OIDC validation reasons. -
Method Summary
Modifier and TypeMethodDescriptionReturns the JOSE reason when the underlying signature, header or JWT checks failed.Returns the fixed OIDC failure reason.Methods inherited from class RevetsecException
getCategory, isTemporaryConditionModifier and TypeMethodDescriptionfinal @NonNull ErrorCategoryReturns the category of this failure.Returns whether this failure is classified as a temporary condition.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getReason
Returns the fixed OIDC failure reason.- Returns:
- the reason
- Since:
- 1.0.0
-
getJoseReason
Returns the JOSE reason when the underlying signature, header or JWT checks failed.- Returns:
- the lower-layer reason, if applicable
- Since:
- 1.0.0
-