Class MsalClaimsChallengeException
This exception indicates that claims have been returned from the endpoint that need to be resolved. This can be achieved by using them in the next authentication request. See Conditional Access and claims challenges. See Handling multifactor auth (MFA), Conditional Access, and incremental consent.
public class MsalClaimsChallengeException : MsalUiRequiredException, ISerializable
- Inheritance
-
MsalClaimsChallengeException
- Implements
- Inherited Members
Constructors
MsalClaimsChallengeException(string, string)
Initializes a new instance of the exception class with a specified error code and error message.
public MsalClaimsChallengeException(string errorCode, string errorMessage)
Parameters
errorCodestringThe error code returned by the service or generated by the client. This is the code you can rely on for exception handling.
errorMessagestringThe error message that explains the reason for the exception.
MsalClaimsChallengeException(string, string, Exception)
Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.
public MsalClaimsChallengeException(string errorCode, string errorMessage, Exception innerException)
Parameters
errorCodestringThe error code returned by the service or generated by the client. This is the code you can rely on for exception handling.
errorMessagestringThe error message that explains the reason for the exception.
innerExceptionExceptionRepresents the root cause of the exception.
MsalClaimsChallengeException(string, string, Exception, UiRequiredExceptionClassification)
Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.
public MsalClaimsChallengeException(string errorCode, string errorMessage, Exception innerException, UiRequiredExceptionClassification classification)
Parameters
errorCodestringThe error code returned by the service or generated by the client. This is the code you can rely on for exception handling.
errorMessagestringThe error message that explains the reason for the exception.
innerExceptionExceptionRepresents the root cause of the exception.
classificationUiRequiredExceptionClassificationA higher level description for this exception, that allows handling code to understand what type of action it needs to take to resolve the issue.