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:
  • Constructor Details

    • AuthenticationRedirectException

      public AuthenticationRedirectException(String redirectUri)
    • AuthenticationRedirectException

      public AuthenticationRedirectException(int code, String redirectUri)
  • Method Details

    • getCode

      public int getCode()
    • getRedirectUri

      public String getRedirectUri()