java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.quarkus.security.AuthenticationRedirectException
- All Implemented Interfaces:
AuthenticationException
,Serializable
public class AuthenticationRedirectException
extends RuntimeException
implements AuthenticationException
Exception indicating that a redirect is required for the authentication flow to complete.
For example, it can be used during an OpenId Connect authorization code flow to redirect
the user to the original request URI which was used before the authorization code flow has started.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationRedirectException
(int code, String redirectUri) AuthenticationRedirectException
(String redirectUri) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationRedirectException
-
AuthenticationRedirectException
-
-
Method Details
-
getCode
public int getCode() -
getRedirectUri
-