Package io.quarkus.security
Class AuthenticationRedirectException
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRedirectException(int code, String redirectUri)
AuthenticationRedirectException(String redirectUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
String
getRedirectUri()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCode
public int getCode()
-
getRedirectUri
public String getRedirectUri()
-
-