Commit iniziale
This commit is contained in:
258
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.d.ts
generated
vendored
Normal file
258
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.d.ts
generated
vendored
Normal file
@@ -0,0 +1,258 @@
|
||||
import { AuthError } from "@azure/msal-common/browser";
|
||||
import * as BrowserAuthErrorCodes from "./BrowserAuthErrorCodes.js";
|
||||
export { BrowserAuthErrorCodes };
|
||||
/**
|
||||
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
*/
|
||||
export declare const BrowserAuthErrorMessages: {
|
||||
pkce_not_created: string;
|
||||
crypto_nonexistent: string;
|
||||
empty_navigate_uri: string;
|
||||
hash_empty_error: string;
|
||||
no_state_in_hash: string;
|
||||
hash_does_not_contain_known_properties: string;
|
||||
unable_to_parse_state: string;
|
||||
state_interaction_type_mismatch: string;
|
||||
interaction_in_progress: string;
|
||||
popup_window_error: string;
|
||||
empty_window_error: string;
|
||||
user_cancelled: string;
|
||||
monitor_popup_timeout: string;
|
||||
monitor_window_timeout: string;
|
||||
redirect_in_iframe: string;
|
||||
block_iframe_reload: string;
|
||||
block_nested_popups: string;
|
||||
iframe_closed_prematurely: string;
|
||||
silent_logout_unsupported: string;
|
||||
no_account_error: string;
|
||||
silent_prompt_value_error: string;
|
||||
no_token_request_cache_error: string;
|
||||
unable_to_parse_token_request_cache_error: string;
|
||||
no_cached_authority_error: string;
|
||||
auth_request_not_set_error: string;
|
||||
invalid_cache_type: string;
|
||||
non_browser_environment: string;
|
||||
database_not_open: string;
|
||||
no_network_connectivity: string;
|
||||
post_request_failed: string;
|
||||
get_request_failed: string;
|
||||
failed_to_parse_response: string;
|
||||
unable_to_load_token: string;
|
||||
crypto_key_not_found: string;
|
||||
auth_code_required: string;
|
||||
auth_code_or_nativeAccountId_required: string;
|
||||
spa_code_and_nativeAccountId_present: string;
|
||||
database_unavailable: string;
|
||||
unable_to_acquire_token_from_native_platform: string;
|
||||
native_handshake_timeout: string;
|
||||
native_extension_not_installed: string;
|
||||
native_connection_not_established: string;
|
||||
uninitialized_public_client_application: string;
|
||||
native_prompt_not_supported: string;
|
||||
invalid_base64_string: string;
|
||||
invalid_pop_token_request: string;
|
||||
failed_to_build_headers: string;
|
||||
failed_to_parse_headers: string;
|
||||
};
|
||||
/**
|
||||
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
* @deprecated Use exported BrowserAuthErrorCodes instead.
|
||||
* In your app you can do :
|
||||
* ```
|
||||
* import { BrowserAuthErrorCodes } from "@azure/msal-browser";
|
||||
* ```
|
||||
*/
|
||||
export declare const BrowserAuthErrorMessage: {
|
||||
pkceNotGenerated: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
cryptoDoesNotExist: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
emptyNavigateUriError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
hashEmptyError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
hashDoesNotContainStateError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
hashDoesNotContainKnownPropertiesError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
unableToParseStateError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
stateInteractionTypeMismatchError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
interactionInProgress: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
popupWindowError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
emptyWindowError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
userCancelledError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
monitorPopupTimeoutError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
monitorIframeTimeoutError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
redirectInIframeError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
blockTokenRequestsInHiddenIframeError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
blockAcquireTokenInPopupsError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
iframeClosedPrematurelyError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
silentLogoutUnsupportedError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
noAccountError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
silentPromptValueError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
noTokenRequestCacheError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
unableToParseTokenRequestCacheError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
noCachedAuthorityError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
authRequestNotSet: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
invalidCacheType: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
notInBrowserEnvironment: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
databaseNotOpen: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
noNetworkConnectivity: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
postRequestFailed: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
getRequestFailed: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
failedToParseNetworkResponse: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
unableToLoadTokenError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
signingKeyNotFoundInStorage: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
authCodeRequired: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
authCodeOrNativeAccountRequired: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
spaCodeAndNativeAccountPresent: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
databaseUnavailable: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
unableToAcquireTokenFromNativePlatform: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
nativeHandshakeTimeout: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
nativeExtensionNotInstalled: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
nativeConnectionNotEstablished: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
uninitializedPublicClientApplication: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
nativePromptNotSupported: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
invalidBase64StringError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
invalidPopTokenRequest: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* Browser library error class thrown by the MSAL.js library for SPAs
|
||||
*/
|
||||
export declare class BrowserAuthError extends AuthError {
|
||||
constructor(errorCode: string, subError?: string);
|
||||
}
|
||||
export declare function createBrowserAuthError(errorCode: string, subError?: string): BrowserAuthError;
|
||||
//# sourceMappingURL=BrowserAuthError.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserAuthError.d.ts","sourceRoot":"","sources":["../../src/error/BrowserAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAIjC;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFpC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+OnC,CAAC;AAEF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;gBAC/B,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAMnD;AAED,wBAAgB,sBAAsB,CAClC,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,MAAM,GAClB,gBAAgB,CAElB"}
|
||||
275
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.mjs
generated
vendored
Normal file
275
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.mjs
generated
vendored
Normal file
@@ -0,0 +1,275 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
import { AuthError } from '@azure/msal-common/browser';
|
||||
import { pkceNotCreated, cryptoNonExistent, emptyNavigateUri, hashEmptyError, noStateInHash, hashDoesNotContainKnownProperties, unableToParseState, stateInteractionTypeMismatch, interactionInProgress, popupWindowError, emptyWindowError, userCancelled, monitorPopupTimeout, monitorWindowTimeout, redirectInIframe, blockIframeReload, blockNestedPopups, iframeClosedPrematurely, silentLogoutUnsupported, noAccountError, silentPromptValueError, noTokenRequestCacheError, unableToParseTokenRequestCacheError, noCachedAuthorityError, authRequestNotSetError, invalidCacheType, nonBrowserEnvironment, databaseNotOpen, noNetworkConnectivity, postRequestFailed, getRequestFailed, failedToParseResponse, unableToLoadToken, cryptoKeyNotFound, authCodeRequired, authCodeOrNativeAccountIdRequired, spaCodeAndNativeAccountIdPresent, databaseUnavailable, unableToAcquireTokenFromNativePlatform, nativeHandshakeTimeout, nativeExtensionNotInstalled, nativeConnectionNotEstablished, uninitializedPublicClientApplication, nativePromptNotSupported, invalidBase64String, invalidPopTokenRequest, failedToBuildHeaders, failedToParseHeaders } from './BrowserAuthErrorCodes.mjs';
|
||||
import * as BrowserAuthErrorCodes from './BrowserAuthErrorCodes.mjs';
|
||||
export { BrowserAuthErrorCodes };
|
||||
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
const ErrorLink = "For more visit: aka.ms/msaljs/browser-errors";
|
||||
/**
|
||||
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
*/
|
||||
const BrowserAuthErrorMessages = {
|
||||
[pkceNotCreated]: "The PKCE code challenge and verifier could not be generated.",
|
||||
[cryptoNonExistent]: "The crypto object or function is not available.",
|
||||
[emptyNavigateUri]: "Navigation URI is empty. Please check stack trace for more info.",
|
||||
[hashEmptyError]: `Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${ErrorLink}`,
|
||||
[noStateInHash]: "Hash does not contain state. Please verify that the request originated from msal.",
|
||||
[hashDoesNotContainKnownProperties]: `Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${ErrorLink}`,
|
||||
[unableToParseState]: "Unable to parse state. Please verify that the request originated from msal.",
|
||||
[stateInteractionTypeMismatch]: "Hash contains state but the interaction type does not match the caller.",
|
||||
[interactionInProgress]: `Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${ErrorLink}`,
|
||||
[popupWindowError]: "Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",
|
||||
[emptyWindowError]: "window.open returned null or undefined window object.",
|
||||
[userCancelled]: "User cancelled the flow.",
|
||||
[monitorPopupTimeout]: `Token acquisition in popup failed due to timeout. ${ErrorLink}`,
|
||||
[monitorWindowTimeout]: `Token acquisition in iframe failed due to timeout. ${ErrorLink}`,
|
||||
[redirectInIframe]: "Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",
|
||||
[blockIframeReload]: `Request was blocked inside an iframe because MSAL detected an authentication response. ${ErrorLink}`,
|
||||
[blockNestedPopups]: "Request was blocked inside a popup because MSAL detected it was running in a popup.",
|
||||
[iframeClosedPrematurely]: "The iframe being monitored was closed prematurely.",
|
||||
[silentLogoutUnsupported]: "Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",
|
||||
[noAccountError]: "No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",
|
||||
[silentPromptValueError]: "The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",
|
||||
[noTokenRequestCacheError]: "No token request found in cache.",
|
||||
[unableToParseTokenRequestCacheError]: "The cached token request could not be parsed.",
|
||||
[noCachedAuthorityError]: "No cached authority found.",
|
||||
[authRequestNotSetError]: "Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",
|
||||
[invalidCacheType]: "Invalid cache type",
|
||||
[nonBrowserEnvironment]: "Login and token requests are not supported in non-browser environments.",
|
||||
[databaseNotOpen]: "Database is not open!",
|
||||
[noNetworkConnectivity]: "No network connectivity. Check your internet connection.",
|
||||
[postRequestFailed]: "Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",
|
||||
[getRequestFailed]: "Network request failed. Please check the network trace to determine root cause.",
|
||||
[failedToParseResponse]: "Failed to parse network response. Check network trace.",
|
||||
[unableToLoadToken]: "Error loading token to cache.",
|
||||
[cryptoKeyNotFound]: "Cryptographic Key or Keypair not found in browser storage.",
|
||||
[authCodeRequired]: "An authorization code must be provided (as the `code` property on the request) to this flow.",
|
||||
[authCodeOrNativeAccountIdRequired]: "An authorization code or nativeAccountId must be provided to this flow.",
|
||||
[spaCodeAndNativeAccountIdPresent]: "Request cannot contain both spa code and native account id.",
|
||||
[databaseUnavailable]: "IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",
|
||||
[unableToAcquireTokenFromNativePlatform]: `Unable to acquire token from native platform. ${ErrorLink}`,
|
||||
[nativeHandshakeTimeout]: "Timed out while attempting to establish connection to browser extension",
|
||||
[nativeExtensionNotInstalled]: "Native extension is not installed. If you think this is a mistake call the initialize function.",
|
||||
[nativeConnectionNotEstablished]: `Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${ErrorLink}`,
|
||||
[uninitializedPublicClientApplication]: `You must call and await the initialize function before attempting to call any other MSAL API. ${ErrorLink}`,
|
||||
[nativePromptNotSupported]: "The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",
|
||||
[invalidBase64String]: "Invalid base64 encoded string.",
|
||||
[invalidPopTokenRequest]: "Invalid PoP token request. The request should not have both a popKid value and signPopToken set to true.",
|
||||
[failedToBuildHeaders]: "Failed to build request headers object.",
|
||||
[failedToParseHeaders]: "Failed to parse response headers",
|
||||
};
|
||||
/**
|
||||
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
* @deprecated Use exported BrowserAuthErrorCodes instead.
|
||||
* In your app you can do :
|
||||
* ```
|
||||
* import { BrowserAuthErrorCodes } from "@azure/msal-browser";
|
||||
* ```
|
||||
*/
|
||||
const BrowserAuthErrorMessage = {
|
||||
pkceNotGenerated: {
|
||||
code: pkceNotCreated,
|
||||
desc: BrowserAuthErrorMessages[pkceNotCreated],
|
||||
},
|
||||
cryptoDoesNotExist: {
|
||||
code: cryptoNonExistent,
|
||||
desc: BrowserAuthErrorMessages[cryptoNonExistent],
|
||||
},
|
||||
emptyNavigateUriError: {
|
||||
code: emptyNavigateUri,
|
||||
desc: BrowserAuthErrorMessages[emptyNavigateUri],
|
||||
},
|
||||
hashEmptyError: {
|
||||
code: hashEmptyError,
|
||||
desc: BrowserAuthErrorMessages[hashEmptyError],
|
||||
},
|
||||
hashDoesNotContainStateError: {
|
||||
code: noStateInHash,
|
||||
desc: BrowserAuthErrorMessages[noStateInHash],
|
||||
},
|
||||
hashDoesNotContainKnownPropertiesError: {
|
||||
code: hashDoesNotContainKnownProperties,
|
||||
desc: BrowserAuthErrorMessages[hashDoesNotContainKnownProperties],
|
||||
},
|
||||
unableToParseStateError: {
|
||||
code: unableToParseState,
|
||||
desc: BrowserAuthErrorMessages[unableToParseState],
|
||||
},
|
||||
stateInteractionTypeMismatchError: {
|
||||
code: stateInteractionTypeMismatch,
|
||||
desc: BrowserAuthErrorMessages[stateInteractionTypeMismatch],
|
||||
},
|
||||
interactionInProgress: {
|
||||
code: interactionInProgress,
|
||||
desc: BrowserAuthErrorMessages[interactionInProgress],
|
||||
},
|
||||
popupWindowError: {
|
||||
code: popupWindowError,
|
||||
desc: BrowserAuthErrorMessages[popupWindowError],
|
||||
},
|
||||
emptyWindowError: {
|
||||
code: emptyWindowError,
|
||||
desc: BrowserAuthErrorMessages[emptyWindowError],
|
||||
},
|
||||
userCancelledError: {
|
||||
code: userCancelled,
|
||||
desc: BrowserAuthErrorMessages[userCancelled],
|
||||
},
|
||||
monitorPopupTimeoutError: {
|
||||
code: monitorPopupTimeout,
|
||||
desc: BrowserAuthErrorMessages[monitorPopupTimeout],
|
||||
},
|
||||
monitorIframeTimeoutError: {
|
||||
code: monitorWindowTimeout,
|
||||
desc: BrowserAuthErrorMessages[monitorWindowTimeout],
|
||||
},
|
||||
redirectInIframeError: {
|
||||
code: redirectInIframe,
|
||||
desc: BrowserAuthErrorMessages[redirectInIframe],
|
||||
},
|
||||
blockTokenRequestsInHiddenIframeError: {
|
||||
code: blockIframeReload,
|
||||
desc: BrowserAuthErrorMessages[blockIframeReload],
|
||||
},
|
||||
blockAcquireTokenInPopupsError: {
|
||||
code: blockNestedPopups,
|
||||
desc: BrowserAuthErrorMessages[blockNestedPopups],
|
||||
},
|
||||
iframeClosedPrematurelyError: {
|
||||
code: iframeClosedPrematurely,
|
||||
desc: BrowserAuthErrorMessages[iframeClosedPrematurely],
|
||||
},
|
||||
silentLogoutUnsupportedError: {
|
||||
code: silentLogoutUnsupported,
|
||||
desc: BrowserAuthErrorMessages[silentLogoutUnsupported],
|
||||
},
|
||||
noAccountError: {
|
||||
code: noAccountError,
|
||||
desc: BrowserAuthErrorMessages[noAccountError],
|
||||
},
|
||||
silentPromptValueError: {
|
||||
code: silentPromptValueError,
|
||||
desc: BrowserAuthErrorMessages[silentPromptValueError],
|
||||
},
|
||||
noTokenRequestCacheError: {
|
||||
code: noTokenRequestCacheError,
|
||||
desc: BrowserAuthErrorMessages[noTokenRequestCacheError],
|
||||
},
|
||||
unableToParseTokenRequestCacheError: {
|
||||
code: unableToParseTokenRequestCacheError,
|
||||
desc: BrowserAuthErrorMessages[unableToParseTokenRequestCacheError],
|
||||
},
|
||||
noCachedAuthorityError: {
|
||||
code: noCachedAuthorityError,
|
||||
desc: BrowserAuthErrorMessages[noCachedAuthorityError],
|
||||
},
|
||||
authRequestNotSet: {
|
||||
code: authRequestNotSetError,
|
||||
desc: BrowserAuthErrorMessages[authRequestNotSetError],
|
||||
},
|
||||
invalidCacheType: {
|
||||
code: invalidCacheType,
|
||||
desc: BrowserAuthErrorMessages[invalidCacheType],
|
||||
},
|
||||
notInBrowserEnvironment: {
|
||||
code: nonBrowserEnvironment,
|
||||
desc: BrowserAuthErrorMessages[nonBrowserEnvironment],
|
||||
},
|
||||
databaseNotOpen: {
|
||||
code: databaseNotOpen,
|
||||
desc: BrowserAuthErrorMessages[databaseNotOpen],
|
||||
},
|
||||
noNetworkConnectivity: {
|
||||
code: noNetworkConnectivity,
|
||||
desc: BrowserAuthErrorMessages[noNetworkConnectivity],
|
||||
},
|
||||
postRequestFailed: {
|
||||
code: postRequestFailed,
|
||||
desc: BrowserAuthErrorMessages[postRequestFailed],
|
||||
},
|
||||
getRequestFailed: {
|
||||
code: getRequestFailed,
|
||||
desc: BrowserAuthErrorMessages[getRequestFailed],
|
||||
},
|
||||
failedToParseNetworkResponse: {
|
||||
code: failedToParseResponse,
|
||||
desc: BrowserAuthErrorMessages[failedToParseResponse],
|
||||
},
|
||||
unableToLoadTokenError: {
|
||||
code: unableToLoadToken,
|
||||
desc: BrowserAuthErrorMessages[unableToLoadToken],
|
||||
},
|
||||
signingKeyNotFoundInStorage: {
|
||||
code: cryptoKeyNotFound,
|
||||
desc: BrowserAuthErrorMessages[cryptoKeyNotFound],
|
||||
},
|
||||
authCodeRequired: {
|
||||
code: authCodeRequired,
|
||||
desc: BrowserAuthErrorMessages[authCodeRequired],
|
||||
},
|
||||
authCodeOrNativeAccountRequired: {
|
||||
code: authCodeOrNativeAccountIdRequired,
|
||||
desc: BrowserAuthErrorMessages[authCodeOrNativeAccountIdRequired],
|
||||
},
|
||||
spaCodeAndNativeAccountPresent: {
|
||||
code: spaCodeAndNativeAccountIdPresent,
|
||||
desc: BrowserAuthErrorMessages[spaCodeAndNativeAccountIdPresent],
|
||||
},
|
||||
databaseUnavailable: {
|
||||
code: databaseUnavailable,
|
||||
desc: BrowserAuthErrorMessages[databaseUnavailable],
|
||||
},
|
||||
unableToAcquireTokenFromNativePlatform: {
|
||||
code: unableToAcquireTokenFromNativePlatform,
|
||||
desc: BrowserAuthErrorMessages[unableToAcquireTokenFromNativePlatform],
|
||||
},
|
||||
nativeHandshakeTimeout: {
|
||||
code: nativeHandshakeTimeout,
|
||||
desc: BrowserAuthErrorMessages[nativeHandshakeTimeout],
|
||||
},
|
||||
nativeExtensionNotInstalled: {
|
||||
code: nativeExtensionNotInstalled,
|
||||
desc: BrowserAuthErrorMessages[nativeExtensionNotInstalled],
|
||||
},
|
||||
nativeConnectionNotEstablished: {
|
||||
code: nativeConnectionNotEstablished,
|
||||
desc: BrowserAuthErrorMessages[nativeConnectionNotEstablished],
|
||||
},
|
||||
uninitializedPublicClientApplication: {
|
||||
code: uninitializedPublicClientApplication,
|
||||
desc: BrowserAuthErrorMessages[uninitializedPublicClientApplication],
|
||||
},
|
||||
nativePromptNotSupported: {
|
||||
code: nativePromptNotSupported,
|
||||
desc: BrowserAuthErrorMessages[nativePromptNotSupported],
|
||||
},
|
||||
invalidBase64StringError: {
|
||||
code: invalidBase64String,
|
||||
desc: BrowserAuthErrorMessages[invalidBase64String],
|
||||
},
|
||||
invalidPopTokenRequest: {
|
||||
code: invalidPopTokenRequest,
|
||||
desc: BrowserAuthErrorMessages[invalidPopTokenRequest],
|
||||
},
|
||||
};
|
||||
/**
|
||||
* Browser library error class thrown by the MSAL.js library for SPAs
|
||||
*/
|
||||
class BrowserAuthError extends AuthError {
|
||||
constructor(errorCode, subError) {
|
||||
super(errorCode, BrowserAuthErrorMessages[errorCode], subError);
|
||||
Object.setPrototypeOf(this, BrowserAuthError.prototype);
|
||||
this.name = "BrowserAuthError";
|
||||
}
|
||||
}
|
||||
function createBrowserAuthError(errorCode, subError) {
|
||||
return new BrowserAuthError(errorCode, subError);
|
||||
}
|
||||
|
||||
export { BrowserAuthError, BrowserAuthErrorMessage, BrowserAuthErrorMessages, createBrowserAuthError };
|
||||
//# sourceMappingURL=BrowserAuthError.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthError.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
49
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.d.ts
generated
vendored
Normal file
49
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
export declare const pkceNotCreated = "pkce_not_created";
|
||||
export declare const cryptoNonExistent = "crypto_nonexistent";
|
||||
export declare const emptyNavigateUri = "empty_navigate_uri";
|
||||
export declare const hashEmptyError = "hash_empty_error";
|
||||
export declare const noStateInHash = "no_state_in_hash";
|
||||
export declare const hashDoesNotContainKnownProperties = "hash_does_not_contain_known_properties";
|
||||
export declare const unableToParseState = "unable_to_parse_state";
|
||||
export declare const stateInteractionTypeMismatch = "state_interaction_type_mismatch";
|
||||
export declare const interactionInProgress = "interaction_in_progress";
|
||||
export declare const popupWindowError = "popup_window_error";
|
||||
export declare const emptyWindowError = "empty_window_error";
|
||||
export declare const userCancelled = "user_cancelled";
|
||||
export declare const monitorPopupTimeout = "monitor_popup_timeout";
|
||||
export declare const monitorWindowTimeout = "monitor_window_timeout";
|
||||
export declare const redirectInIframe = "redirect_in_iframe";
|
||||
export declare const blockIframeReload = "block_iframe_reload";
|
||||
export declare const blockNestedPopups = "block_nested_popups";
|
||||
export declare const iframeClosedPrematurely = "iframe_closed_prematurely";
|
||||
export declare const silentLogoutUnsupported = "silent_logout_unsupported";
|
||||
export declare const noAccountError = "no_account_error";
|
||||
export declare const silentPromptValueError = "silent_prompt_value_error";
|
||||
export declare const noTokenRequestCacheError = "no_token_request_cache_error";
|
||||
export declare const unableToParseTokenRequestCacheError = "unable_to_parse_token_request_cache_error";
|
||||
export declare const noCachedAuthorityError = "no_cached_authority_error";
|
||||
export declare const authRequestNotSetError = "auth_request_not_set_error";
|
||||
export declare const invalidCacheType = "invalid_cache_type";
|
||||
export declare const nonBrowserEnvironment = "non_browser_environment";
|
||||
export declare const databaseNotOpen = "database_not_open";
|
||||
export declare const noNetworkConnectivity = "no_network_connectivity";
|
||||
export declare const postRequestFailed = "post_request_failed";
|
||||
export declare const getRequestFailed = "get_request_failed";
|
||||
export declare const failedToParseResponse = "failed_to_parse_response";
|
||||
export declare const unableToLoadToken = "unable_to_load_token";
|
||||
export declare const cryptoKeyNotFound = "crypto_key_not_found";
|
||||
export declare const authCodeRequired = "auth_code_required";
|
||||
export declare const authCodeOrNativeAccountIdRequired = "auth_code_or_nativeAccountId_required";
|
||||
export declare const spaCodeAndNativeAccountIdPresent = "spa_code_and_nativeAccountId_present";
|
||||
export declare const databaseUnavailable = "database_unavailable";
|
||||
export declare const unableToAcquireTokenFromNativePlatform = "unable_to_acquire_token_from_native_platform";
|
||||
export declare const nativeHandshakeTimeout = "native_handshake_timeout";
|
||||
export declare const nativeExtensionNotInstalled = "native_extension_not_installed";
|
||||
export declare const nativeConnectionNotEstablished = "native_connection_not_established";
|
||||
export declare const uninitializedPublicClientApplication = "uninitialized_public_client_application";
|
||||
export declare const nativePromptNotSupported = "native_prompt_not_supported";
|
||||
export declare const invalidBase64String = "invalid_base64_string";
|
||||
export declare const invalidPopTokenRequest = "invalid_pop_token_request";
|
||||
export declare const failedToBuildHeaders = "failed_to_build_headers";
|
||||
export declare const failedToParseHeaders = "failed_to_parse_headers";
|
||||
//# sourceMappingURL=BrowserAuthErrorCodes.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/BrowserAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,qBAAqB,CAAC;AACjD,eAAO,MAAM,iBAAiB,uBAAuB,CAAC;AACtD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,cAAc,qBAAqB,CAAC;AACjD,eAAO,MAAM,aAAa,qBAAqB,CAAC;AAChD,eAAO,MAAM,iCAAiC,2CACF,CAAC;AAC7C,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,4BAA4B,oCAAoC,CAAC;AAC9E,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAC/D,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,cAAc,qBAAqB,CAAC;AACjD,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AACvE,eAAO,MAAM,mCAAmC,8CACD,CAAC;AAChD,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,sBAAsB,+BAA+B,CAAC;AACnE,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAC/D,eAAO,MAAM,eAAe,sBAAsB,CAAC;AACnD,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAC/D,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,iBAAiB,yBAAyB,CAAC;AACxD,eAAO,MAAM,iBAAiB,yBAAyB,CAAC;AACxD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,iCAAiC,0CACH,CAAC;AAC5C,eAAO,MAAM,gCAAgC,yCACH,CAAC;AAC3C,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAC1D,eAAO,MAAM,sCAAsC,iDACD,CAAC;AACnD,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AACjE,eAAO,MAAM,2BAA2B,mCAAmC,CAAC;AAC5E,eAAO,MAAM,8BAA8B,sCACJ,CAAC;AACxC,eAAO,MAAM,oCAAoC,4CACJ,CAAC;AAC9C,eAAO,MAAM,wBAAwB,gCAAgC,CAAC;AACtE,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,4BAA4B,CAAC"}
|
||||
57
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.mjs
generated
vendored
Normal file
57
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.mjs
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
const pkceNotCreated = "pkce_not_created";
|
||||
const cryptoNonExistent = "crypto_nonexistent";
|
||||
const emptyNavigateUri = "empty_navigate_uri";
|
||||
const hashEmptyError = "hash_empty_error";
|
||||
const noStateInHash = "no_state_in_hash";
|
||||
const hashDoesNotContainKnownProperties = "hash_does_not_contain_known_properties";
|
||||
const unableToParseState = "unable_to_parse_state";
|
||||
const stateInteractionTypeMismatch = "state_interaction_type_mismatch";
|
||||
const interactionInProgress = "interaction_in_progress";
|
||||
const popupWindowError = "popup_window_error";
|
||||
const emptyWindowError = "empty_window_error";
|
||||
const userCancelled = "user_cancelled";
|
||||
const monitorPopupTimeout = "monitor_popup_timeout";
|
||||
const monitorWindowTimeout = "monitor_window_timeout";
|
||||
const redirectInIframe = "redirect_in_iframe";
|
||||
const blockIframeReload = "block_iframe_reload";
|
||||
const blockNestedPopups = "block_nested_popups";
|
||||
const iframeClosedPrematurely = "iframe_closed_prematurely";
|
||||
const silentLogoutUnsupported = "silent_logout_unsupported";
|
||||
const noAccountError = "no_account_error";
|
||||
const silentPromptValueError = "silent_prompt_value_error";
|
||||
const noTokenRequestCacheError = "no_token_request_cache_error";
|
||||
const unableToParseTokenRequestCacheError = "unable_to_parse_token_request_cache_error";
|
||||
const noCachedAuthorityError = "no_cached_authority_error";
|
||||
const authRequestNotSetError = "auth_request_not_set_error";
|
||||
const invalidCacheType = "invalid_cache_type";
|
||||
const nonBrowserEnvironment = "non_browser_environment";
|
||||
const databaseNotOpen = "database_not_open";
|
||||
const noNetworkConnectivity = "no_network_connectivity";
|
||||
const postRequestFailed = "post_request_failed";
|
||||
const getRequestFailed = "get_request_failed";
|
||||
const failedToParseResponse = "failed_to_parse_response";
|
||||
const unableToLoadToken = "unable_to_load_token";
|
||||
const cryptoKeyNotFound = "crypto_key_not_found";
|
||||
const authCodeRequired = "auth_code_required";
|
||||
const authCodeOrNativeAccountIdRequired = "auth_code_or_nativeAccountId_required";
|
||||
const spaCodeAndNativeAccountIdPresent = "spa_code_and_nativeAccountId_present";
|
||||
const databaseUnavailable = "database_unavailable";
|
||||
const unableToAcquireTokenFromNativePlatform = "unable_to_acquire_token_from_native_platform";
|
||||
const nativeHandshakeTimeout = "native_handshake_timeout";
|
||||
const nativeExtensionNotInstalled = "native_extension_not_installed";
|
||||
const nativeConnectionNotEstablished = "native_connection_not_established";
|
||||
const uninitializedPublicClientApplication = "uninitialized_public_client_application";
|
||||
const nativePromptNotSupported = "native_prompt_not_supported";
|
||||
const invalidBase64String = "invalid_base64_string";
|
||||
const invalidPopTokenRequest = "invalid_pop_token_request";
|
||||
const failedToBuildHeaders = "failed_to_build_headers";
|
||||
const failedToParseHeaders = "failed_to_parse_headers";
|
||||
|
||||
export { authCodeOrNativeAccountIdRequired, authCodeRequired, authRequestNotSetError, blockIframeReload, blockNestedPopups, cryptoKeyNotFound, cryptoNonExistent, databaseNotOpen, databaseUnavailable, emptyNavigateUri, emptyWindowError, failedToBuildHeaders, failedToParseHeaders, failedToParseResponse, getRequestFailed, hashDoesNotContainKnownProperties, hashEmptyError, iframeClosedPrematurely, interactionInProgress, invalidBase64String, invalidCacheType, invalidPopTokenRequest, monitorPopupTimeout, monitorWindowTimeout, nativeConnectionNotEstablished, nativeExtensionNotInstalled, nativeHandshakeTimeout, nativePromptNotSupported, noAccountError, noCachedAuthorityError, noNetworkConnectivity, noStateInHash, noTokenRequestCacheError, nonBrowserEnvironment, pkceNotCreated, popupWindowError, postRequestFailed, redirectInIframe, silentLogoutUnsupported, silentPromptValueError, spaCodeAndNativeAccountIdPresent, stateInteractionTypeMismatch, unableToAcquireTokenFromNativePlatform, unableToLoadToken, unableToParseState, unableToParseTokenRequestCacheError, uninitializedPublicClientApplication, userCancelled };
|
||||
//# sourceMappingURL=BrowserAuthErrorCodes.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserAuthErrorCodes.mjs","sources":["../../src/error/BrowserAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,cAAc,GAAG,mBAAmB;AAC1C,MAAM,iBAAiB,GAAG,qBAAqB;AAC/C,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,cAAc,GAAG,mBAAmB;AAC1C,MAAM,aAAa,GAAG,mBAAmB;AACzC,MAAM,iCAAiC,GAC1C,yCAAyC;AACtC,MAAM,kBAAkB,GAAG,wBAAwB;AACnD,MAAM,4BAA4B,GAAG,kCAAkC;AACvE,MAAM,qBAAqB,GAAG,0BAA0B;AACxD,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,mBAAmB,GAAG,wBAAwB;AACpD,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,uBAAuB,GAAG,4BAA4B;AAC5D,MAAM,uBAAuB,GAAG,4BAA4B;AAC5D,MAAM,cAAc,GAAG,mBAAmB;AAC1C,MAAM,sBAAsB,GAAG,4BAA4B;AAC3D,MAAM,wBAAwB,GAAG,+BAA+B;AAChE,MAAM,mCAAmC,GAC5C,4CAA4C;AACzC,MAAM,sBAAsB,GAAG,4BAA4B;AAC3D,MAAM,sBAAsB,GAAG,6BAA6B;AAC5D,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,qBAAqB,GAAG,0BAA0B;AACxD,MAAM,eAAe,GAAG,oBAAoB;AAC5C,MAAM,qBAAqB,GAAG,0BAA0B;AACxD,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,qBAAqB,GAAG,2BAA2B;AACzD,MAAM,iBAAiB,GAAG,uBAAuB;AACjD,MAAM,iBAAiB,GAAG,uBAAuB;AACjD,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,iCAAiC,GAC1C,wCAAwC;AACrC,MAAM,gCAAgC,GACzC,uCAAuC;AACpC,MAAM,mBAAmB,GAAG,uBAAuB;AACnD,MAAM,sCAAsC,GAC/C,+CAA+C;AAC5C,MAAM,sBAAsB,GAAG,2BAA2B;AAC1D,MAAM,2BAA2B,GAAG,iCAAiC;AACrE,MAAM,8BAA8B,GACvC,oCAAoC;AACjC,MAAM,oCAAoC,GAC7C,0CAA0C;AACvC,MAAM,wBAAwB,GAAG,8BAA8B;AAC/D,MAAM,mBAAmB,GAAG,wBAAwB;AACpD,MAAM,sBAAsB,GAAG,4BAA4B;AAC3D,MAAM,oBAAoB,GAAG,0BAA0B;AACvD,MAAM,oBAAoB,GAAG;;;;"}
|
||||
34
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts
generated
vendored
Normal file
34
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
import { AuthError } from "@azure/msal-common/browser";
|
||||
import * as BrowserConfigurationAuthErrorCodes from "./BrowserConfigurationAuthErrorCodes.js";
|
||||
export { BrowserConfigurationAuthErrorCodes };
|
||||
export declare const BrowserConfigurationAuthErrorMessages: {
|
||||
storage_not_supported: string;
|
||||
stubbed_public_client_application_called: string;
|
||||
in_mem_redirect_unavailable: string;
|
||||
};
|
||||
/**
|
||||
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
* @deprecated Use BrowserAuthErrorCodes instead
|
||||
*/
|
||||
export declare const BrowserConfigurationAuthErrorMessage: {
|
||||
storageNotSupportedError: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
stubPcaInstanceCalled: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
inMemRedirectUnavailable: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
};
|
||||
/**
|
||||
* Browser library error class thrown by the MSAL.js library for SPAs
|
||||
*/
|
||||
export declare class BrowserConfigurationAuthError extends AuthError {
|
||||
constructor(errorCode: string, errorMessage?: string);
|
||||
}
|
||||
export declare function createBrowserConfigurationAuthError(errorCode: string): BrowserConfigurationAuthError;
|
||||
//# sourceMappingURL=BrowserConfigurationAuthError.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserConfigurationAuthError.d.ts","sourceRoot":"","sources":["../../src/error/BrowserConfigurationAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,kCAAkC,MAAM,yCAAyC,CAAC;AAC9F,OAAO,EAAE,kCAAkC,EAAE,CAAC;AAE9C,eAAO,MAAM,qCAAqC;;;;CAOjD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;CAoBhD,CAAC;AAEF;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,SAAS;gBAC5C,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CAMvD;AAED,wBAAgB,mCAAmC,CAC/C,SAAS,EAAE,MAAM,GAClB,6BAA6B,CAK/B"}
|
||||
50
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.mjs
generated
vendored
Normal file
50
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.mjs
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
import { AuthError } from '@azure/msal-common/browser';
|
||||
import { storageNotSupported, stubbedPublicClientApplicationCalled, inMemRedirectUnavailable } from './BrowserConfigurationAuthErrorCodes.mjs';
|
||||
import * as BrowserConfigurationAuthErrorCodes from './BrowserConfigurationAuthErrorCodes.mjs';
|
||||
export { BrowserConfigurationAuthErrorCodes };
|
||||
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
const BrowserConfigurationAuthErrorMessages = {
|
||||
[storageNotSupported]: "Given storage configuration option was not supported.",
|
||||
[stubbedPublicClientApplicationCalled]: "Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",
|
||||
[inMemRedirectUnavailable]: "Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true.",
|
||||
};
|
||||
/**
|
||||
* BrowserAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
* @deprecated Use BrowserAuthErrorCodes instead
|
||||
*/
|
||||
const BrowserConfigurationAuthErrorMessage = {
|
||||
storageNotSupportedError: {
|
||||
code: storageNotSupported,
|
||||
desc: BrowserConfigurationAuthErrorMessages[storageNotSupported],
|
||||
},
|
||||
stubPcaInstanceCalled: {
|
||||
code: stubbedPublicClientApplicationCalled,
|
||||
desc: BrowserConfigurationAuthErrorMessages[stubbedPublicClientApplicationCalled],
|
||||
},
|
||||
inMemRedirectUnavailable: {
|
||||
code: inMemRedirectUnavailable,
|
||||
desc: BrowserConfigurationAuthErrorMessages[inMemRedirectUnavailable],
|
||||
},
|
||||
};
|
||||
/**
|
||||
* Browser library error class thrown by the MSAL.js library for SPAs
|
||||
*/
|
||||
class BrowserConfigurationAuthError extends AuthError {
|
||||
constructor(errorCode, errorMessage) {
|
||||
super(errorCode, errorMessage);
|
||||
this.name = "BrowserConfigurationAuthError";
|
||||
Object.setPrototypeOf(this, BrowserConfigurationAuthError.prototype);
|
||||
}
|
||||
}
|
||||
function createBrowserConfigurationAuthError(errorCode) {
|
||||
return new BrowserConfigurationAuthError(errorCode, BrowserConfigurationAuthErrorMessages[errorCode]);
|
||||
}
|
||||
|
||||
export { BrowserConfigurationAuthError, BrowserConfigurationAuthErrorMessage, BrowserConfigurationAuthErrorMessages, createBrowserConfigurationAuthError };
|
||||
//# sourceMappingURL=BrowserConfigurationAuthError.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserConfigurationAuthError.mjs","sources":["../../src/error/BrowserConfigurationAuthError.ts"],"sourcesContent":[null],"names":["BrowserConfigurationAuthErrorCodes.storageNotSupported","BrowserConfigurationAuthErrorCodes.stubbedPublicClientApplicationCalled","BrowserConfigurationAuthErrorCodes.inMemRedirectUnavailable","BrowserConfigurationAuthErrorCodes\r\n .stubbedPublicClientApplicationCalled"],"mappings":";;;;;;;AAAA;;;AAGG;AAMU,MAAA,qCAAqC,GAAG;AACjD,IAAA,CAACA,mBAAsD,GACnD,uDAAuD;AAC3D,IAAA,CAACC,oCAAuE,GACpE,gLAAgL;AACpL,IAAA,CAACC,wBAA2D,GACxD,uRAAuR;EAC7R;AAEF;;;AAGG;AACU,MAAA,oCAAoC,GAAG;AAChD,IAAA,wBAAwB,EAAE;QACtB,IAAI,EAAEF,mBAAsD;AAC5D,QAAA,IAAI,EAAE,qCAAqC,CACvCA,mBAAsD,CACzD;AACJ,KAAA;AACD,IAAA,qBAAqB,EAAE;QACnB,IAAI,EAAEC,oCAAuE;QAC7E,IAAI,EAAE,qCAAqC,CACvCE,oCACyC,CAC5C;AACJ,KAAA;AACD,IAAA,wBAAwB,EAAE;QACtB,IAAI,EAAED,wBAA2D;AACjE,QAAA,IAAI,EAAE,qCAAqC,CACvCA,wBAA2D,CAC9D;AACJ,KAAA;EACH;AAEF;;AAEG;AACG,MAAO,6BAA8B,SAAQ,SAAS,CAAA;IACxD,WAAY,CAAA,SAAiB,EAAE,YAAqB,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,+BAA+B,CAAC;QAE5C,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC;KACxE;AACJ,CAAA;AAEK,SAAU,mCAAmC,CAC/C,SAAiB,EAAA;IAEjB,OAAO,IAAI,6BAA6B,CACpC,SAAS,EACT,qCAAqC,CAAC,SAAS,CAAC,CACnD,CAAC;AACN;;;;"}
|
||||
4
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.d.ts
generated
vendored
Normal file
4
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare const storageNotSupported = "storage_not_supported";
|
||||
export declare const stubbedPublicClientApplicationCalled = "stubbed_public_client_application_called";
|
||||
export declare const inMemRedirectUnavailable = "in_mem_redirect_unavailable";
|
||||
//# sourceMappingURL=BrowserConfigurationAuthErrorCodes.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserConfigurationAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/BrowserConfigurationAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,oCAAoC,6CACH,CAAC;AAC/C,eAAO,MAAM,wBAAwB,gCAAgC,CAAC"}
|
||||
12
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.mjs
generated
vendored
Normal file
12
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.mjs
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
const storageNotSupported = "storage_not_supported";
|
||||
const stubbedPublicClientApplicationCalled = "stubbed_public_client_application_called";
|
||||
const inMemRedirectUnavailable = "in_mem_redirect_unavailable";
|
||||
|
||||
export { inMemRedirectUnavailable, storageNotSupported, stubbedPublicClientApplicationCalled };
|
||||
//# sourceMappingURL=BrowserConfigurationAuthErrorCodes.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserConfigurationAuthErrorCodes.mjs","sources":["../../src/error/BrowserConfigurationAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,mBAAmB,GAAG,wBAAwB;AACpD,MAAM,oCAAoC,GAC7C,2CAA2C;AACxC,MAAM,wBAAwB,GAAG;;;;"}
|
||||
30
node_modules/@azure/msal-browser/dist/error/NativeAuthError.d.ts
generated
vendored
Normal file
30
node_modules/@azure/msal-browser/dist/error/NativeAuthError.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { AuthError } from "@azure/msal-common/browser";
|
||||
import * as NativeAuthErrorCodes from "./NativeAuthErrorCodes.js";
|
||||
export { NativeAuthErrorCodes };
|
||||
export type OSError = {
|
||||
error?: number;
|
||||
protocol_error?: string;
|
||||
properties?: object;
|
||||
status?: string;
|
||||
retryable?: boolean;
|
||||
};
|
||||
export declare const NativeAuthErrorMessages: {
|
||||
user_switch: string;
|
||||
};
|
||||
export declare class NativeAuthError extends AuthError {
|
||||
ext: OSError | undefined;
|
||||
constructor(errorCode: string, description?: string, ext?: OSError);
|
||||
}
|
||||
/**
|
||||
* These errors should result in a fallback to the 'standard' browser based auth flow.
|
||||
*/
|
||||
export declare function isFatalNativeAuthError(error: NativeAuthError): boolean;
|
||||
/**
|
||||
* Create the appropriate error object based on the WAM status code.
|
||||
* @param code
|
||||
* @param description
|
||||
* @param ext
|
||||
* @returns
|
||||
*/
|
||||
export declare function createNativeAuthError(code: string, description?: string, ext?: OSError): AuthError;
|
||||
//# sourceMappingURL=NativeAuthError.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/NativeAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/NativeAuthError.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeAuthError.d.ts","sourceRoot":"","sources":["../../src/error/NativeAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,SAAS,EAIZ,MAAM,4BAA4B,CAAC;AAMpC,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,MAAM,MAAM,OAAO,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAIF,eAAO,MAAM,uBAAuB;;CAGnC,CAAC;AAEF,qBAAa,eAAgB,SAAQ,SAAS;IAC1C,GAAG,EAAE,OAAO,GAAG,SAAS,CAAC;gBAEb,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;CAOrE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAwBtE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,IAAI,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,OAAO,GACd,SAAS,CAyBX"}
|
||||
71
node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs
generated
vendored
Normal file
71
node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
import { AuthError, InteractionRequiredAuthError, createInteractionRequiredAuthError, InteractionRequiredAuthErrorCodes } from '@azure/msal-common/browser';
|
||||
import { createBrowserAuthError } from './BrowserAuthError.mjs';
|
||||
import { contentError, userSwitch } from './NativeAuthErrorCodes.mjs';
|
||||
import { PERSISTENT_ERROR, DISABLED, NO_NETWORK, USER_CANCEL, USER_INTERACTION_REQUIRED, ACCOUNT_UNAVAILABLE } from '../broker/nativeBroker/NativeStatusCodes.mjs';
|
||||
import { noNetworkConnectivity, userCancelled } from './BrowserAuthErrorCodes.mjs';
|
||||
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
const INVALID_METHOD_ERROR = -2147186943;
|
||||
const NativeAuthErrorMessages = {
|
||||
[userSwitch]: "User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again.",
|
||||
};
|
||||
class NativeAuthError extends AuthError {
|
||||
constructor(errorCode, description, ext) {
|
||||
super(errorCode, description);
|
||||
Object.setPrototypeOf(this, NativeAuthError.prototype);
|
||||
this.name = "NativeAuthError";
|
||||
this.ext = ext;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* These errors should result in a fallback to the 'standard' browser based auth flow.
|
||||
*/
|
||||
function isFatalNativeAuthError(error) {
|
||||
if (error.ext &&
|
||||
error.ext.status &&
|
||||
(error.ext.status === PERSISTENT_ERROR ||
|
||||
error.ext.status === DISABLED)) {
|
||||
return true;
|
||||
}
|
||||
if (error.ext &&
|
||||
error.ext.error &&
|
||||
error.ext.error === INVALID_METHOD_ERROR) {
|
||||
return true;
|
||||
}
|
||||
switch (error.errorCode) {
|
||||
case contentError:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Create the appropriate error object based on the WAM status code.
|
||||
* @param code
|
||||
* @param description
|
||||
* @param ext
|
||||
* @returns
|
||||
*/
|
||||
function createNativeAuthError(code, description, ext) {
|
||||
if (ext && ext.status) {
|
||||
switch (ext.status) {
|
||||
case ACCOUNT_UNAVAILABLE:
|
||||
return createInteractionRequiredAuthError(InteractionRequiredAuthErrorCodes.nativeAccountUnavailable);
|
||||
case USER_INTERACTION_REQUIRED:
|
||||
return new InteractionRequiredAuthError(code, description);
|
||||
case USER_CANCEL:
|
||||
return createBrowserAuthError(userCancelled);
|
||||
case NO_NETWORK:
|
||||
return createBrowserAuthError(noNetworkConnectivity);
|
||||
}
|
||||
}
|
||||
return new NativeAuthError(code, NativeAuthErrorMessages[code] || description, ext);
|
||||
}
|
||||
|
||||
export { NativeAuthError, NativeAuthErrorMessages, createNativeAuthError, isFatalNativeAuthError };
|
||||
//# sourceMappingURL=NativeAuthError.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeAuthError.mjs","sources":["../../src/error/NativeAuthError.ts"],"sourcesContent":[null],"names":["NativeAuthErrorCodes.userSwitch","NativeStatusCodes.PERSISTENT_ERROR","NativeStatusCodes.DISABLED","NativeAuthErrorCodes.contentError","NativeStatusCodes.ACCOUNT_UNAVAILABLE","NativeStatusCodes.USER_INTERACTION_REQUIRED","NativeStatusCodes.USER_CANCEL","BrowserAuthErrorCodes.userCancelled","NativeStatusCodes.NO_NETWORK","BrowserAuthErrorCodes.noNetworkConnectivity"],"mappings":";;;;;;;;AAAA;;;AAGG;AAyBH,MAAM,oBAAoB,GAAG,WAAW,CAAC;AAE5B,MAAA,uBAAuB,GAAG;AACnC,IAAA,CAACA,UAA+B,GAC5B,oKAAoK;EAC1K;AAEI,MAAO,eAAgB,SAAQ,SAAS,CAAA;AAG1C,IAAA,WAAA,CAAY,SAAiB,EAAE,WAAoB,EAAE,GAAa,EAAA;AAC9D,QAAA,KAAK,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAE9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;AACvD,QAAA,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;AAC9B,QAAA,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;KAClB;AACJ,CAAA;AAED;;AAEG;AACG,SAAU,sBAAsB,CAAC,KAAsB,EAAA;IACzD,IACI,KAAK,CAAC,GAAG;QACT,KAAK,CAAC,GAAG,CAAC,MAAM;SACf,KAAK,CAAC,GAAG,CAAC,MAAM,KAAKC,gBAAkC;YACpD,KAAK,CAAC,GAAG,CAAC,MAAM,KAAKC,QAA0B,CAAC,EACtD;AACE,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IACI,KAAK,CAAC,GAAG;QACT,KAAK,CAAC,GAAG,CAAC,KAAK;AACf,QAAA,KAAK,CAAC,GAAG,CAAC,KAAK,KAAK,oBAAoB,EAC1C;AACE,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,QAAQ,KAAK,CAAC,SAAS;QACnB,KAAKC,YAAiC;AAClC,YAAA,OAAO,IAAI,CAAC;AAChB,QAAA;AACI,YAAA,OAAO,KAAK,CAAC;AACpB,KAAA;AACL,CAAC;AAED;;;;;;AAMG;SACa,qBAAqB,CACjC,IAAY,EACZ,WAAoB,EACpB,GAAa,EAAA;AAEb,IAAA,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;QACnB,QAAQ,GAAG,CAAC,MAAM;YACd,KAAKC,mBAAqC;AACtC,gBAAA,OAAO,kCAAkC,CACrC,iCAAiC,CAAC,wBAAwB,CAC7D,CAAC;YACN,KAAKC,yBAA2C;AAC5C,gBAAA,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAC/D,KAAKC,WAA6B;AAC9B,gBAAA,OAAO,sBAAsB,CACzBC,aAAmC,CACtC,CAAC;YACN,KAAKC,UAA4B;AAC7B,gBAAA,OAAO,sBAAsB,CACzBC,qBAA2C,CAC9C,CAAC;AACT,SAAA;AACJ,KAAA;AAED,IAAA,OAAO,IAAI,eAAe,CACtB,IAAI,EACJ,uBAAuB,CAAC,IAAI,CAAC,IAAI,WAAW,EAC5C,GAAG,CACN,CAAC;AACN;;;;"}
|
||||
3
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.d.ts
generated
vendored
Normal file
3
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export declare const contentError = "ContentError";
|
||||
export declare const userSwitch = "user_switch";
|
||||
//# sourceMappingURL=NativeAuthErrorCodes.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/NativeAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,UAAU,gBAAgB,CAAC"}
|
||||
11
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.mjs
generated
vendored
Normal file
11
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
const contentError = "ContentError";
|
||||
const userSwitch = "user_switch";
|
||||
|
||||
export { contentError, userSwitch };
|
||||
//# sourceMappingURL=NativeAuthErrorCodes.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeAuthErrorCodes.mjs","sources":["../../src/error/NativeAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,YAAY,GAAG,eAAe;AACpC,MAAM,UAAU,GAAG;;;;"}
|
||||
15
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.d.ts
generated
vendored
Normal file
15
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { AuthError } from "@azure/msal-common/browser";
|
||||
/**
|
||||
* NestedAppAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
*/
|
||||
export declare const NestedAppAuthErrorMessage: {
|
||||
unsupportedMethod: {
|
||||
code: string;
|
||||
desc: string;
|
||||
};
|
||||
};
|
||||
export declare class NestedAppAuthError extends AuthError {
|
||||
constructor(errorCode: string, errorMessage?: string);
|
||||
static createUnsupportedError(): NestedAppAuthError;
|
||||
}
|
||||
//# sourceMappingURL=NestedAppAuthError.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NestedAppAuthError.d.ts","sourceRoot":"","sources":["../../src/error/NestedAppAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;CAKrC,CAAC;AAEF,qBAAa,kBAAmB,SAAQ,SAAS;gBACjC,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;WAOtC,sBAAsB,IAAI,kBAAkB;CAM7D"}
|
||||
30
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.mjs
generated
vendored
Normal file
30
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.mjs
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/*! @azure/msal-browser v4.2.1 2025-02-11 */
|
||||
'use strict';
|
||||
import { AuthError } from '@azure/msal-common/browser';
|
||||
|
||||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
/**
|
||||
* NestedAppAuthErrorMessage class containing string constants used by error codes and messages.
|
||||
*/
|
||||
const NestedAppAuthErrorMessage = {
|
||||
unsupportedMethod: {
|
||||
code: "unsupported_method",
|
||||
desc: "This method is not supported in nested app environment.",
|
||||
},
|
||||
};
|
||||
class NestedAppAuthError extends AuthError {
|
||||
constructor(errorCode, errorMessage) {
|
||||
super(errorCode, errorMessage);
|
||||
Object.setPrototypeOf(this, NestedAppAuthError.prototype);
|
||||
this.name = "NestedAppAuthError";
|
||||
}
|
||||
static createUnsupportedError() {
|
||||
return new NestedAppAuthError(NestedAppAuthErrorMessage.unsupportedMethod.code, NestedAppAuthErrorMessage.unsupportedMethod.desc);
|
||||
}
|
||||
}
|
||||
|
||||
export { NestedAppAuthError, NestedAppAuthErrorMessage };
|
||||
//# sourceMappingURL=NestedAppAuthError.mjs.map
|
||||
1
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.mjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/dist/error/NestedAppAuthError.mjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NestedAppAuthError.mjs","sources":["../../src/error/NestedAppAuthError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACU,MAAA,yBAAyB,GAAG;AACrC,IAAA,iBAAiB,EAAE;AACf,QAAA,IAAI,EAAE,oBAAoB;AAC1B,QAAA,IAAI,EAAE,yDAAyD;AAClE,KAAA;EACH;AAEI,MAAO,kBAAmB,SAAQ,SAAS,CAAA;IAC7C,WAAY,CAAA,SAAiB,EAAE,YAAqB,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAE/B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAC1D,QAAA,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;KACpC;AAEM,IAAA,OAAO,sBAAsB,GAAA;AAChC,QAAA,OAAO,IAAI,kBAAkB,CACzB,yBAAyB,CAAC,iBAAiB,CAAC,IAAI,EAChD,yBAAyB,CAAC,iBAAiB,CAAC,IAAI,CACnD,CAAC;KACL;AACJ;;;;"}
|
||||
Reference in New Issue
Block a user