AdalClaimChallengeException Class
Definition
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
- Inheritance
Constructors
AdalClaimChallengeException(String, String, Exception, String) |
Initializes a new instance of the exception class for handling claims. |
Properties
Claims |
Claims challenge returned from the STS. This value should be passed back to the API caller. |
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 |
Contains headers from the response that indicated an error (Inherited from AdalServiceException) |
ServiceErrorCodes |
Gets the specific error codes that may be returned by the service. (Inherited from AdalServiceException) |
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 http://msdn.microsoft.com/en-us/library/bb268233(v=vs.85).aspx). You can use this code for purposes such as implementing retry logic or error investigation. (Inherited from AdalServiceException) |
Methods
ToJsonString() |
Allows serialization of most values of the exception into JSON. (Inherited from AdalException) |
ToString() |
Creates and returns a string representation of the current exception. (Inherited from AdalServiceException) |