AdalClaimChallengeException AdalClaimChallengeException AdalClaimChallengeException Class


The exception type thrown when a claims challenge error occurs during token acquisition.

public class AdalClaimChallengeException : Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException
type AdalClaimChallengeException = class
    inherit AdalServiceException
Public Class AdalClaimChallengeException
Inherits AdalServiceException


AdalClaimChallengeException(String, String, Exception, String) AdalClaimChallengeException(String, String, Exception, String) AdalClaimChallengeException(String, String, Exception, String)

Initializes a new instance of the exception class for handling claims.


Claims Claims Claims

Claims challenge returned from the STS. This value should be passed back to the API caller.

ErrorCode ErrorCode ErrorCode

Gets the protocol error code returned by the service or generated by client. This is the code you can rely on for exception handling.

(Inherited from AdalException)
Headers Headers Headers

Contains headers from the response that indicated an error

(Inherited from AdalServiceException)
ServiceErrorCodes ServiceErrorCodes ServiceErrorCodes

Gets the specific error codes that may be returned by the service.

(Inherited from AdalServiceException)
StatusCode StatusCode StatusCode

Gets the status code returned from http layer. This status code is either the HttpStatusCode in the inner HttpRequestException response or NavigateError Event Status Code in browser based flow (See You can use this code for purposes such as implementing retry logic or error investigation.

(Inherited from AdalServiceException)


ToJsonString() ToJsonString() ToJsonString()

Allows serialization of most values of the exception into JSON.

(Inherited from AdalException)
ToString() ToString() ToString()

Creates and returns a string representation of the current exception.

(Inherited from AdalServiceException)

Applies to