UNPKG

@equinor/fusion-framework-module-msal-node

Version:

Fusion Framework module for secure Azure AD authentication in Node.js using MSAL. Supports interactive, silent, and token-only authentication modes with encrypted token storage.

21 lines 784 B
/** * Error representing a failure or issue in the authentication server flow. * * Used to signal problems during the OAuth 2.0 authorization code flow, such as * missing codes, invalid requests, or token exchange failures. Supports error chaining. * * @param message - Description of the error. * @param options - Optional error options, including a cause for error chaining. */ export class AuthServerError extends Error { static Name = 'AuthServerError'; /** * @param message - Description of the error. * @param options - Optional error options, including a cause for error chaining. */ constructor(message, options) { super(message, options); this.name = AuthServerError.Name; } } //# sourceMappingURL=AuthServerError.js.map