Package version:

Class AuthenticationError

Provides details about a failure to authenticate with Azure Active Directory. The errorResponse field contains more details about the specific failure.

Hierarchy

  • any
    • AuthenticationError

Constructors

Properties

Constructors

  • Parameters

    • statusCode: number
    • errorBody:
          | undefined
          | null
          | string
          | object
    • Optionaloptions: {
          cause?: unknown;
      }
      • Optionalcause?: unknown

    Returns AuthenticationError

Properties

errorResponse: ErrorResponse

The error response details.

statusCode: number

The HTTP status code returned from the authentication request.