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 766 B
/** * Error thrown when no accounts are available for an operation that requires one. * * Typically used when attempting to acquire a token or perform an action that requires * a user account, but none are found in the MSAL cache. * * @param message - Description of the error. * @param options - Optional error options, including a cause for error chaining. */ export class NoAccountsError extends Error { static Name = 'NoAccountsError'; /** * @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 = NoAccountsError.Name; } } //# sourceMappingURL=NoAccountsError.js.map