Estructura inicial del proyecto

This commit is contained in:
2026-06-02 16:57:08 +00:00
commit 8b306b9afc
9864 changed files with 1435687 additions and 0 deletions

View File

@ -0,0 +1,48 @@
/*! @azure/msal-browser v5.11.0 2026-05-19 */
'use strict';
import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
import { timedOut } from '../error/BrowserAuthErrorCodes.mjs';
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
class NavigationClient {
/**
* Navigates to other pages within the same web application
* @param url
* @param options
*/
navigateInternal(url, options) {
return NavigationClient.defaultNavigateWindow(url, options);
}
/**
* Navigates to other pages outside the web application i.e. the Identity Provider
* @param url
* @param options
*/
navigateExternal(url, options) {
return NavigationClient.defaultNavigateWindow(url, options);
}
/**
* Default navigation implementation invoked by the internal and external functions
* @param url
* @param options
*/
static defaultNavigateWindow(url, options) {
if (options.noHistory) {
window.location.replace(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
}
else {
window.location.assign(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
}
return new Promise((resolve, reject) => {
setTimeout(() => {
reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
}, options.timeout);
});
}
}
export { NavigationClient };
//# sourceMappingURL=NavigationClient.mjs.map

View File

@ -0,0 +1 @@
{"version":3,"file":"NavigationClient.mjs","sources":["../../src/navigation/NavigationClient.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.timedOut"],"mappings":";;;;;AAAA;;;AAGG;MASU,gBAAgB,CAAA;AACzB;;;;AAIG;IACH,gBAAgB,CACZ,GAAW,EACX,OAA0B,EAAA;QAE1B,OAAO,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KAC/D;AAED;;;;AAIG;IACH,gBAAgB,CACZ,GAAW,EACX,OAA0B,EAAA;QAE1B,OAAO,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;KAC/D;AAED;;;;AAIG;AACK,IAAA,OAAO,qBAAqB,CAChC,GAAW,EACX,OAA0B,EAAA;QAE1B,IAAI,OAAO,CAAC,SAAS,EAAE;YACnB,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAChC,SAAA;AAAM,aAAA;YACH,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAC/B,SAAA;QAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,KAAI;YACnC,UAAU,CAAC,MAAK;gBACZ,MAAM,CACF,sBAAsB,CAClBA,QAA8B,EAC9B,oBAAoB,CACvB,CACJ,CAAC;AACN,aAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;AACxB,SAAC,CAAC,CAAC;KACN;AACJ;;;;"}