Skip to main content

Type Alias: AuthServerConfigError

type AuthServerConfigError = {
  cause?: Error;
  code: AuthServerConfigErrorCode;
  description: string;
};

Represents an error that occurs during the validation of the authorization server metadata.

Properties

cause?

optional cause: Error;

An optional cause of the error, typically an instance of Error that provides more context.


code

code: AuthServerConfigErrorCode;

The code representing the specific validation error.


description

description: string;

A human-readable description of the error.