Language

AuthorizationHeaderError Class

Definition

Represents an error that occurred during authorization header creation or processing.

public class AuthorizationHeaderError : Microsoft.Identity.Abstractions.OperationError
type AuthorizationHeaderError = class
    inherit OperationError
Public Class AuthorizationHeaderError
Inherits OperationError
Inheritance
AuthorizationHeaderError

Constructors

Name Description
AuthorizationHeaderError()

Initializes a new instance of the AuthorizationHeaderError class.

AuthorizationHeaderError(String, String, Exception)

Initializes a new instance of the AuthorizationHeaderError class with the specified error code, message, and underlying exception.

AuthorizationHeaderError(String, String)

Initializes a new instance of the AuthorizationHeaderError class with the specified error code and message.

Properties

Name Description
Code

Gets or sets the error code that identifies the type of error.

Exception

Gets or sets the underlying exception that caused this error, if any.

FailureDetails

Diagnostic details about the failure (server error code, status code, claims challenge, correlation id), or null when no such details were captured.

Message

Gets or sets a human-readable message describing the error.

Metadata

Metadata captured during the failed token-acquisition attempt that produced this error, or null when no metadata was captured.

Applies to