configErrorMessages: {
    CLIENT_ID_REQUIRED: string;
    INVALID_AUTH_URL: string;
    INVALID_BASE_URL: string;
    INVALID_CONFIG_OBJECT: string;
    INVALID_REDIRECT_URL: string;
    INVALID_TRANSPORT_MODE: string;
    REDIRECT_URL_REQUIRED: string;
    SDK_NOT_CONFIGURED: string;
} = ...

Contains error messages related to configuration issues.

These messages are used to provide descriptive errors when configuration validations fail in the ESPRMAuth instance.

Type declaration

  • CLIENT_ID_REQUIRED: string

    Error message indicating that the client ID is required when auth URL is provided.

  • INVALID_AUTH_URL: string

    Error message indicating that the auth URL is invalid or empty.

  • INVALID_BASE_URL: string

    Error message indicating that the base URL is invalid or empty.

  • INVALID_CONFIG_OBJECT: string

    Error message indicating that the config must be a non-null object.

  • INVALID_REDIRECT_URL: string

    Error message indicating that the redirect URL is invalid or empty when auth URL is provided.

  • INVALID_TRANSPORT_MODE: string

    Error message indicating that the transport mode is invalid.

  • REDIRECT_URL_REQUIRED: string

    Error message indicating that a redirect URL is required when auth URL is provided.

  • SDK_NOT_CONFIGURED: string

    Error message indicating that the SDK is not configured.