MsalInteractionRequiredException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. aad. msal4j. MsalException - com.
microsoft. aad. msal4j. MsalServiceException - com.
microsoft. aad. msal4j. MsalInteractionRequiredException
- com.
- com.
- com.
- java.
- java.
- java.
public class MsalInteractionRequiredException
extends MsalServiceException
This exception class is to inform developers that UI interaction is required for authentication to succeed.
Constructor Summary
Constructor | Description |
---|---|
MsalInteractionRequiredException(ErrorResponse errorResponse, Map<String,List<String>> headerMap) |
Initializes a new instance of the exception class |
Method Summary
Modifier and Type | Method and Description |
---|---|
Interaction |
reason()
Reason for the Msal |
Methods inherited from MsalException
Methods inherited from MsalServiceException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
MsalInteractionRequiredException
public MsalInteractionRequiredException(ErrorResponse errorResponse, Map
Initializes a new instance of the exception class
Parameters:
Method Details
reason
public InteractionRequiredExceptionReason reason()
Reason for the MsalInteractionRequiredException, enabling you to do more actions or inform the user depending on your scenario.