MsalInteractionRequiredException 类
- 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
此异常类是通知开发人员身份验证成功需要 UI 交互。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| MsalInteractionRequiredException(ErrorResponse errorResponse, Map<String,List<String>> headerMap) |
初始化异常类的新实例 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
|
Interaction |
reason()
Msal |
方法继承自 MsalException
方法继承自 MsalServiceException
方法继承自 java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
方法继承自 java.lang.Throwable
java.lang.Throwable.addSuppressed
java.lang.Throwable.fillInStackTrace
java.lang.Throwable.getCause
java.lang.Throwable.getLocalizedMessage
java.lang.Throwable.getMessage
java.lang.Throwable.getStackTrace
java.lang.Throwable.getSuppressed
java.lang.Throwable.initCause
java.lang.Throwable.printStackTrace
java.lang.Throwable.printStackTrace
java.lang.Throwable.printStackTrace
java.lang.Throwable.setStackTrace
java.lang.Throwable.toString
构造函数详细信息
MsalInteractionRequiredException
public MsalInteractionRequiredException(ErrorResponse errorResponse, Map<String,List<String>> headerMap)
初始化异常类的新实例
参数:
errorResponse
- 响应对象包含有关服务器返回的错误的信息
headerMap
- 服务器响应中的 http 标头
方法详细信息
reason
public InteractionRequiredExceptionReason reason()
MsalInteractionRequiredException 的原因,使你可以执行更多操作或根据你的方案通知用户。