Commit iniziale
This commit is contained in:
19721
node_modules/@azure/msal-browser/lib/msal-browser.cjs
generated
vendored
Normal file
19721
node_modules/@azure/msal-browser/lib/msal-browser.cjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@azure/msal-browser/lib/msal-browser.cjs.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/msal-browser.cjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
19727
node_modules/@azure/msal-browser/lib/msal-browser.js
generated
vendored
Normal file
19727
node_modules/@azure/msal-browser/lib/msal-browser.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@azure/msal-browser/lib/msal-browser.js.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/msal-browser.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
66
node_modules/@azure/msal-browser/lib/msal-browser.min.js
generated
vendored
Normal file
66
node_modules/@azure/msal-browser/lib/msal-browser.min.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/@azure/msal-browser/lib/package.json
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/package.json
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"type":"commonjs"}
|
||||
55
node_modules/@azure/msal-browser/lib/types/app/IPublicClientApplication.d.ts
generated
vendored
Normal file
55
node_modules/@azure/msal-browser/lib/types/app/IPublicClientApplication.d.ts
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import { AccountFilter, AccountInfo, Logger, PerformanceCallbackFunction } from "@azure/msal-common/browser";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { WrapperSKU } from "../utils/BrowserConstants.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
export interface IPublicClientApplication {
|
||||
initialize(request?: InitializeApplicationRequest): Promise<void>;
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
removeEventCallback(callbackId: string): void;
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
enableAccountStorageEvents(): void;
|
||||
disableAccountStorageEvents(): void;
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
getAccountByLocalId(localId: string): AccountInfo | null;
|
||||
getAccountByUsername(userName: string): AccountInfo | null;
|
||||
getAllAccounts(): AccountInfo[];
|
||||
handleRedirectPromise(hash?: string): Promise<AuthenticationResult | null>;
|
||||
loginPopup(request?: PopupRequest): Promise<AuthenticationResult>;
|
||||
loginRedirect(request?: RedirectRequest): Promise<void>;
|
||||
logout(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
||||
ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
|
||||
getTokenCache(): ITokenCache;
|
||||
getLogger(): Logger;
|
||||
setLogger(logger: Logger): void;
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
/** @internal */
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
}
|
||||
export declare const stubbedPublicClientApplication: IPublicClientApplication;
|
||||
//# sourceMappingURL=IPublicClientApplication.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/app/IPublicClientApplication.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/app/IPublicClientApplication.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IPublicClientApplication.d.ts","sourceRoot":"","sources":["../../../src/app/IPublicClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,WAAW,EACX,MAAM,EACN,2BAA2B,EAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAKpE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAA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,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC/D,gBAAgB;IAChB,gBAAgB,IAAI,oBAAoB,CAAC;IACzC,YAAY,CACR,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,UAAU,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,eAAO,MAAM,8BAA8B,EAAE,wBAkK5C,CAAC"}
|
||||
296
node_modules/@azure/msal-browser/lib/types/app/PublicClientApplication.d.ts
generated
vendored
Normal file
296
node_modules/@azure/msal-browser/lib/types/app/PublicClientApplication.d.ts
generated
vendored
Normal file
@@ -0,0 +1,296 @@
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { WrapperSKU } from "../utils/BrowserConstants.js";
|
||||
import { IPublicClientApplication } from "./IPublicClientApplication.js";
|
||||
import { IController } from "../controllers/IController.js";
|
||||
import { PerformanceCallbackFunction, AccountInfo, AccountFilter, Logger } from "@azure/msal-common/browser";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { BrowserConfiguration, Configuration } from "../config/Configuration.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
/**
|
||||
* The PublicClientApplication class is the object exposed by the library to perform authentication and authorization functions in Single Page Applications
|
||||
* to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.
|
||||
*/
|
||||
export declare class PublicClientApplication implements IPublicClientApplication {
|
||||
protected controller: IController;
|
||||
/**
|
||||
* Creates StandardController and passes it to the PublicClientApplication
|
||||
*
|
||||
* @param configuration {Configuration}
|
||||
*/
|
||||
static createPublicClientApplication(configuration: Configuration): Promise<IPublicClientApplication>;
|
||||
/**
|
||||
* @constructor
|
||||
* Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
|
||||
*
|
||||
* Important attributes in the Configuration object for auth are:
|
||||
* - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
|
||||
* - authority: the authority URL for your application.
|
||||
* - redirect_uri: the uri of your application registered in the portal.
|
||||
*
|
||||
* In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
|
||||
* It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
|
||||
* If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
|
||||
* If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
|
||||
* If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
|
||||
* To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
|
||||
*
|
||||
* In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
|
||||
* Full B2C functionality will be available in this library in future versions.
|
||||
*
|
||||
* @param configuration Object for the MSAL PublicClientApplication instance
|
||||
* @param IController Optional parameter to explictly set the controller. (Will be removed when we remove public constructor)
|
||||
*/
|
||||
constructor(configuration: Configuration, controller?: IController);
|
||||
/**
|
||||
* Initializer function to perform async startup tasks such as connecting to WAM extension
|
||||
* @param request {?InitializeApplicationRequest}
|
||||
*/
|
||||
initialize(request?: InitializeApplicationRequest): Promise<void>;
|
||||
/**
|
||||
* Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
|
||||
*
|
||||
* @param request
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
|
||||
* the page, so any code that follows this function will not execute.
|
||||
*
|
||||
* IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
|
||||
* browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
|
||||
*
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
/**
|
||||
* Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
|
||||
*
|
||||
* @param {@link (SilentRequest:type)}
|
||||
* @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthenticationResult} object
|
||||
*/
|
||||
acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* This function redeems an authorization code (passed as code) from the eSTS token endpoint.
|
||||
* This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
|
||||
* This API is not indended for normal authorization code acquisition and redemption.
|
||||
*
|
||||
* Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
|
||||
*
|
||||
* @param request {@link AuthorizationCodeRequest}
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Adds event callbacks to array
|
||||
* @param callback
|
||||
* @param eventTypes
|
||||
*/
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
/**
|
||||
* Removes callback with provided id from callback array
|
||||
* @param callbackId
|
||||
*/
|
||||
removeEventCallback(callbackId: string): void;
|
||||
/**
|
||||
* Registers a callback to receive performance events.
|
||||
*
|
||||
* @param {PerformanceCallbackFunction} callback
|
||||
* @returns {string}
|
||||
*/
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
/**
|
||||
* Removes a callback registered with addPerformanceCallback.
|
||||
*
|
||||
* @param {string} callbackId
|
||||
* @returns {boolean}
|
||||
*/
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
/**
|
||||
* Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
|
||||
*/
|
||||
enableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
|
||||
*/
|
||||
disableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Returns the first account found in the cache that matches the account filter passed in.
|
||||
* @param accountFilter
|
||||
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
||||
*/
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching homeAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param homeAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
* @deprecated - Use getAccount instead
|
||||
*/
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching localAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param localAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
* @deprecated - Use getAccount instead
|
||||
*/
|
||||
getAccountByLocalId(localId: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching username.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found.
|
||||
* This API is provided for convenience but getAccountById should be used for best reliability
|
||||
* @param userName
|
||||
* @returns The account object stored in MSAL
|
||||
* @deprecated - Use getAccount instead
|
||||
*/
|
||||
getAccountByUsername(userName: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
|
||||
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
||||
* @returns Array of AccountInfo objects in cache
|
||||
*/
|
||||
getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
|
||||
/**
|
||||
* Event handler function which allows users to fire events after the PublicClientApplication object
|
||||
* has loaded during redirect flows. This should be invoked on all page loads involved in redirect
|
||||
* auth flows.
|
||||
* @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
|
||||
* @returns Token response or null. If the return value is null, then no auth redirect was detected.
|
||||
*/
|
||||
handleRedirectPromise(hash?: string | undefined): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* Use when initiating the login process via opening a popup window in the user's browser
|
||||
*
|
||||
* @param request
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
|
||||
* any code that follows this function will not execute.
|
||||
*
|
||||
* IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
|
||||
* browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
|
||||
*
|
||||
* @param request
|
||||
*/
|
||||
loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
|
||||
/**
|
||||
* Deprecated logout function. Use logoutRedirect or logoutPopup instead
|
||||
* @param logoutRequest
|
||||
* @deprecated
|
||||
*/
|
||||
logout(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
||||
* Default behaviour is to redirect the user to `window.location.href`.
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
||||
/**
|
||||
* This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
|
||||
* - Any browser using a form of Intelligent Tracking Prevention
|
||||
* - If there is not an established session with the service
|
||||
*
|
||||
* In these cases, the request must be done inside a popup or full frame redirect.
|
||||
*
|
||||
* For the cases where interaction is required, you cannot send a request with prompt=none.
|
||||
*
|
||||
* If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
|
||||
* you session on the server still exists.
|
||||
* @param request {@link SsoSilentRequest}
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Gets the token cache for the application.
|
||||
*/
|
||||
getTokenCache(): ITokenCache;
|
||||
/**
|
||||
* Returns the logger instance
|
||||
*/
|
||||
getLogger(): Logger;
|
||||
/**
|
||||
* Replaces the default logger set in configurations with new Logger with new configurations
|
||||
* @param logger Logger instance
|
||||
*/
|
||||
setLogger(logger: Logger): void;
|
||||
/**
|
||||
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
||||
* @param account
|
||||
*/
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
/**
|
||||
* Gets the currently active account
|
||||
*/
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
/**
|
||||
* Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
|
||||
* @param sku
|
||||
* @param version
|
||||
*/
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
/**
|
||||
* Sets navigation client
|
||||
* @param navigationClient
|
||||
*/
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
/**
|
||||
* Returns the configuration object
|
||||
* @internal
|
||||
*/
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
/**
|
||||
* Hydrates cache with the tokens and account in the AuthenticationResult object
|
||||
* @param result
|
||||
* @param request - The request object that was used to obtain the AuthenticationResult
|
||||
* @returns
|
||||
*/
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
/**
|
||||
* Clears tokens and account from the browser cache.
|
||||
* @param logoutRequest
|
||||
*/
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
}
|
||||
/**
|
||||
* creates NestedAppAuthController and passes it to the PublicClientApplication,
|
||||
* falls back to StandardController if NestedAppAuthController is not available
|
||||
*
|
||||
* @param configuration
|
||||
* @returns IPublicClientApplication
|
||||
*
|
||||
*/
|
||||
export declare function createNestablePublicClientApplication(configuration: Configuration): Promise<IPublicClientApplication>;
|
||||
/**
|
||||
* creates PublicClientApplication using StandardController
|
||||
*
|
||||
* @param configuration
|
||||
* @returns IPublicClientApplication
|
||||
*
|
||||
*/
|
||||
export declare function createStandardPublicClientApplication(configuration: Configuration): Promise<IPublicClientApplication>;
|
||||
//# sourceMappingURL=PublicClientApplication.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/app/PublicClientApplication.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/app/PublicClientApplication.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PublicClientApplication.d.ts","sourceRoot":"","sources":["../../../src/app/PublicClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCA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,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAIhB;;;OAGG;IACH,UAAU,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAG/D;AAED;;;;;;;GAOG;AACH,wBAAsB,qCAAqC,CACvD,aAAa,EAAE,aAAa,GAC7B,OAAO,CAAC,wBAAwB,CAAC,CAenC;AAED;;;;;;GAMG;AACH,wBAAsB,qCAAqC,CACvD,aAAa,EAAE,aAAa,GAC7B,OAAO,CAAC,wBAAwB,CAAC,CAInC"}
|
||||
278
node_modules/@azure/msal-browser/lib/types/app/PublicClientNext.d.ts
generated
vendored
Normal file
278
node_modules/@azure/msal-browser/lib/types/app/PublicClientNext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,278 @@
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { WrapperSKU } from "../utils/BrowserConstants.js";
|
||||
import { IPublicClientApplication } from "./IPublicClientApplication.js";
|
||||
import { IController } from "../controllers/IController.js";
|
||||
import { PerformanceCallbackFunction, AccountInfo, AccountFilter, Logger } from "@azure/msal-common/browser";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { BrowserConfiguration, Configuration } from "../config/Configuration.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
/**
|
||||
* PublicClientNext is an early look at the planned implementation of PublicClientApplication in the next major version of MSAL.js.
|
||||
* It contains support for multiple API implementations based on the runtime environment that it is running in.
|
||||
*
|
||||
* The goals of these changes are to provide a clean separation of behavior between different operating contexts (Nested App Auth, Platform Brokers, Plain old Browser, etc.)
|
||||
* while still providing a consistent API surface for developers.
|
||||
*
|
||||
* Please use PublicClientApplication for any prod/real-world scenarios.
|
||||
* Note: PublicClientNext is experimental and subject to breaking changes without following semver
|
||||
*
|
||||
*/
|
||||
export declare class PublicClientNext implements IPublicClientApplication {
|
||||
protected controller: IController;
|
||||
protected configuration: Configuration;
|
||||
static createPublicClientApplication(configuration: Configuration): Promise<IPublicClientApplication>;
|
||||
/**
|
||||
* @constructor
|
||||
* Constructor for the PublicClientNext used to instantiate the PublicClientNext object
|
||||
*
|
||||
* Important attributes in the Configuration object for auth are:
|
||||
* - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
|
||||
* - authority: the authority URL for your application.
|
||||
* - redirect_uri: the uri of your application registered in the portal.
|
||||
*
|
||||
* In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
|
||||
* It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
|
||||
* If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
|
||||
* If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
|
||||
* If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
|
||||
* To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
|
||||
*
|
||||
* In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
|
||||
* Full B2C functionality will be available in this library in future versions.
|
||||
*
|
||||
* @param configuration Object for the MSAL PublicClientApplication instance
|
||||
* @param IController Optional parameter to explictly set the controller. (Will be removed when we remove public constructor)
|
||||
*/
|
||||
private constructor();
|
||||
/**
|
||||
* Initializer function to perform async startup tasks such as connecting to WAM extension
|
||||
*/
|
||||
initialize(): Promise<void>;
|
||||
/**
|
||||
* Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
|
||||
*
|
||||
* @param request
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
|
||||
* the page, so any code that follows this function will not execute.
|
||||
*
|
||||
* IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
|
||||
* browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
|
||||
*
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
/**
|
||||
* Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
|
||||
*
|
||||
* @param {@link (SilentRequest:type)}
|
||||
* @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthenticationResult} object
|
||||
*/
|
||||
acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* This function redeems an authorization code (passed as code) from the eSTS token endpoint.
|
||||
* This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
|
||||
* This API is not indended for normal authorization code acquisition and redemption.
|
||||
*
|
||||
* Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
|
||||
*
|
||||
* @param request {@link AuthorizationCodeRequest}
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Adds event callbacks to array
|
||||
* @param callback
|
||||
*/
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
/**
|
||||
* Removes callback with provided id from callback array
|
||||
* @param callbackId
|
||||
*/
|
||||
removeEventCallback(callbackId: string): void;
|
||||
/**
|
||||
* Registers a callback to receive performance events.
|
||||
*
|
||||
* @param {PerformanceCallbackFunction} callback
|
||||
* @returns {string}
|
||||
*/
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
/**
|
||||
* Removes a callback registered with addPerformanceCallback.
|
||||
*
|
||||
* @param {string} callbackId
|
||||
* @returns {boolean}
|
||||
*/
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
/**
|
||||
* Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
|
||||
*/
|
||||
enableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
|
||||
*/
|
||||
disableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Returns the first account found in the cache that matches the account filter passed in.
|
||||
* @param accountFilter
|
||||
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
||||
*/
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching homeAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param homeAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
* @deprecated - Use getAccount instead
|
||||
*/
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching localAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param localAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
* @deprecated - Use getAccount instead
|
||||
*/
|
||||
getAccountByLocalId(localId: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching username.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found.
|
||||
* This API is provided for convenience but getAccountById should be used for best reliability
|
||||
* @param userName
|
||||
* @returns The account object stored in MSAL
|
||||
* @deprecated - Use getAccount instead
|
||||
*/
|
||||
getAccountByUsername(userName: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
|
||||
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
||||
* @returns Array of AccountInfo objects in cache
|
||||
*/
|
||||
getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
|
||||
/**
|
||||
* Event handler function which allows users to fire events after the PublicClientApplication object
|
||||
* has loaded during redirect flows. This should be invoked on all page loads involved in redirect
|
||||
* auth flows.
|
||||
* @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
|
||||
* @returns Token response or null. If the return value is null, then no auth redirect was detected.
|
||||
*/
|
||||
handleRedirectPromise(hash?: string | undefined): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* Use when initiating the login process via opening a popup window in the user's browser
|
||||
*
|
||||
* @param request
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
|
||||
* any code that follows this function will not execute.
|
||||
*
|
||||
* IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
|
||||
* browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
|
||||
*
|
||||
* @param request
|
||||
*/
|
||||
loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
|
||||
/**
|
||||
* Deprecated logout function. Use logoutRedirect or logoutPopup instead
|
||||
* @param logoutRequest
|
||||
* @deprecated
|
||||
*/
|
||||
logout(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
||||
* Default behaviour is to redirect the user to `window.location.href`.
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logoutPopup(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
|
||||
* - Any browser using a form of Intelligent Tracking Prevention
|
||||
* - If there is not an established session with the service
|
||||
*
|
||||
* In these cases, the request must be done inside a popup or full frame redirect.
|
||||
*
|
||||
* For the cases where interaction is required, you cannot send a request with prompt=none.
|
||||
*
|
||||
* If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
|
||||
* you session on the server still exists.
|
||||
* @param request {@link SsoSilentRequest}
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Gets the token cache for the application.
|
||||
*/
|
||||
getTokenCache(): ITokenCache;
|
||||
/**
|
||||
* Returns the logger instance
|
||||
*/
|
||||
getLogger(): Logger;
|
||||
/**
|
||||
* Replaces the default logger set in configurations with new Logger with new configurations
|
||||
* @param logger Logger instance
|
||||
*/
|
||||
setLogger(logger: Logger): void;
|
||||
/**
|
||||
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
||||
* @param account
|
||||
*/
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
/**
|
||||
* Gets the currently active account
|
||||
*/
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
/**
|
||||
* Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
|
||||
* @param sku
|
||||
* @param version
|
||||
*/
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
/**
|
||||
* Sets navigation client
|
||||
* @param navigationClient
|
||||
*/
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
/**
|
||||
* Returns the configuration object
|
||||
* @internal
|
||||
*/
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
/**
|
||||
* Hydrates cache with the tokens and account in the AuthenticationResult object
|
||||
* @param result
|
||||
* @param request - The request object that was used to obtain the AuthenticationResult
|
||||
* @returns
|
||||
*/
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
/**
|
||||
* Clears tokens and account from the browser cache.
|
||||
* @param logoutRequest
|
||||
*/
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=PublicClientNext.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/app/PublicClientNext.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/app/PublicClientNext.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PublicClientNext.d.ts","sourceRoot":"","sources":["../../../src/app/PublicClientNext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACH,2BA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AW,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7D;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAInE;;OAEG;IACH,aAAa,IAAI,WAAW;IAI5B;;OAEG;IACH,SAAS,IAAI,MAAM;IAInB;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAI/B;;;OAGG;IACH,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI;IAInD;;OAEG;IACH,gBAAgB,IAAI,WAAW,GAAG,IAAI;IAItC;;;;OAIG;IACH,wBAAwB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAIhE;;;OAGG;IACH,mBAAmB,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI;IAI9D;;;OAGG;IACH,gBAAgB,IAAI,oBAAoB;IAIxC;;;;;OAKG;IACG,YAAY,CACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAIhB;;;OAGG;IACH,UAAU,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAG/D"}
|
||||
63
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeMessageHandler.d.ts
generated
vendored
Normal file
63
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeMessageHandler.d.ts
generated
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import { Logger, AuthenticationScheme, IPerformanceClient } from "@azure/msal-common/browser";
|
||||
import { NativeExtensionRequestBody } from "./NativeRequest.js";
|
||||
import { BrowserConfiguration } from "../../config/Configuration.js";
|
||||
export declare class NativeMessageHandler {
|
||||
private extensionId;
|
||||
private extensionVersion;
|
||||
private logger;
|
||||
private readonly handshakeTimeoutMs;
|
||||
private timeoutId;
|
||||
private resolvers;
|
||||
private handshakeResolvers;
|
||||
private messageChannel;
|
||||
private readonly windowListener;
|
||||
private readonly performanceClient;
|
||||
private readonly handshakeEvent;
|
||||
constructor(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient, extensionId?: string);
|
||||
/**
|
||||
* Sends a given message to the extension and resolves with the extension response
|
||||
* @param body
|
||||
*/
|
||||
sendMessage(body: NativeExtensionRequestBody): Promise<object>;
|
||||
/**
|
||||
* Returns an instance of the MessageHandler that has successfully established a connection with an extension
|
||||
* @param {Logger} logger
|
||||
* @param {number} handshakeTimeoutMs
|
||||
* @param {IPerformanceClient} performanceClient
|
||||
* @param {ICrypto} crypto
|
||||
*/
|
||||
static createProvider(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient): Promise<NativeMessageHandler>;
|
||||
/**
|
||||
* Send handshake request helper.
|
||||
*/
|
||||
private sendHandshakeRequest;
|
||||
/**
|
||||
* Invoked when a message is posted to the window. If a handshake request is received it means the extension is not installed.
|
||||
* @param event
|
||||
*/
|
||||
private onWindowMessage;
|
||||
/**
|
||||
* Invoked when a message is received from the extension on the MessageChannel port
|
||||
* @param event
|
||||
*/
|
||||
private onChannelMessage;
|
||||
/**
|
||||
* Returns the Id for the browser extension this handler is communicating with
|
||||
* @returns
|
||||
*/
|
||||
getExtensionId(): string | undefined;
|
||||
/**
|
||||
* Returns the version for the browser extension this handler is communicating with
|
||||
* @returns
|
||||
*/
|
||||
getExtensionVersion(): string | undefined;
|
||||
/**
|
||||
* Returns boolean indicating whether or not the request should attempt to use native broker
|
||||
* @param logger
|
||||
* @param config
|
||||
* @param nativeExtensionProvider
|
||||
* @param authenticationScheme
|
||||
*/
|
||||
static isPlatformBrokerAvailable(config: BrowserConfiguration, logger: Logger, nativeExtensionProvider?: NativeMessageHandler, authenticationScheme?: AuthenticationScheme): boolean;
|
||||
}
|
||||
//# sourceMappingURL=NativeMessageHandler.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeMessageHandler.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeMessageHandler.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeMessageHandler.d.ts","sourceRoot":"","sources":["../../../../src/broker/nativeBroker/NativeMessageHandler.ts"],"names":[],"mappings":"AASA,OAAO,EACH,MAAM,EAIN,oBAAoB,EAGpB,kBAAkB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,0BAA0B,EAC7B,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAUrE,qBAAa,oBAAoB;IAC7B,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,gBAAgB,CAAqB;IAC7C,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAS;IAC5C,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,SAAS,CAAyC;IAC1D,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgC;IAC/D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAqB;IACvD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6B;gBAGxD,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,kBAAkB,EACrC,WAAW,CAAC,EAAE,MAAM;IAexB;;;OAGG;IACG,WAAW,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,MAAM,CAAC;IAwBpE;;;;;;OAMG;WACU,cAAc,CACvB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,oBAAoB,CAAC;IAuBhC;;OAEG;YACW,oBAAoB;IAsDlC;;;OAGG;IACH,OAAO,CAAC,eAAe;IAyDvB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAiGxB;;;OAGG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS;IAIpC;;;OAGG;IACH,mBAAmB,IAAI,MAAM,GAAG,SAAS;IAIzC;;;;;;OAMG;IACH,MAAM,CAAC,yBAAyB,CAC5B,MAAM,EAAE,oBAAoB,EAC5B,MAAM,EAAE,MAAM,EACd,uBAAuB,CAAC,EAAE,oBAAoB,EAC9C,oBAAoB,CAAC,EAAE,oBAAoB,GAC5C,OAAO;CAoCb"}
|
||||
47
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeRequest.d.ts
generated
vendored
Normal file
47
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
import { NativeExtensionMethod } from "../../utils/BrowserConstants.js";
|
||||
import { StoreInCache, StringDict } from "@azure/msal-common/browser";
|
||||
/**
|
||||
* Token request which native broker will use to acquire tokens
|
||||
*/
|
||||
export type NativeTokenRequest = {
|
||||
accountId: string;
|
||||
clientId: string;
|
||||
authority: string;
|
||||
redirectUri: string;
|
||||
scope: string;
|
||||
correlationId: string;
|
||||
windowTitleSubstring: string;
|
||||
prompt?: string;
|
||||
nonce?: string;
|
||||
claims?: string;
|
||||
state?: string;
|
||||
reqCnf?: string;
|
||||
keyId?: string;
|
||||
tokenType?: string;
|
||||
shrClaims?: string;
|
||||
shrNonce?: string;
|
||||
resourceRequestMethod?: string;
|
||||
resourceRequestUri?: string;
|
||||
extendedExpiryToken?: boolean;
|
||||
extraParameters?: StringDict;
|
||||
storeInCache?: StoreInCache;
|
||||
signPopToken?: boolean;
|
||||
embeddedClientId?: string;
|
||||
};
|
||||
/**
|
||||
* Request which will be forwarded to native broker by the browser extension
|
||||
*/
|
||||
export type NativeExtensionRequestBody = {
|
||||
method: NativeExtensionMethod;
|
||||
request?: NativeTokenRequest;
|
||||
};
|
||||
/**
|
||||
* Browser extension request
|
||||
*/
|
||||
export type NativeExtensionRequest = {
|
||||
channel: string;
|
||||
responseId: string;
|
||||
extensionId?: string;
|
||||
body: NativeExtensionRequestBody;
|
||||
};
|
||||
//# sourceMappingURL=NativeRequest.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeRequest.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeRequest.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeRequest.d.ts","sourceRoot":"","sources":["../../../../src/broker/nativeBroker/NativeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,0BAA0B,CAAC;CACpC,CAAC"}
|
||||
49
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeResponse.d.ts
generated
vendored
Normal file
49
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Account properties returned by Native Platform e.g. WAM
|
||||
*/
|
||||
export type NativeAccountInfo = {
|
||||
id: string;
|
||||
properties: object;
|
||||
userName: string;
|
||||
};
|
||||
/**
|
||||
* Token response returned by Native Platform
|
||||
*/
|
||||
export type NativeResponse = {
|
||||
access_token: string;
|
||||
account: NativeAccountInfo;
|
||||
client_info: string;
|
||||
expires_in: number;
|
||||
id_token: string;
|
||||
properties: NativeResponseProperties;
|
||||
scope: string;
|
||||
state: string;
|
||||
shr?: string;
|
||||
extendedLifetimeToken?: boolean;
|
||||
};
|
||||
/**
|
||||
* Properties returned under "properties" of the NativeResponse
|
||||
*/
|
||||
export type NativeResponseProperties = {
|
||||
MATS?: string;
|
||||
};
|
||||
/**
|
||||
* The native token broker can optionally include additional information about operations it performs. If that data is returned, MSAL.js will include the following properties in the telemetry it collects.
|
||||
*/
|
||||
export type MATS = {
|
||||
is_cached?: number;
|
||||
broker_version?: string;
|
||||
account_join_on_start?: string;
|
||||
account_join_on_end?: string;
|
||||
device_join?: string;
|
||||
prompt_behavior?: string;
|
||||
api_error_code?: number;
|
||||
ui_visible?: boolean;
|
||||
silent_code?: number;
|
||||
silent_bi_sub_code?: number;
|
||||
silent_message?: string;
|
||||
silent_status?: number;
|
||||
http_status?: number;
|
||||
http_event_count?: number;
|
||||
};
|
||||
//# sourceMappingURL=NativeResponse.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeResponse.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeResponse.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeResponse.d.ts","sourceRoot":"","sources":["../../../../src/broker/nativeBroker/NativeResponse.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,wBAAwB,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
|
||||
8
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeStatusCodes.d.ts
generated
vendored
Normal file
8
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeStatusCodes.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export declare const USER_INTERACTION_REQUIRED = "USER_INTERACTION_REQUIRED";
|
||||
export declare const USER_CANCEL = "USER_CANCEL";
|
||||
export declare const NO_NETWORK = "NO_NETWORK";
|
||||
export declare const TRANSIENT_ERROR = "TRANSIENT_ERROR";
|
||||
export declare const PERSISTENT_ERROR = "PERSISTENT_ERROR";
|
||||
export declare const DISABLED = "DISABLED";
|
||||
export declare const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE";
|
||||
//# sourceMappingURL=NativeStatusCodes.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeStatusCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/NativeStatusCodes.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeStatusCodes.d.ts","sourceRoot":"","sources":["../../../../src/broker/nativeBroker/NativeStatusCodes.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC"}
|
||||
49
node_modules/@azure/msal-browser/lib/types/cache/AccountManager.d.ts
generated
vendored
Normal file
49
node_modules/@azure/msal-browser/lib/types/cache/AccountManager.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import { AccountInfo, AccountFilter, Logger } from "@azure/msal-common/browser";
|
||||
import { BrowserCacheManager } from "./BrowserCacheManager.js";
|
||||
/**
|
||||
* Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
|
||||
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
||||
* @returns Array of AccountInfo objects in cache
|
||||
*/
|
||||
export declare function getAllAccounts(logger: Logger, browserStorage: BrowserCacheManager, isInBrowser: boolean, accountFilter?: AccountFilter): AccountInfo[];
|
||||
/**
|
||||
* Returns the first account found in the cache that matches the account filter passed in.
|
||||
* @param accountFilter
|
||||
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
||||
*/
|
||||
export declare function getAccount(accountFilter: AccountFilter, logger: Logger, browserStorage: BrowserCacheManager): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching username.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found.
|
||||
* This API is provided for convenience but getAccountById should be used for best reliability
|
||||
* @param username
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
export declare function getAccountByUsername(username: string, logger: Logger, browserStorage: BrowserCacheManager): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching homeAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param homeAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
export declare function getAccountByHomeId(homeAccountId: string, logger: Logger, browserStorage: BrowserCacheManager): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching localAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param localAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
export declare function getAccountByLocalId(localAccountId: string, logger: Logger, browserStorage: BrowserCacheManager): AccountInfo | null;
|
||||
/**
|
||||
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
||||
* @param account
|
||||
*/
|
||||
export declare function setActiveAccount(account: AccountInfo | null, browserStorage: BrowserCacheManager): void;
|
||||
/**
|
||||
* Gets the currently active account
|
||||
*/
|
||||
export declare function getActiveAccount(browserStorage: BrowserCacheManager): AccountInfo | null;
|
||||
//# sourceMappingURL=AccountManager.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/AccountManager.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/AccountManager.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AccountManager.d.ts","sourceRoot":"","sources":["../../../src/cache/AccountManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;GAIG;AACH,wBAAgB,cAAc,CAC1B,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,EACnC,WAAW,EAAE,OAAO,EACpB,aAAa,CAAC,EAAE,aAAa,GAC9B,WAAW,EAAE,CAGf;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACtB,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,GACpC,WAAW,GAAG,IAAI,CAmBpB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAChC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,GACpC,WAAW,GAAG,IAAI,CAwBpB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAC9B,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,GACpC,WAAW,GAAG,IAAI,CAwBpB;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,GACpC,WAAW,GAAG,IAAI,CAwBpB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC5B,OAAO,EAAE,WAAW,GAAG,IAAI,EAC3B,cAAc,EAAE,mBAAmB,GACpC,IAAI,CAEN;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC5B,cAAc,EAAE,mBAAmB,GACpC,WAAW,GAAG,IAAI,CAEpB"}
|
||||
51
node_modules/@azure/msal-browser/lib/types/cache/AsyncMemoryStorage.d.ts
generated
vendored
Normal file
51
node_modules/@azure/msal-browser/lib/types/cache/AsyncMemoryStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import { Logger } from "@azure/msal-common/browser";
|
||||
import { IAsyncStorage } from "./IAsyncStorage.js";
|
||||
/**
|
||||
* This class allows MSAL to store artifacts asynchronously using the DatabaseStorage IndexedDB wrapper,
|
||||
* backed up with the more volatile MemoryStorage object for cases in which IndexedDB may be unavailable.
|
||||
*/
|
||||
export declare class AsyncMemoryStorage<T> implements IAsyncStorage<T> {
|
||||
private inMemoryCache;
|
||||
private indexedDBCache;
|
||||
private logger;
|
||||
constructor(logger: Logger);
|
||||
private handleDatabaseAccessError;
|
||||
/**
|
||||
* Get the item matching the given key. Tries in-memory cache first, then in the asynchronous
|
||||
* storage object if item isn't found in-memory.
|
||||
* @param key
|
||||
*/
|
||||
getItem(key: string): Promise<T | null>;
|
||||
/**
|
||||
* Sets the item in the in-memory cache and then tries to set it in the asynchronous
|
||||
* storage object with the given key.
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
setItem(key: string, value: T): Promise<void>;
|
||||
/**
|
||||
* Removes the item matching the key from the in-memory cache, then tries to remove it from the asynchronous storage object.
|
||||
* @param key
|
||||
*/
|
||||
removeItem(key: string): Promise<void>;
|
||||
/**
|
||||
* Get all the keys from the in-memory cache as an iterable array of strings. If no keys are found, query the keys in the
|
||||
* asynchronous storage object.
|
||||
*/
|
||||
getKeys(): Promise<string[]>;
|
||||
/**
|
||||
* Returns true or false if the given key is present in the cache.
|
||||
* @param key
|
||||
*/
|
||||
containsKey(key: string): Promise<boolean>;
|
||||
/**
|
||||
* Clears in-memory Map
|
||||
*/
|
||||
clearInMemory(): void;
|
||||
/**
|
||||
* Tries to delete the IndexedDB database
|
||||
* @returns
|
||||
*/
|
||||
clearPersistent(): Promise<boolean>;
|
||||
}
|
||||
//# sourceMappingURL=AsyncMemoryStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/AsyncMemoryStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/AsyncMemoryStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AsyncMemoryStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/AsyncMemoryStorage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAMpD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD;;;GAGG;AACH,qBAAa,kBAAkB,CAAC,CAAC,CAAE,YAAW,aAAa,CAAC,CAAC,CAAC;IAC1D,OAAO,CAAC,aAAa,CAAmB;IACxC,OAAO,CAAC,cAAc,CAAqB;IAC3C,OAAO,CAAC,MAAM,CAAS;gBAEX,MAAM,EAAE,MAAM;IAM1B,OAAO,CAAC,yBAAyB;IAYjC;;;;OAIG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAe7C;;;;;OAKG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IASnD;;;OAGG;IACG,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAS5C;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAelC;;;OAGG;IACG,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAehD;;OAEG;IACH,aAAa,IAAI,IAAI;IAOrB;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC;CAc5C"}
|
||||
312
node_modules/@azure/msal-browser/lib/types/cache/BrowserCacheManager.d.ts
generated
vendored
Normal file
312
node_modules/@azure/msal-browser/lib/types/cache/BrowserCacheManager.d.ts
generated
vendored
Normal file
@@ -0,0 +1,312 @@
|
||||
import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity, AccountInfo, TokenKeys, CredentialType, CacheRecord, IPerformanceClient, StaticAuthorityOptions, StoreInCache } from "@azure/msal-common/browser";
|
||||
import { CacheOptions } from "../config/Configuration.js";
|
||||
import { InteractionType } from "../utils/BrowserConstants.js";
|
||||
import { MemoryStorage } from "./MemoryStorage.js";
|
||||
import { IWindowStorage } from "./IWindowStorage.js";
|
||||
import { NativeTokenRequest } from "../broker/nativeBroker/NativeRequest.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { CookieStorage } from "./CookieStorage.js";
|
||||
import { EventHandler } from "../event/EventHandler.js";
|
||||
/**
|
||||
* This class implements the cache storage interface for MSAL through browser local or session storage.
|
||||
* Cookies are only used if storeAuthStateInCookie is true, and are only used for
|
||||
* parameters such as state and nonce, generally.
|
||||
*/
|
||||
export declare class BrowserCacheManager extends CacheManager {
|
||||
protected cacheConfig: Required<CacheOptions>;
|
||||
protected browserStorage: IWindowStorage<string>;
|
||||
protected internalStorage: MemoryStorage<string>;
|
||||
protected temporaryCacheStorage: IWindowStorage<string>;
|
||||
protected cookieStorage: CookieStorage;
|
||||
protected logger: Logger;
|
||||
protected performanceClient: IPerformanceClient;
|
||||
private eventHandler;
|
||||
constructor(clientId: string, cacheConfig: Required<CacheOptions>, cryptoImpl: ICrypto, logger: Logger, performanceClient: IPerformanceClient, eventHandler: EventHandler, staticAuthorityOptions?: StaticAuthorityOptions);
|
||||
initialize(correlationId: string): Promise<void>;
|
||||
/**
|
||||
* Parses passed value as JSON object, JSON.parse() will throw an error.
|
||||
* @param input
|
||||
*/
|
||||
protected validateAndParseJson(jsonValue: string): object | null;
|
||||
/**
|
||||
* Reads account from cache, deserializes it into an account entity and returns it.
|
||||
* If account is not found from the key, returns null and removes key from map.
|
||||
* @param accountKey
|
||||
* @returns
|
||||
*/
|
||||
getAccount(accountKey: string): AccountEntity | null;
|
||||
/**
|
||||
* set account entity in the platform cache
|
||||
* @param account
|
||||
*/
|
||||
setAccount(account: AccountEntity, correlationId: string): Promise<void>;
|
||||
/**
|
||||
* Returns the array of account keys currently cached
|
||||
* @returns
|
||||
*/
|
||||
getAccountKeys(): Array<string>;
|
||||
/**
|
||||
* Add a new account to the key map
|
||||
* @param key
|
||||
*/
|
||||
addAccountKeyToMap(key: string): boolean;
|
||||
/**
|
||||
* Remove an account from the key map
|
||||
* @param key
|
||||
*/
|
||||
removeAccountKeyFromMap(key: string): void;
|
||||
/**
|
||||
* Extends inherited removeAccount function to include removal of the account key from the map
|
||||
* @param key
|
||||
*/
|
||||
removeAccount(key: string): Promise<void>;
|
||||
/**
|
||||
* Removes credentials associated with the provided account
|
||||
* @param account
|
||||
*/
|
||||
removeAccountContext(account: AccountEntity): Promise<void>;
|
||||
/**
|
||||
* Removes given idToken from the cache and from the key map
|
||||
* @param key
|
||||
*/
|
||||
removeIdToken(key: string): void;
|
||||
/**
|
||||
* Removes given accessToken from the cache and from the key map
|
||||
* @param key
|
||||
*/
|
||||
removeAccessToken(key: string): Promise<void>;
|
||||
/**
|
||||
* Removes given refreshToken from the cache and from the key map
|
||||
* @param key
|
||||
*/
|
||||
removeRefreshToken(key: string): void;
|
||||
/**
|
||||
* Gets the keys for the cached tokens associated with this clientId
|
||||
* @returns
|
||||
*/
|
||||
getTokenKeys(): TokenKeys;
|
||||
/**
|
||||
* Adds the given key to the token key map
|
||||
* @param key
|
||||
* @param type
|
||||
*/
|
||||
addTokenKey(key: string, type: CredentialType): void;
|
||||
/**
|
||||
* Removes the given key from the token key map
|
||||
* @param key
|
||||
* @param type
|
||||
*/
|
||||
removeTokenKey(key: string, type: CredentialType): void;
|
||||
/**
|
||||
* generates idToken entity from a string
|
||||
* @param idTokenKey
|
||||
*/
|
||||
getIdTokenCredential(idTokenKey: string): IdTokenEntity | null;
|
||||
/**
|
||||
* set IdToken credential to the platform cache
|
||||
* @param idToken
|
||||
*/
|
||||
setIdTokenCredential(idToken: IdTokenEntity, correlationId: string): Promise<void>;
|
||||
/**
|
||||
* generates accessToken entity from a string
|
||||
* @param key
|
||||
*/
|
||||
getAccessTokenCredential(accessTokenKey: string): AccessTokenEntity | null;
|
||||
/**
|
||||
* set accessToken credential to the platform cache
|
||||
* @param accessToken
|
||||
*/
|
||||
setAccessTokenCredential(accessToken: AccessTokenEntity, correlationId: string): Promise<void>;
|
||||
/**
|
||||
* generates refreshToken entity from a string
|
||||
* @param refreshTokenKey
|
||||
*/
|
||||
getRefreshTokenCredential(refreshTokenKey: string): RefreshTokenEntity | null;
|
||||
/**
|
||||
* set refreshToken credential to the platform cache
|
||||
* @param refreshToken
|
||||
*/
|
||||
setRefreshTokenCredential(refreshToken: RefreshTokenEntity, correlationId: string): Promise<void>;
|
||||
/**
|
||||
* fetch appMetadata entity from the platform cache
|
||||
* @param appMetadataKey
|
||||
*/
|
||||
getAppMetadata(appMetadataKey: string): AppMetadataEntity | null;
|
||||
/**
|
||||
* set appMetadata entity to the platform cache
|
||||
* @param appMetadata
|
||||
*/
|
||||
setAppMetadata(appMetadata: AppMetadataEntity): void;
|
||||
/**
|
||||
* fetch server telemetry entity from the platform cache
|
||||
* @param serverTelemetryKey
|
||||
*/
|
||||
getServerTelemetry(serverTelemetryKey: string): ServerTelemetryEntity | null;
|
||||
/**
|
||||
* set server telemetry entity to the platform cache
|
||||
* @param serverTelemetryKey
|
||||
* @param serverTelemetry
|
||||
*/
|
||||
setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity): void;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
getAuthorityMetadata(key: string): AuthorityMetadataEntity | null;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
getAuthorityMetadataKeys(): Array<string>;
|
||||
/**
|
||||
* Sets wrapper metadata in memory
|
||||
* @param wrapperSKU
|
||||
* @param wrapperVersion
|
||||
*/
|
||||
setWrapperMetadata(wrapperSKU: string, wrapperVersion: string): void;
|
||||
/**
|
||||
* Returns wrapper metadata from in-memory storage
|
||||
*/
|
||||
getWrapperMetadata(): [string, string];
|
||||
/**
|
||||
*
|
||||
* @param entity
|
||||
*/
|
||||
setAuthorityMetadata(key: string, entity: AuthorityMetadataEntity): void;
|
||||
/**
|
||||
* Gets the active account
|
||||
*/
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
/**
|
||||
* Sets the active account's localAccountId in cache
|
||||
* @param account
|
||||
*/
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
/**
|
||||
* fetch throttling entity from the platform cache
|
||||
* @param throttlingCacheKey
|
||||
*/
|
||||
getThrottlingCache(throttlingCacheKey: string): ThrottlingEntity | null;
|
||||
/**
|
||||
* set throttling entity to the platform cache
|
||||
* @param throttlingCacheKey
|
||||
* @param throttlingCache
|
||||
*/
|
||||
setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity): void;
|
||||
/**
|
||||
* Gets cache item with given key.
|
||||
* Will retrieve from cookies if storeAuthStateInCookie is set to true.
|
||||
* @param key
|
||||
*/
|
||||
getTemporaryCache(cacheKey: string, generateKey?: boolean): string | null;
|
||||
/**
|
||||
* Sets the cache item with the key and value given.
|
||||
* Stores in cookie if storeAuthStateInCookie is set to true.
|
||||
* This can cause cookie overflow if used incorrectly.
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
setTemporaryCache(cacheKey: string, value: string, generateKey?: boolean): void;
|
||||
/**
|
||||
* Removes the cache item with the given key.
|
||||
* @param key
|
||||
*/
|
||||
removeItem(key: string): void;
|
||||
/**
|
||||
* Removes the temporary cache item with the given key.
|
||||
* Will also clear the cookie item if storeAuthStateInCookie is set to true.
|
||||
* @param key
|
||||
*/
|
||||
removeTemporaryItem(key: string): void;
|
||||
/**
|
||||
* Gets all keys in window.
|
||||
*/
|
||||
getKeys(): string[];
|
||||
/**
|
||||
* Clears all cache entries created by MSAL.
|
||||
*/
|
||||
clear(): Promise<void>;
|
||||
/**
|
||||
* Clears all access tokes that have claims prior to saving the current one
|
||||
* @param performanceClient {IPerformanceClient}
|
||||
* @param correlationId {string} correlation id
|
||||
* @returns
|
||||
*/
|
||||
clearTokensAndKeysWithClaims(performanceClient: IPerformanceClient, correlationId: string): Promise<void>;
|
||||
/**
|
||||
* Prepend msal.<client-id> to each key; Skip for any JSON object as Key (defined schemas do not need the key appended: AccessToken Keys or the upcoming schema)
|
||||
* @param key
|
||||
* @param addInstanceId
|
||||
*/
|
||||
generateCacheKey(key: string): string;
|
||||
/**
|
||||
* Create authorityKey to cache authority
|
||||
* @param state
|
||||
*/
|
||||
generateAuthorityKey(stateString: string): string;
|
||||
/**
|
||||
* Create Nonce key to cache nonce
|
||||
* @param state
|
||||
*/
|
||||
generateNonceKey(stateString: string): string;
|
||||
/**
|
||||
* Creates full cache key for the request state
|
||||
* @param stateString State string for the request
|
||||
*/
|
||||
generateStateKey(stateString: string): string;
|
||||
/**
|
||||
* Gets the cached authority based on the cached state. Returns empty if no cached state found.
|
||||
*/
|
||||
getCachedAuthority(cachedState: string): string | null;
|
||||
/**
|
||||
* Updates account, authority, and state in cache
|
||||
* @param serverAuthenticationRequest
|
||||
* @param account
|
||||
*/
|
||||
updateCacheEntries(state: string, nonce: string, authorityInstance: string, loginHint: string, account: AccountInfo | null): void;
|
||||
/**
|
||||
* Reset all temporary cache items
|
||||
* @param state
|
||||
*/
|
||||
resetRequestCache(state: string): void;
|
||||
/**
|
||||
* Removes temporary cache for the provided state
|
||||
* @param stateString
|
||||
*/
|
||||
cleanRequestByState(stateString: string): void;
|
||||
/**
|
||||
* Looks in temporary cache for any state values with the provided interactionType and removes all temporary cache items for that state
|
||||
* Used in scenarios where temp cache needs to be cleaned but state is not known, such as clicking browser back button.
|
||||
* @param interactionType
|
||||
*/
|
||||
cleanRequestByInteractionType(interactionType: InteractionType): void;
|
||||
cacheCodeRequest(authCodeRequest: CommonAuthorizationCodeRequest): void;
|
||||
/**
|
||||
* Gets the token exchange parameters from the cache. Throws an error if nothing is found.
|
||||
*/
|
||||
getCachedRequest(state: string): CommonAuthorizationCodeRequest;
|
||||
/**
|
||||
* Gets cached native request for redirect flows
|
||||
*/
|
||||
getCachedNativeRequest(): NativeTokenRequest | null;
|
||||
isInteractionInProgress(matchClientId?: boolean): boolean;
|
||||
getInteractionInProgress(): string | null;
|
||||
setInteractionInProgress(inProgress: boolean): void;
|
||||
/**
|
||||
* Builds credential entities from AuthenticationResult object and saves the resulting credentials to the cache
|
||||
* @param result
|
||||
* @param request
|
||||
*/
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
/**
|
||||
* saves a cache record
|
||||
* @param cacheRecord {CacheRecord}
|
||||
* @param storeInCache {?StoreInCache}
|
||||
* @param correlationId {?string} correlation id
|
||||
*/
|
||||
saveCacheRecord(cacheRecord: CacheRecord, correlationId: string, storeInCache?: StoreInCache): Promise<void>;
|
||||
}
|
||||
export declare const DEFAULT_BROWSER_CACHE_MANAGER: (clientId: string, logger: Logger, performanceClient: IPerformanceClient, eventHandler: EventHandler) => BrowserCacheManager;
|
||||
//# sourceMappingURL=BrowserCacheManager.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/BrowserCacheManager.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/BrowserCacheManager.d.ts.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
16
node_modules/@azure/msal-browser/lib/types/cache/CacheHelpers.d.ts
generated
vendored
Normal file
16
node_modules/@azure/msal-browser/lib/types/cache/CacheHelpers.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { TokenKeys } from "@azure/msal-common/browser";
|
||||
import { IWindowStorage } from "./IWindowStorage.js";
|
||||
/**
|
||||
* Returns a list of cache keys for all known accounts
|
||||
* @param storage
|
||||
* @returns
|
||||
*/
|
||||
export declare function getAccountKeys(storage: IWindowStorage<string>): Array<string>;
|
||||
/**
|
||||
* Returns a list of cache keys for all known tokens
|
||||
* @param clientId
|
||||
* @param storage
|
||||
* @returns
|
||||
*/
|
||||
export declare function getTokenKeys(clientId: string, storage: IWindowStorage<string>): TokenKeys;
|
||||
//# sourceMappingURL=CacheHelpers.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/CacheHelpers.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/CacheHelpers.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CacheHelpers.d.ts","sourceRoot":"","sources":["../../../src/cache/CacheHelpers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAO7E;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CACxB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,GAChC,SAAS,CAmBX"}
|
||||
22
node_modules/@azure/msal-browser/lib/types/cache/CookieStorage.d.ts
generated
vendored
Normal file
22
node_modules/@azure/msal-browser/lib/types/cache/CookieStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { IWindowStorage } from "./IWindowStorage.js";
|
||||
export declare const SameSiteOptions: {
|
||||
readonly Lax: "Lax";
|
||||
readonly None: "None";
|
||||
};
|
||||
export type SameSiteOptions = (typeof SameSiteOptions)[keyof typeof SameSiteOptions];
|
||||
export declare class CookieStorage implements IWindowStorage<string> {
|
||||
initialize(): Promise<void>;
|
||||
getItem(key: string): string | null;
|
||||
getUserData(): string | null;
|
||||
setItem(key: string, value: string, cookieLifeDays?: number, secure?: boolean, sameSite?: SameSiteOptions): void;
|
||||
setUserData(): Promise<void>;
|
||||
removeItem(key: string): void;
|
||||
getKeys(): string[];
|
||||
containsKey(key: string): boolean;
|
||||
}
|
||||
/**
|
||||
* Get cookie expiration time
|
||||
* @param cookieLifeDays
|
||||
*/
|
||||
export declare function getCookieExpirationTime(cookieLifeDays: number): string;
|
||||
//# sourceMappingURL=CookieStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/CookieStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/CookieStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CookieStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/CookieStorage.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAKrD,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AACX,MAAM,MAAM,eAAe,GACvB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAE3D,qBAAa,aAAc,YAAW,cAAc,CAAC,MAAM,CAAC;IACxD,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAenC,WAAW,IAAI,MAAM,GAAG,IAAI;IAI5B,OAAO,CACH,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,cAAc,CAAC,EAAE,MAAM,EACvB,MAAM,GAAE,OAAc,EACtB,QAAQ,GAAE,eAAqC,GAChD,IAAI;IAkBD,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAMlC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAK7B,OAAO,IAAI,MAAM,EAAE;IAWnB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAGpC;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAMtE"}
|
||||
57
node_modules/@azure/msal-browser/lib/types/cache/DatabaseStorage.d.ts
generated
vendored
Normal file
57
node_modules/@azure/msal-browser/lib/types/cache/DatabaseStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
import { IAsyncStorage } from "./IAsyncStorage.js";
|
||||
/**
|
||||
* Storage wrapper for IndexedDB storage in browsers: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
|
||||
*/
|
||||
export declare class DatabaseStorage<T> implements IAsyncStorage<T> {
|
||||
private db;
|
||||
private dbName;
|
||||
private tableName;
|
||||
private version;
|
||||
private dbOpen;
|
||||
constructor();
|
||||
/**
|
||||
* Opens IndexedDB instance.
|
||||
*/
|
||||
open(): Promise<void>;
|
||||
/**
|
||||
* Closes the connection to IndexedDB database when all pending transactions
|
||||
* complete.
|
||||
*/
|
||||
closeConnection(): void;
|
||||
/**
|
||||
* Opens database if it's not already open
|
||||
*/
|
||||
private validateDbIsOpen;
|
||||
/**
|
||||
* Retrieves item from IndexedDB instance.
|
||||
* @param key
|
||||
*/
|
||||
getItem(key: string): Promise<T | null>;
|
||||
/**
|
||||
* Adds item to IndexedDB under given key
|
||||
* @param key
|
||||
* @param payload
|
||||
*/
|
||||
setItem(key: string, payload: T): Promise<void>;
|
||||
/**
|
||||
* Removes item from IndexedDB under given key
|
||||
* @param key
|
||||
*/
|
||||
removeItem(key: string): Promise<void>;
|
||||
/**
|
||||
* Get all the keys from the storage object as an iterable array of strings.
|
||||
*/
|
||||
getKeys(): Promise<string[]>;
|
||||
/**
|
||||
*
|
||||
* Checks whether there is an object under the search key in the object store
|
||||
*/
|
||||
containsKey(key: string): Promise<boolean>;
|
||||
/**
|
||||
* Deletes the MSAL database. The database is deleted rather than cleared to make it possible
|
||||
* for client applications to downgrade to a previous MSAL version without worrying about forward compatibility issues
|
||||
* with IndexedDB database versions.
|
||||
*/
|
||||
deleteDatabase(): Promise<boolean>;
|
||||
}
|
||||
//# sourceMappingURL=DatabaseStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/DatabaseStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/DatabaseStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DatabaseStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/DatabaseStorage.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAcnD;;GAEG;AACH,qBAAa,eAAe,CAAC,CAAC,CAAE,YAAW,aAAa,CAAC,CAAC,CAAC;IACvD,OAAO,CAAC,EAAE,CAA0B;IACpC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAU;;IASxB;;OAEG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IA0B3B;;;OAGG;IACH,eAAe,IAAI,IAAI;IAQvB;;OAEG;YACW,gBAAgB;IAM9B;;;OAGG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IA+B7C;;;;OAIG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAgCrD;;;OAGG;IACG,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA8B5C;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IA+BlC;;;OAGG;IACG,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAgChD;;;;OAIG;IACG,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;CAwB3C"}
|
||||
28
node_modules/@azure/msal-browser/lib/types/cache/IAsyncStorage.d.ts
generated
vendored
Normal file
28
node_modules/@azure/msal-browser/lib/types/cache/IAsyncStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
export interface IAsyncStorage<T> {
|
||||
/**
|
||||
* Get the item from the asynchronous storage object matching the given key.
|
||||
* @param key
|
||||
*/
|
||||
getItem(key: string): Promise<T | null>;
|
||||
/**
|
||||
* Sets the item in the asynchronous storage object with the given key.
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
setItem(key: string, value: T): Promise<void>;
|
||||
/**
|
||||
* Removes the item in the asynchronous storage object matching the given key.
|
||||
* @param key
|
||||
*/
|
||||
removeItem(key: string): Promise<void>;
|
||||
/**
|
||||
* Get all the keys from the asynchronous storage object as an iterable array of strings.
|
||||
*/
|
||||
getKeys(): Promise<string[]>;
|
||||
/**
|
||||
* Returns true or false if the given key is present in the cache.
|
||||
* @param key
|
||||
*/
|
||||
containsKey(key: string): Promise<boolean>;
|
||||
}
|
||||
//# sourceMappingURL=IAsyncStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/IAsyncStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/IAsyncStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IAsyncStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/IAsyncStorage.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,aAAa,CAAC,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAExC;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;;OAGG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC;;OAEG;IACH,OAAO,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAE7B;;;OAGG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9C"}
|
||||
12
node_modules/@azure/msal-browser/lib/types/cache/ITokenCache.d.ts
generated
vendored
Normal file
12
node_modules/@azure/msal-browser/lib/types/cache/ITokenCache.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ExternalTokenResponse } from "@azure/msal-common/browser";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { LoadTokenOptions } from "./TokenCache.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
export interface ITokenCache {
|
||||
/**
|
||||
* API to side-load tokens to MSAL cache
|
||||
* @returns `AuthenticationResult` for the response that was loaded.
|
||||
*/
|
||||
loadExternalTokens(request: SilentRequest, response: ExternalTokenResponse, options: LoadTokenOptions): Promise<AuthenticationResult>;
|
||||
}
|
||||
//# sourceMappingURL=ITokenCache.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/ITokenCache.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/ITokenCache.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ITokenCache.d.ts","sourceRoot":"","sources":["../../../src/cache/ITokenCache.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,WAAW,WAAW;IACxB;;;OAGG;IACH,kBAAkB,CACd,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,EAAE,gBAAgB,GAC1B,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACpC"}
|
||||
40
node_modules/@azure/msal-browser/lib/types/cache/IWindowStorage.d.ts
generated
vendored
Normal file
40
node_modules/@azure/msal-browser/lib/types/cache/IWindowStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
export interface IWindowStorage<T> {
|
||||
/**
|
||||
* Async initializer
|
||||
*/
|
||||
initialize(correlationId: string): Promise<void>;
|
||||
/**
|
||||
* Get the item from the window storage object matching the given key.
|
||||
* @param key
|
||||
*/
|
||||
getItem(key: string): T | null;
|
||||
/**
|
||||
* Getter for sensitive data that may contain PII.
|
||||
*/
|
||||
getUserData(key: string): T | null;
|
||||
/**
|
||||
* Sets the item in the window storage object with the given key.
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
setItem(key: string, value: T): void;
|
||||
/**
|
||||
* Setter for sensitive data that may contain PII.
|
||||
*/
|
||||
setUserData(key: string, value: T, correlationId: string): Promise<void>;
|
||||
/**
|
||||
* Removes the item in the window storage object matching the given key.
|
||||
* @param key
|
||||
*/
|
||||
removeItem(key: string): void;
|
||||
/**
|
||||
* Get all the keys from the window storage object as an iterable array of strings.
|
||||
*/
|
||||
getKeys(): string[];
|
||||
/**
|
||||
* Returns true or false if the given key is present in the cache.
|
||||
* @param key
|
||||
*/
|
||||
containsKey(key: string): boolean;
|
||||
}
|
||||
//# sourceMappingURL=IWindowStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/IWindowStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/IWindowStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IWindowStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/IWindowStorage.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc,CAAC,CAAC;IAC7B;;OAEG;IACH,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD;;;OAGG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC;IAE/B;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC;IAEnC;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAErC;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzE;;;OAGG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,OAAO,IAAI,MAAM,EAAE,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACrC"}
|
||||
49
node_modules/@azure/msal-browser/lib/types/cache/LocalStorage.d.ts
generated
vendored
Normal file
49
node_modules/@azure/msal-browser/lib/types/cache/LocalStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import { IPerformanceClient, Logger } from "@azure/msal-common/browser";
|
||||
import { IWindowStorage } from "./IWindowStorage.js";
|
||||
export declare class LocalStorage implements IWindowStorage<string> {
|
||||
private clientId;
|
||||
private initialized;
|
||||
private memoryStorage;
|
||||
private performanceClient;
|
||||
private logger;
|
||||
private encryptionCookie?;
|
||||
private broadcast;
|
||||
constructor(clientId: string, logger: Logger, performanceClient: IPerformanceClient);
|
||||
initialize(correlationId: string): Promise<void>;
|
||||
getItem(key: string): string | null;
|
||||
getUserData(key: string): string | null;
|
||||
setItem(key: string, value: string): void;
|
||||
setUserData(key: string, value: string, correlationId: string): Promise<void>;
|
||||
removeItem(key: string): void;
|
||||
getKeys(): string[];
|
||||
containsKey(key: string): boolean;
|
||||
/**
|
||||
* Removes all known MSAL keys from the cache
|
||||
*/
|
||||
clear(): void;
|
||||
/**
|
||||
* Helper to decrypt all known MSAL keys in localStorage and save them to inMemory storage
|
||||
* @returns
|
||||
*/
|
||||
private importExistingCache;
|
||||
/**
|
||||
* Helper to decrypt and save cache entries
|
||||
* @param key
|
||||
* @returns
|
||||
*/
|
||||
private getItemFromEncryptedCache;
|
||||
/**
|
||||
* Helper to decrypt and save an array of cache keys
|
||||
* @param arr
|
||||
* @returns Array of keys successfully imported
|
||||
*/
|
||||
private importArray;
|
||||
/**
|
||||
* Gets encryption context for a given cache entry. This is clientId for app specific entries, empty string for shared entries
|
||||
* @param key
|
||||
* @returns
|
||||
*/
|
||||
private getContext;
|
||||
private updateCache;
|
||||
}
|
||||
//# sourceMappingURL=LocalStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/LocalStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/LocalStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"LocalStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/LocalStorage.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,kBAAkB,EAGlB,MAAM,EAET,MAAM,4BAA4B,CAAC;AAmBpC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAmBrD,qBAAa,YAAa,YAAW,cAAc,CAAC,MAAM,CAAC;IACvD,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,aAAa,CAAwB;IAC7C,OAAO,CAAC,iBAAiB,CAAqB;IAC9C,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IAC5C,OAAO,CAAC,SAAS,CAAmB;gBAGhC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB;IAenC,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAoFtD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAInC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IASvC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAInC,WAAW,CACb,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC;IA+BhB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAY7B,OAAO,IAAI,MAAM,EAAE;IAInB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIjC;;OAEG;IACH,KAAK,IAAI,IAAI;IAsBb;;;OAGG;YACW,mBAAmB;IA8BjC;;;;OAIG;YACW,yBAAyB;IAqDvC;;;;OAIG;YACW,WAAW;IA0BzB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,WAAW;CAkCtB"}
|
||||
15
node_modules/@azure/msal-browser/lib/types/cache/MemoryStorage.d.ts
generated
vendored
Normal file
15
node_modules/@azure/msal-browser/lib/types/cache/MemoryStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { IWindowStorage } from "./IWindowStorage.js";
|
||||
export declare class MemoryStorage<T> implements IWindowStorage<T> {
|
||||
private cache;
|
||||
constructor();
|
||||
initialize(): Promise<void>;
|
||||
getItem(key: string): T | null;
|
||||
getUserData(key: string): T | null;
|
||||
setItem(key: string, value: T): void;
|
||||
setUserData(key: string, value: T): Promise<void>;
|
||||
removeItem(key: string): void;
|
||||
getKeys(): string[];
|
||||
containsKey(key: string): boolean;
|
||||
clear(): void;
|
||||
}
|
||||
//# sourceMappingURL=MemoryStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/MemoryStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/MemoryStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"MemoryStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/MemoryStorage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,qBAAa,aAAa,CAAC,CAAC,CAAE,YAAW,cAAc,CAAC,CAAC,CAAC;IACtD,OAAO,CAAC,KAAK,CAAiB;;IAMxB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI;IAI9B,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI;IAIlC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAI9B,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvD,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI7B,OAAO,IAAI,MAAM,EAAE;IAQnB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIjC,KAAK,IAAI,IAAI;CAGhB"}
|
||||
13
node_modules/@azure/msal-browser/lib/types/cache/SessionStorage.d.ts
generated
vendored
Normal file
13
node_modules/@azure/msal-browser/lib/types/cache/SessionStorage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { IWindowStorage } from "./IWindowStorage.js";
|
||||
export declare class SessionStorage implements IWindowStorage<string> {
|
||||
constructor();
|
||||
initialize(): Promise<void>;
|
||||
getItem(key: string): string | null;
|
||||
getUserData(key: string): string | null;
|
||||
setItem(key: string, value: string): void;
|
||||
setUserData(key: string, value: string): Promise<void>;
|
||||
removeItem(key: string): void;
|
||||
getKeys(): string[];
|
||||
containsKey(key: string): boolean;
|
||||
}
|
||||
//# sourceMappingURL=SessionStorage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/SessionStorage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/SessionStorage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SessionStorage.d.ts","sourceRoot":"","sources":["../../../src/cache/SessionStorage.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,qBAAa,cAAe,YAAW,cAAc,CAAC,MAAM,CAAC;;IASnD,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAInC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAIvC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAInC,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5D,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI7B,OAAO,IAAI,MAAM,EAAE;IAInB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAGpC"}
|
||||
78
node_modules/@azure/msal-browser/lib/types/cache/TokenCache.d.ts
generated
vendored
Normal file
78
node_modules/@azure/msal-browser/lib/types/cache/TokenCache.d.ts
generated
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
import { ICrypto, Logger, ExternalTokenResponse } from "@azure/msal-common/browser";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { BrowserCacheManager } from "./BrowserCacheManager.js";
|
||||
import { ITokenCache } from "./ITokenCache.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
export type LoadTokenOptions = {
|
||||
clientInfo?: string;
|
||||
expiresOn?: number;
|
||||
extendedExpiresOn?: number;
|
||||
};
|
||||
/**
|
||||
* Token cache manager
|
||||
*/
|
||||
export declare class TokenCache implements ITokenCache {
|
||||
isBrowserEnvironment: boolean;
|
||||
protected config: BrowserConfiguration;
|
||||
private storage;
|
||||
private logger;
|
||||
private cryptoObj;
|
||||
constructor(configuration: BrowserConfiguration, storage: BrowserCacheManager, logger: Logger, cryptoObj: ICrypto);
|
||||
/**
|
||||
* API to load tokens to msal-browser cache.
|
||||
* @param request
|
||||
* @param response
|
||||
* @param options
|
||||
* @returns `AuthenticationResult` for the response that was loaded.
|
||||
*/
|
||||
loadExternalTokens(request: SilentRequest, response: ExternalTokenResponse, options: LoadTokenOptions): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Helper function to load account to msal-browser cache
|
||||
* @param idToken
|
||||
* @param environment
|
||||
* @param clientInfo
|
||||
* @param authorityType
|
||||
* @param requestHomeAccountId
|
||||
* @returns `AccountEntity`
|
||||
*/
|
||||
private loadAccount;
|
||||
/**
|
||||
* Helper function to load id tokens to msal-browser cache
|
||||
* @param idToken
|
||||
* @param homeAccountId
|
||||
* @param environment
|
||||
* @param tenantId
|
||||
* @returns `IdTokenEntity`
|
||||
*/
|
||||
private loadIdToken;
|
||||
/**
|
||||
* Helper function to load access tokens to msal-browser cache
|
||||
* @param request
|
||||
* @param response
|
||||
* @param homeAccountId
|
||||
* @param environment
|
||||
* @param tenantId
|
||||
* @returns `AccessTokenEntity`
|
||||
*/
|
||||
private loadAccessToken;
|
||||
/**
|
||||
* Helper function to load refresh tokens to msal-browser cache
|
||||
* @param request
|
||||
* @param response
|
||||
* @param homeAccountId
|
||||
* @param environment
|
||||
* @returns `RefreshTokenEntity`
|
||||
*/
|
||||
private loadRefreshToken;
|
||||
/**
|
||||
* Helper function to generate an `AuthenticationResult` for the result.
|
||||
* @param request
|
||||
* @param idTokenObj
|
||||
* @param cacheRecord
|
||||
* @param authority
|
||||
* @returns `AuthenticationResult`
|
||||
*/
|
||||
private generateAuthenticationResult;
|
||||
}
|
||||
//# sourceMappingURL=TokenCache.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/cache/TokenCache.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/cache/TokenCache.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TokenCache.d.ts","sourceRoot":"","sources":["../../../src/cache/TokenCache.ts"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
219
node_modules/@azure/msal-browser/lib/types/config/Configuration.d.ts
generated
vendored
Normal file
@@ -0,0 +1,219 @@
|
||||
import { SystemOptions, LoggerOptions, INetworkModule, ProtocolMode, OIDCOptions, AzureCloudOptions, ApplicationTelemetry, IPerformanceClient } from "@azure/msal-common/browser";
|
||||
import { BrowserCacheLocation } from "../utils/BrowserConstants.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
export declare const DEFAULT_POPUP_TIMEOUT_MS = 60000;
|
||||
export declare const DEFAULT_IFRAME_TIMEOUT_MS = 10000;
|
||||
export declare const DEFAULT_REDIRECT_TIMEOUT_MS = 30000;
|
||||
export declare const DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS = 2000;
|
||||
/**
|
||||
* Use this to configure the auth options in the Configuration object
|
||||
*/
|
||||
export type BrowserAuthOptions = {
|
||||
/**
|
||||
* Client ID of your app registered with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview in Microsoft Identity Platform
|
||||
*/
|
||||
clientId: string;
|
||||
/**
|
||||
* You can configure a specific authority, defaults to " " or "https://login.microsoftonline.com/common"
|
||||
*/
|
||||
authority?: string;
|
||||
/**
|
||||
* An array of URIs that are known to be valid. Used in B2C scenarios.
|
||||
*/
|
||||
knownAuthorities?: Array<string>;
|
||||
/**
|
||||
* A string containing the cloud discovery response. Used in AAD scenarios.
|
||||
*/
|
||||
cloudDiscoveryMetadata?: string;
|
||||
/**
|
||||
* A string containing the .well-known/openid-configuration endpoint response
|
||||
*/
|
||||
authorityMetadata?: string;
|
||||
/**
|
||||
* The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
|
||||
*/
|
||||
redirectUri?: string;
|
||||
/**
|
||||
* The redirect URI where the window navigates after a successful logout.
|
||||
*/
|
||||
postLogoutRedirectUri?: string | null;
|
||||
/**
|
||||
* Boolean indicating whether to navigate to the original request URL after the auth server navigates to the redirect URL.
|
||||
*/
|
||||
navigateToLoginRequestUrl?: boolean;
|
||||
/**
|
||||
* Array of capabilities which will be added to the claims.access_token.xms_cc request property on every network request.
|
||||
*/
|
||||
clientCapabilities?: Array<string>;
|
||||
/**
|
||||
* Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
|
||||
*/
|
||||
protocolMode?: ProtocolMode;
|
||||
/**
|
||||
* Enum that configures options for the OIDC protocol mode.
|
||||
*/
|
||||
OIDCOptions?: OIDCOptions;
|
||||
/**
|
||||
* Enum that represents the Azure Cloud to use.
|
||||
*/
|
||||
azureCloudOptions?: AzureCloudOptions;
|
||||
/**
|
||||
* Flag of whether to use the local metadata cache
|
||||
*/
|
||||
skipAuthorityMetadataCache?: boolean;
|
||||
/**
|
||||
* App supports nested app auth or not; defaults to
|
||||
*
|
||||
* @deprecated This flag is deprecated and will be removed in the next major version. createNestablePublicClientApplication should be used instead.
|
||||
*/
|
||||
supportsNestedAppAuth?: boolean;
|
||||
/**
|
||||
* Callback that will be passed the url that MSAL will navigate to in redirect flows. Returning false in the callback will stop navigation.
|
||||
*/
|
||||
onRedirectNavigate?: (url: string) => boolean | void;
|
||||
/**
|
||||
* Flag of whether the STS will send back additional parameters to specify where the tokens should be retrieved from.
|
||||
*/
|
||||
instanceAware?: boolean;
|
||||
};
|
||||
/** @internal */
|
||||
export type InternalAuthOptions = Omit<Required<BrowserAuthOptions>, "onRedirectNavigate"> & {
|
||||
OIDCOptions: Required<OIDCOptions>;
|
||||
onRedirectNavigate?: (url: string) => boolean | void;
|
||||
};
|
||||
/**
|
||||
* Use this to configure the below cache configuration options:
|
||||
*/
|
||||
export type CacheOptions = {
|
||||
/**
|
||||
* Used to specify the cacheLocation user wants to set. Valid values are "localStorage", "sessionStorage" and "memoryStorage".
|
||||
*/
|
||||
cacheLocation?: BrowserCacheLocation | string;
|
||||
/**
|
||||
* Used to specify the temporaryCacheLocation user wants to set. Valid values are "localStorage", "sessionStorage" and "memoryStorage".
|
||||
*/
|
||||
temporaryCacheLocation?: BrowserCacheLocation | string;
|
||||
/**
|
||||
* If set, MSAL stores the auth request state required for validation of the auth flows in the browser cookies. By default this flag is set to false.
|
||||
*/
|
||||
storeAuthStateInCookie?: boolean;
|
||||
/**
|
||||
* If set, MSAL sets the "Secure" flag on cookies so they can only be sent over HTTPS. By default this flag is set to true.
|
||||
* @deprecated This option will be removed in a future major version and all cookies set will include the Secure attribute.
|
||||
*/
|
||||
secureCookies?: boolean;
|
||||
/**
|
||||
* If set, MSAL will attempt to migrate cache entries from older versions on initialization. By default this flag is set to true if cacheLocation is localStorage, otherwise false.
|
||||
*/
|
||||
cacheMigrationEnabled?: boolean;
|
||||
/**
|
||||
* Flag that determines whether access tokens are stored based on requested claims
|
||||
*/
|
||||
claimsBasedCachingEnabled?: boolean;
|
||||
};
|
||||
export type BrowserSystemOptions = SystemOptions & {
|
||||
/**
|
||||
* Used to initialize the Logger object (See ClientConfiguration.ts)
|
||||
*/
|
||||
loggerOptions?: LoggerOptions;
|
||||
/**
|
||||
* Network interface implementation
|
||||
*/
|
||||
networkClient?: INetworkModule;
|
||||
/**
|
||||
* Override the methods used to navigate to other webpages. Particularly useful if you are using a client-side router
|
||||
*/
|
||||
navigationClient?: INavigationClient;
|
||||
/**
|
||||
* Sets the timeout for waiting for a response hash in a popup. Will take precedence over loadFrameTimeout if both are set.
|
||||
*/
|
||||
windowHashTimeout?: number;
|
||||
/**
|
||||
* Sets the timeout for waiting for a response hash in an iframe. Will take precedence over loadFrameTimeout if both are set.
|
||||
*/
|
||||
iframeHashTimeout?: number;
|
||||
/**
|
||||
* Sets the timeout for waiting for a response hash in an iframe or popup
|
||||
*/
|
||||
loadFrameTimeout?: number;
|
||||
/**
|
||||
* Maximum time the library should wait for a frame to load
|
||||
* @deprecated This was previously needed for older browsers which are no longer supported by MSAL.js. This option will be removed in the next major version
|
||||
*/
|
||||
navigateFrameWait?: number;
|
||||
/**
|
||||
* Time to wait for redirection to occur before resolving promise
|
||||
*/
|
||||
redirectNavigationTimeout?: number;
|
||||
/**
|
||||
* Sets whether popups are opened asynchronously. By default, this flag is set to false. When set to false, blank popups are opened before anything else happens. When set to true, popups are opened when making the network request.
|
||||
*/
|
||||
asyncPopups?: boolean;
|
||||
/**
|
||||
* Flag to enable redirect opertaions when the app is rendered in an iframe (to support scenarios such as embedded B2C login).
|
||||
*/
|
||||
allowRedirectInIframe?: boolean;
|
||||
/**
|
||||
* Flag to enable native broker support (e.g. acquiring tokens from WAM on Windows, MacBroker on Mac)
|
||||
*/
|
||||
allowPlatformBroker?: boolean;
|
||||
/**
|
||||
* Sets the timeout for waiting for the native broker handshake to resolve
|
||||
*/
|
||||
nativeBrokerHandshakeTimeout?: number;
|
||||
/**
|
||||
* Sets the interval length in milliseconds for polling the location attribute in popup windows (default is 30ms)
|
||||
*/
|
||||
pollIntervalMilliseconds?: number;
|
||||
};
|
||||
/**
|
||||
* Telemetry Options
|
||||
*/
|
||||
export type BrowserTelemetryOptions = {
|
||||
/**
|
||||
* Telemetry information sent on request
|
||||
* - appName: Unique string name of an application
|
||||
* - appVersion: Version of the application using MSAL
|
||||
*/
|
||||
application?: ApplicationTelemetry;
|
||||
client?: IPerformanceClient;
|
||||
};
|
||||
/**
|
||||
* This object allows you to configure important elements of MSAL functionality and is passed into the constructor of PublicClientApplication
|
||||
*/
|
||||
export type Configuration = {
|
||||
/**
|
||||
* This is where you configure auth elements like clientID, authority used for authenticating against the Microsoft Identity Platform
|
||||
*/
|
||||
auth: BrowserAuthOptions;
|
||||
/**
|
||||
* This is where you configure cache location and whether to store cache in cookies
|
||||
*/
|
||||
cache?: CacheOptions;
|
||||
/**
|
||||
* This is where you can configure the network client, logger, token renewal offset
|
||||
*/
|
||||
system?: BrowserSystemOptions;
|
||||
/**
|
||||
* This is where you can configure telemetry data and options
|
||||
*/
|
||||
telemetry?: BrowserTelemetryOptions;
|
||||
};
|
||||
/** @internal */
|
||||
export type BrowserConfiguration = {
|
||||
auth: InternalAuthOptions;
|
||||
cache: Required<CacheOptions>;
|
||||
system: Required<BrowserSystemOptions>;
|
||||
telemetry: Required<BrowserTelemetryOptions>;
|
||||
};
|
||||
/**
|
||||
* MSAL function that sets the default options when not explicitly configured from app developer
|
||||
*
|
||||
* @param auth
|
||||
* @param cache
|
||||
* @param system
|
||||
*
|
||||
* @returns Configuration object
|
||||
*/
|
||||
export declare function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system: userInputSystem, telemetry: userInputTelemetry, }: Configuration, isBrowserEnvironment: boolean): BrowserConfiguration;
|
||||
//# sourceMappingURL=Configuration.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/config/Configuration.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/config/Configuration.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../../src/config/Configuration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,aAAa,EACb,cAAc,EAGd,YAAY,EACZ,WAAW,EAKX,iBAAiB,EACjB,oBAAoB,EAGpB,kBAAkB,EAGrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,oBAAoB,EAEvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAMvE,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAC9C,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,eAAO,MAAM,2BAA2B,QAAQ,CAAC;AACjD,eAAO,MAAM,0CAA0C,OAAO,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAA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BAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC9B,MAAM,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IACvC,SAAS,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;CAChD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,EACI,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,eAAe,EACvB,SAAS,EAAE,kBAAkB,GAChC,EAAE,aAAa,EAChB,oBAAoB,EAAE,OAAO,GAC9B,oBAAoB,CAwItB"}
|
||||
6
node_modules/@azure/msal-browser/lib/types/controllers/ControllerFactory.d.ts
generated
vendored
Normal file
6
node_modules/@azure/msal-browser/lib/types/controllers/ControllerFactory.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { IController } from "./IController.js";
|
||||
import { Configuration } from "../config/Configuration.js";
|
||||
import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
|
||||
export declare function createV3Controller(config: Configuration, request?: InitializeApplicationRequest): Promise<IController>;
|
||||
export declare function createController(config: Configuration): Promise<IController | null>;
|
||||
//# sourceMappingURL=ControllerFactory.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/controllers/ControllerFactory.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/controllers/ControllerFactory.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ControllerFactory.d.ts","sourceRoot":"","sources":["../../../src/controllers/ControllerFactory.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAE1F,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACvC,OAAO,CAAC,WAAW,CAAC,CAKtB;AAED,wBAAsB,gBAAgB,CAClC,MAAM,EAAE,aAAa,GACtB,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAgB7B"}
|
||||
59
node_modules/@azure/msal-browser/lib/types/controllers/IController.d.ts
generated
vendored
Normal file
59
node_modules/@azure/msal-browser/lib/types/controllers/IController.d.ts
generated
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
import { AccountInfo, Logger, PerformanceCallbackFunction, IPerformanceClient, AccountFilter } from "@azure/msal-common/browser";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { ApiId, WrapperSKU } from "../utils/BrowserConstants.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
export interface IController {
|
||||
initialize(request?: InitializeApplicationRequest): Promise<void>;
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenNative(request: PopupRequest | SilentRequest | SsoSilentRequest, apiId: ApiId, accountId?: string): Promise<AuthenticationResult>;
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
removeEventCallback(callbackId: string): void;
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
enableAccountStorageEvents(): void;
|
||||
disableAccountStorageEvents(): void;
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
getAccountByLocalId(localId: string): AccountInfo | null;
|
||||
getAccountByUsername(userName: string): AccountInfo | null;
|
||||
getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
|
||||
handleRedirectPromise(hash?: string): Promise<AuthenticationResult | null>;
|
||||
loginPopup(request?: PopupRequest): Promise<AuthenticationResult>;
|
||||
loginRedirect(request?: RedirectRequest): Promise<void>;
|
||||
logout(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
|
||||
getTokenCache(): ITokenCache;
|
||||
getLogger(): Logger;
|
||||
setLogger(logger: Logger): void;
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
/** @internal */
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
/** @internal */
|
||||
isBrowserEnv(): boolean;
|
||||
/** @internal */
|
||||
getPerformanceClient(): IPerformanceClient;
|
||||
}
|
||||
//# sourceMappingURL=IController.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/controllers/IController.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/controllers/IController.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"IController.d.ts","sourceRoot":"","sources":["../../../src/controllers/IController.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EACX,MAAM,EACN,2BAA2B,EAC3B,kBAAkB,EAClB,aAAa,EAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA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,oBAAoB,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,gBAAgB;IAChB,YAAY,IAAI,OAAO,CAAC;IAExB,gBAAgB;IAChB,oBAAoB,IAAI,kBAAkB,CAAC;CAC9C"}
|
||||
203
node_modules/@azure/msal-browser/lib/types/controllers/NestedAppAuthController.d.ts
generated
vendored
Normal file
203
node_modules/@azure/msal-browser/lib/types/controllers/NestedAppAuthController.d.ts
generated
vendored
Normal file
@@ -0,0 +1,203 @@
|
||||
import { CommonAuthorizationUrlRequest, CommonSilentFlowRequest, PerformanceCallbackFunction, AccountInfo, Logger, ICrypto, IPerformanceClient, AccountFilter } from "@azure/msal-common/browser";
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { ApiId, WrapperSKU } from "../utils/BrowserConstants.js";
|
||||
import { IController } from "./IController.js";
|
||||
import { NestedAppOperatingContext } from "../operatingcontext/NestedAppOperatingContext.js";
|
||||
import { IBridgeProxy } from "../naa/IBridgeProxy.js";
|
||||
import { NestedAppAuthAdapter } from "../naa/mapping/NestedAppAuthAdapter.js";
|
||||
import { EventHandler } from "../event/EventHandler.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { AccountContext } from "../naa/BridgeAccountContext.js";
|
||||
import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
|
||||
export declare class NestedAppAuthController implements IController {
|
||||
protected readonly operatingContext: NestedAppOperatingContext;
|
||||
protected readonly bridgeProxy: IBridgeProxy;
|
||||
protected readonly browserCrypto: ICrypto;
|
||||
protected readonly config: BrowserConfiguration;
|
||||
protected readonly browserStorage: BrowserCacheManager;
|
||||
protected logger: Logger;
|
||||
protected readonly performanceClient: IPerformanceClient;
|
||||
protected readonly eventHandler: EventHandler;
|
||||
protected readonly nestedAppAuthAdapter: NestedAppAuthAdapter;
|
||||
protected currentAccountContext: AccountContext | null;
|
||||
constructor(operatingContext: NestedAppOperatingContext);
|
||||
/**
|
||||
* Factory function to create a new instance of NestedAppAuthController
|
||||
* @param operatingContext
|
||||
* @returns Promise<IController>
|
||||
*/
|
||||
static createController(operatingContext: NestedAppOperatingContext): Promise<IController>;
|
||||
/**
|
||||
* Specific implementation of initialize function for NestedAppAuthController
|
||||
* @returns
|
||||
*/
|
||||
initialize(request?: InitializeApplicationRequest): Promise<void>;
|
||||
/**
|
||||
* Validate the incoming request and add correlationId if not present
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
private ensureValidRequest;
|
||||
/**
|
||||
* Internal implementation of acquireTokenInteractive flow
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
private acquireTokenInteractive;
|
||||
/**
|
||||
* Internal implementation of acquireTokenSilent flow
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
private acquireTokenSilentInternal;
|
||||
/**
|
||||
* acquires tokens from cache
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
private acquireTokenFromCache;
|
||||
/**
|
||||
*
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
private acquireTokenFromCacheInternal;
|
||||
/**
|
||||
* acquireTokenPopup flow implementation
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* acquireTokenRedirect flow is not supported in nested app auth
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
/**
|
||||
* acquireTokenSilent flow implementation
|
||||
* @param silentRequest
|
||||
* @returns
|
||||
*/
|
||||
acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Hybrid flow is not currently supported in nested app auth
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* acquireTokenNative flow is not currently supported in nested app auth
|
||||
* @param request
|
||||
* @param apiId
|
||||
* @param accountId
|
||||
*/
|
||||
acquireTokenNative(request: SilentRequest | Partial<Omit<CommonAuthorizationUrlRequest, "requestedClaimsHash" | "responseMode" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> | PopupRequest, apiId: ApiId, // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
accountId?: string | undefined): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* acquireTokenByRefreshToken flow is not currently supported in nested app auth
|
||||
* @param commonRequest
|
||||
* @param silentRequest
|
||||
*/
|
||||
acquireTokenByRefreshToken(commonRequest: CommonSilentFlowRequest, // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Adds event callbacks to array
|
||||
* @param callback
|
||||
* @param eventTypes
|
||||
*/
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
/**
|
||||
* Removes callback with provided id from callback array
|
||||
* @param callbackId
|
||||
*/
|
||||
removeEventCallback(callbackId: string): void;
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
enableAccountStorageEvents(): void;
|
||||
disableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
|
||||
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
||||
* @returns Array of AccountInfo objects in cache
|
||||
*/
|
||||
getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
|
||||
/**
|
||||
* Returns the first account found in the cache that matches the account filter passed in.
|
||||
* @param accountFilter
|
||||
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
||||
*/
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching username.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found.
|
||||
* This API is provided for convenience but getAccountById should be used for best reliability
|
||||
* @param username
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
getAccountByUsername(username: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching homeAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param homeAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching localAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param localAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
getAccountByLocalId(localAccountId: string): AccountInfo | null;
|
||||
/**
|
||||
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
||||
* @param account
|
||||
*/
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
/**
|
||||
* Gets the currently active account
|
||||
*/
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
handleRedirectPromise(hash?: string | undefined): Promise<AuthenticationResult | null>;
|
||||
loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
|
||||
loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
|
||||
logout(logoutRequest?: EndSessionRequest | undefined): Promise<void>;
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest | undefined): Promise<void>;
|
||||
logoutPopup(logoutRequest?: EndSessionPopupRequest | undefined): Promise<void>;
|
||||
ssoSilent(request: Partial<Omit<CommonAuthorizationUrlRequest, "requestedClaimsHash" | "responseMode" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">>): Promise<AuthenticationResult>;
|
||||
getTokenCache(): ITokenCache;
|
||||
/**
|
||||
* Returns the logger instance
|
||||
*/
|
||||
getLogger(): Logger;
|
||||
/**
|
||||
* Replaces the default logger set in configurations with new Logger with new configurations
|
||||
* @param logger Logger instance
|
||||
*/
|
||||
setLogger(logger: Logger): void;
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
isBrowserEnv(): boolean;
|
||||
getBrowserCrypto(): ICrypto;
|
||||
getPerformanceClient(): IPerformanceClient;
|
||||
getRedirectResponse(): Map<string, Promise<AuthenticationResult | null>>;
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=NestedAppAuthController.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/controllers/NestedAppAuthController.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/controllers/NestedAppAuthController.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NestedAppAuthController.d.ts","sourceRoot":"","sources":["../../../src/controllers/NestedAppAuthController.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,EAC3B,WAAW,EACX,MAAM,EACN,OAAO,EACP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IAIvB,gBAAgB,IAAI,OAAO;IAI3B,oBAAoB,IAAI,kBAAkB;IAI1C,mBAAmB,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IAKlE,UAAU,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5D,YAAY,CACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;CAcnB"}
|
||||
405
node_modules/@azure/msal-browser/lib/types/controllers/StandardController.d.ts
generated
vendored
Normal file
405
node_modules/@azure/msal-browser/lib/types/controllers/StandardController.d.ts
generated
vendored
Normal file
@@ -0,0 +1,405 @@
|
||||
import { AccountInfo, INetworkModule, Logger, CommonSilentFlowRequest, ICrypto, PerformanceCallbackFunction, IPerformanceClient, BaseAuthRequest, AccountFilter } from "@azure/msal-common/browser";
|
||||
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { ApiId, WrapperSKU, CacheLookupPolicy } from "../utils/BrowserConstants.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { EventHandler } from "../event/EventHandler.js";
|
||||
import { PopupClient } from "../interaction_client/PopupClient.js";
|
||||
import { RedirectClient } from "../interaction_client/RedirectClient.js";
|
||||
import { SilentIframeClient } from "../interaction_client/SilentIframeClient.js";
|
||||
import { SilentRefreshClient } from "../interaction_client/SilentRefreshClient.js";
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { NativeMessageHandler } from "../broker/nativeBroker/NativeMessageHandler.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SilentCacheClient } from "../interaction_client/SilentCacheClient.js";
|
||||
import { SilentAuthCodeClient } from "../interaction_client/SilentAuthCodeClient.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { StandardOperatingContext } from "../operatingcontext/StandardOperatingContext.js";
|
||||
import { BaseOperatingContext } from "../operatingcontext/BaseOperatingContext.js";
|
||||
import { IController } from "./IController.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
|
||||
export declare class StandardController implements IController {
|
||||
protected readonly operatingContext: StandardOperatingContext;
|
||||
protected readonly browserCrypto: ICrypto;
|
||||
protected readonly browserStorage: BrowserCacheManager;
|
||||
protected readonly nativeInternalStorage: BrowserCacheManager;
|
||||
protected readonly networkClient: INetworkModule;
|
||||
protected navigationClient: INavigationClient;
|
||||
protected readonly config: BrowserConfiguration;
|
||||
private tokenCache;
|
||||
protected logger: Logger;
|
||||
protected isBrowserEnvironment: boolean;
|
||||
protected readonly eventHandler: EventHandler;
|
||||
protected readonly redirectResponse: Map<string, Promise<AuthenticationResult | null>>;
|
||||
protected nativeExtensionProvider: NativeMessageHandler | undefined;
|
||||
private hybridAuthCodeResponses;
|
||||
protected readonly performanceClient: IPerformanceClient;
|
||||
protected initialized: boolean;
|
||||
private activeSilentTokenRequests;
|
||||
private activeIframeRequest;
|
||||
private ssoSilentMeasurement?;
|
||||
private acquireTokenByCodeAsyncMeasurement?;
|
||||
/**
|
||||
* @constructor
|
||||
* Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
|
||||
*
|
||||
* Important attributes in the Configuration object for auth are:
|
||||
* - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
|
||||
* - authority: the authority URL for your application.
|
||||
* - redirect_uri: the uri of your application registered in the portal.
|
||||
*
|
||||
* In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
|
||||
* It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
|
||||
* If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
|
||||
* If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
|
||||
* If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
|
||||
* To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
|
||||
*
|
||||
* In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
|
||||
* Full B2C functionality will be available in this library in future versions.
|
||||
*
|
||||
* @param configuration Object for the MSAL PublicClientApplication instance
|
||||
*/
|
||||
constructor(operatingContext: StandardOperatingContext);
|
||||
static createController(operatingContext: BaseOperatingContext, request?: InitializeApplicationRequest): Promise<IController>;
|
||||
private trackPageVisibility;
|
||||
/**
|
||||
* Initializer function to perform async startup tasks such as connecting to WAM extension
|
||||
* @param request {?InitializeApplicationRequest} correlation id
|
||||
*/
|
||||
initialize(request?: InitializeApplicationRequest): Promise<void>;
|
||||
/**
|
||||
* Event handler function which allows users to fire events after the PublicClientApplication object
|
||||
* has loaded during redirect flows. This should be invoked on all page loads involved in redirect
|
||||
* auth flows.
|
||||
* @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
|
||||
* @returns Token response or null. If the return value is null, then no auth redirect was detected.
|
||||
*/
|
||||
handleRedirectPromise(hash?: string): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* The internal details of handleRedirectPromise. This is separated out to a helper to allow handleRedirectPromise to memoize requests
|
||||
* @param hash
|
||||
* @returns
|
||||
*/
|
||||
private handleRedirectPromiseInternal;
|
||||
/**
|
||||
* Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
|
||||
* the page, so any code that follows this function will not execute.
|
||||
*
|
||||
* IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
|
||||
* browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
|
||||
*
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
/**
|
||||
* Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
|
||||
*
|
||||
* @param request
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
private trackPageVisibilityWithMeasurement;
|
||||
/**
|
||||
* This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
|
||||
* - Any browser using a form of Intelligent Tracking Prevention
|
||||
* - If there is not an established session with the service
|
||||
*
|
||||
* In these cases, the request must be done inside a popup or full frame redirect.
|
||||
*
|
||||
* For the cases where interaction is required, you cannot send a request with prompt=none.
|
||||
*
|
||||
* If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
|
||||
* you session on the server still exists.
|
||||
* @param request {@link SsoSilentRequest}
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* This function redeems an authorization code (passed as code) from the eSTS token endpoint.
|
||||
* This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
|
||||
* This API is not indended for normal authorization code acquisition and redemption.
|
||||
*
|
||||
* Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
|
||||
*
|
||||
* @param request {@link AuthorizationCodeRequest}
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Creates a SilentAuthCodeClient to redeem an authorization code.
|
||||
* @param request
|
||||
* @returns Result of the operation to redeem the authorization code
|
||||
*/
|
||||
private acquireTokenByCodeAsync;
|
||||
/**
|
||||
* Attempt to acquire an access token from the cache
|
||||
* @param silentCacheClient SilentCacheClient
|
||||
* @param commonRequest CommonSilentFlowRequest
|
||||
* @param silentRequest SilentRequest
|
||||
* @returns A promise that, when resolved, returns the access token
|
||||
*/
|
||||
protected acquireTokenFromCache(commonRequest: CommonSilentFlowRequest, cacheLookupPolicy: CacheLookupPolicy): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Attempt to acquire an access token via a refresh token
|
||||
* @param commonRequest CommonSilentFlowRequest
|
||||
* @param cacheLookupPolicy CacheLookupPolicy
|
||||
* @returns A promise that, when resolved, returns the access token
|
||||
*/
|
||||
acquireTokenByRefreshToken(commonRequest: CommonSilentFlowRequest, cacheLookupPolicy: CacheLookupPolicy): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Attempt to acquire an access token via an iframe
|
||||
* @param request CommonSilentFlowRequest
|
||||
* @returns A promise that, when resolved, returns the access token
|
||||
*/
|
||||
protected acquireTokenBySilentIframe(request: CommonSilentFlowRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Deprecated logout function. Use logoutRedirect or logoutPopup instead
|
||||
* @param logoutRequest
|
||||
* @deprecated
|
||||
*/
|
||||
logout(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
||||
* Default behaviour is to redirect the user to `window.location.href`.
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
|
||||
/**
|
||||
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
||||
/**
|
||||
* Creates a cache interaction client to clear broswer cache.
|
||||
* @param logoutRequest
|
||||
*/
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
/**
|
||||
* Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
|
||||
* @param accountFilter - (Optional) filter to narrow down the accounts returned
|
||||
* @returns Array of AccountInfo objects in cache
|
||||
*/
|
||||
getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
|
||||
/**
|
||||
* Returns the first account found in the cache that matches the account filter passed in.
|
||||
* @param accountFilter
|
||||
* @returns The first account found in the cache matching the provided filter or null if no account could be found.
|
||||
*/
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching username.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found.
|
||||
* This API is provided for convenience but getAccountById should be used for best reliability
|
||||
* @param username
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
getAccountByUsername(username: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching homeAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param homeAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
/**
|
||||
* Returns the signed in account matching localAccountId.
|
||||
* (the account object is created at the time of successful login)
|
||||
* or null when no matching account is found
|
||||
* @param localAccountId
|
||||
* @returns The account object stored in MSAL
|
||||
*/
|
||||
getAccountByLocalId(localAccountId: string): AccountInfo | null;
|
||||
/**
|
||||
* Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
|
||||
* @param account
|
||||
*/
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
/**
|
||||
* Gets the currently active account
|
||||
*/
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
/**
|
||||
* Hydrates the cache with the tokens from an AuthenticationResult
|
||||
* @param result
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
/**
|
||||
* Acquire a token from native device (e.g. WAM)
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenNative(request: PopupRequest | SilentRequest | SsoSilentRequest, apiId: ApiId, accountId?: string): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Returns boolean indicating if this request can use the platform broker
|
||||
* @param request
|
||||
*/
|
||||
canUsePlatformBroker(request: RedirectRequest | PopupRequest | SsoSilentRequest, accountId?: string): boolean;
|
||||
/**
|
||||
* Get the native accountId from the account
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
getNativeAccountId(request: RedirectRequest | PopupRequest | SsoSilentRequest): string;
|
||||
/**
|
||||
* Returns new instance of the Popup Interaction Client
|
||||
* @param correlationId
|
||||
*/
|
||||
createPopupClient(correlationId?: string): PopupClient;
|
||||
/**
|
||||
* Returns new instance of the Redirect Interaction Client
|
||||
* @param correlationId
|
||||
*/
|
||||
protected createRedirectClient(correlationId?: string): RedirectClient;
|
||||
/**
|
||||
* Returns new instance of the Silent Iframe Interaction Client
|
||||
* @param correlationId
|
||||
*/
|
||||
createSilentIframeClient(correlationId?: string): SilentIframeClient;
|
||||
/**
|
||||
* Returns new instance of the Silent Cache Interaction Client
|
||||
*/
|
||||
protected createSilentCacheClient(correlationId?: string): SilentCacheClient;
|
||||
/**
|
||||
* Returns new instance of the Silent Refresh Interaction Client
|
||||
*/
|
||||
protected createSilentRefreshClient(correlationId?: string): SilentRefreshClient;
|
||||
/**
|
||||
* Returns new instance of the Silent AuthCode Interaction Client
|
||||
*/
|
||||
protected createSilentAuthCodeClient(correlationId?: string): SilentAuthCodeClient;
|
||||
/**
|
||||
* Adds event callbacks to array
|
||||
* @param callback
|
||||
*/
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
/**
|
||||
* Removes callback with provided id from callback array
|
||||
* @param callbackId
|
||||
*/
|
||||
removeEventCallback(callbackId: string): void;
|
||||
/**
|
||||
* Registers a callback to receive performance events.
|
||||
*
|
||||
* @param {PerformanceCallbackFunction} callback
|
||||
* @returns {string}
|
||||
*/
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
/**
|
||||
* Removes a callback registered with addPerformanceCallback.
|
||||
*
|
||||
* @param {string} callbackId
|
||||
* @returns {boolean}
|
||||
*/
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
/**
|
||||
* Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
|
||||
* @deprecated These events will be raised by default and this method will be removed in a future major version.
|
||||
*/
|
||||
enableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
|
||||
* @deprecated These events will be raised by default and this method will be removed in a future major version.
|
||||
*/
|
||||
disableAccountStorageEvents(): void;
|
||||
/**
|
||||
* Gets the token cache for the application.
|
||||
*/
|
||||
getTokenCache(): ITokenCache;
|
||||
/**
|
||||
* Returns the logger instance
|
||||
*/
|
||||
getLogger(): Logger;
|
||||
/**
|
||||
* Replaces the default logger set in configurations with new Logger with new configurations
|
||||
* @param logger Logger instance
|
||||
*/
|
||||
setLogger(logger: Logger): void;
|
||||
/**
|
||||
* Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
|
||||
* @param sku
|
||||
* @param version
|
||||
*/
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
/**
|
||||
* Sets navigation client
|
||||
* @param navigationClient
|
||||
*/
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
/**
|
||||
* Returns the configuration object
|
||||
*/
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
/**
|
||||
* Returns the performance client
|
||||
*/
|
||||
getPerformanceClient(): IPerformanceClient;
|
||||
/**
|
||||
* Returns the browser env indicator
|
||||
*/
|
||||
isBrowserEnv(): boolean;
|
||||
/**
|
||||
* Generates a correlation id for a request if none is provided.
|
||||
*
|
||||
* @protected
|
||||
* @param {?Partial<BaseAuthRequest>} [request]
|
||||
* @returns {string}
|
||||
*/
|
||||
protected getRequestCorrelationId(request?: Partial<BaseAuthRequest>): string;
|
||||
/**
|
||||
* Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
|
||||
* any code that follows this function will not execute.
|
||||
*
|
||||
* IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
|
||||
* browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
|
||||
*
|
||||
* @param request
|
||||
*/
|
||||
loginRedirect(request?: RedirectRequest): Promise<void>;
|
||||
/**
|
||||
* Use when initiating the login process via opening a popup window in the user's browser
|
||||
*
|
||||
* @param request
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
loginPopup(request?: PopupRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
|
||||
*
|
||||
* @param {@link (SilentRequest:type)}
|
||||
* @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
|
||||
*/
|
||||
acquireTokenSilent(request: SilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Silently acquire an access token for a given set of scopes. Will use cached token if available, otherwise will attempt to acquire a new token from the network via refresh token.
|
||||
* @param {@link (SilentRequest:type)}
|
||||
* @param {@link (AccountInfo:type)}
|
||||
* @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse}
|
||||
*/
|
||||
protected acquireTokenSilentAsync(request: SilentRequest & {
|
||||
correlationId: string;
|
||||
}, account: AccountInfo): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* AcquireTokenSilent without the iframe fallback. This is used to enable the correct fallbacks in cases where there's a potential for multiple silent requests to be made in parallel and prevent those requests from making concurrent iframe requests.
|
||||
* @param silentRequest
|
||||
* @param cacheLookupPolicy
|
||||
* @returns
|
||||
*/
|
||||
private acquireTokenSilentNoIframe;
|
||||
}
|
||||
//# sourceMappingURL=StandardController.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/controllers/StandardController.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/controllers/StandardController.d.ts.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
86
node_modules/@azure/msal-browser/lib/types/controllers/UnknownOperatingContextController.d.ts
generated
vendored
Normal file
86
node_modules/@azure/msal-browser/lib/types/controllers/UnknownOperatingContextController.d.ts
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
import { CommonAuthorizationUrlRequest, CommonSilentFlowRequest, PerformanceCallbackFunction, AccountInfo, Logger, ICrypto, IPerformanceClient, AccountFilter } from "@azure/msal-common/browser";
|
||||
import { ITokenCache } from "../cache/ITokenCache.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { ApiId, WrapperSKU } from "../utils/BrowserConstants.js";
|
||||
import { IController } from "./IController.js";
|
||||
import { UnknownOperatingContext } from "../operatingcontext/UnknownOperatingContext.js";
|
||||
import { EventCallbackFunction } from "../event/EventMessage.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
import { EventType } from "../event/EventType.js";
|
||||
/**
|
||||
* UnknownOperatingContextController class
|
||||
*
|
||||
* - Until initialize method is called, this controller is the default
|
||||
* - AFter initialize method is called, this controller will be swapped out for the appropriate controller
|
||||
* if the operating context can be determined; otherwise this controller will continued be used
|
||||
*
|
||||
* - Why do we have this? We don't want to dynamically import (download) all of the code in StandardController if we don't need to.
|
||||
*
|
||||
* - Only includes implementation for getAccounts and handleRedirectPromise
|
||||
* - All other methods are will throw initialization error (because either initialize method or the factory method were not used)
|
||||
* - This controller is necessary for React Native wrapper, server side rendering and any other scenario where we don't have a DOM
|
||||
*
|
||||
*/
|
||||
export declare class UnknownOperatingContextController implements IController {
|
||||
protected readonly operatingContext: UnknownOperatingContext;
|
||||
protected logger: Logger;
|
||||
protected readonly browserStorage: BrowserCacheManager;
|
||||
protected readonly config: BrowserConfiguration;
|
||||
protected readonly performanceClient: IPerformanceClient;
|
||||
private readonly eventHandler;
|
||||
protected readonly browserCrypto: ICrypto;
|
||||
protected isBrowserEnvironment: boolean;
|
||||
protected initialized: boolean;
|
||||
constructor(operatingContext: UnknownOperatingContext);
|
||||
getBrowserStorage(): BrowserCacheManager;
|
||||
getAccount(accountFilter: AccountFilter): AccountInfo | null;
|
||||
getAccountByHomeId(homeAccountId: string): AccountInfo | null;
|
||||
getAccountByLocalId(localAccountId: string): AccountInfo | null;
|
||||
getAccountByUsername(username: string): AccountInfo | null;
|
||||
getAllAccounts(): AccountInfo[];
|
||||
initialize(): Promise<void>;
|
||||
acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenRedirect(request: RedirectRequest): Promise<void>;
|
||||
acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
||||
acquireTokenNative(request: PopupRequest | SilentRequest | Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>, apiId: ApiId, accountId?: string | undefined): Promise<AuthenticationResult>;
|
||||
acquireTokenByRefreshToken(commonRequest: CommonSilentFlowRequest, silentRequest: SilentRequest): Promise<AuthenticationResult>;
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
|
||||
removeEventCallback(callbackId: string): void;
|
||||
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
||||
removePerformanceCallback(callbackId: string): boolean;
|
||||
enableAccountStorageEvents(): void;
|
||||
disableAccountStorageEvents(): void;
|
||||
handleRedirectPromise(hash?: string | undefined): Promise<AuthenticationResult | null>;
|
||||
loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
|
||||
loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
|
||||
logout(logoutRequest?: EndSessionRequest | undefined): Promise<void>;
|
||||
logoutRedirect(logoutRequest?: EndSessionRequest | undefined): Promise<void>;
|
||||
logoutPopup(logoutRequest?: EndSessionPopupRequest | undefined): Promise<void>;
|
||||
ssoSilent(request: Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>): Promise<AuthenticationResult>;
|
||||
getTokenCache(): ITokenCache;
|
||||
getLogger(): Logger;
|
||||
setLogger(logger: Logger): void;
|
||||
setActiveAccount(account: AccountInfo | null): void;
|
||||
getActiveAccount(): AccountInfo | null;
|
||||
initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
|
||||
setNavigationClient(navigationClient: INavigationClient): void;
|
||||
getConfiguration(): BrowserConfiguration;
|
||||
isBrowserEnv(): boolean;
|
||||
getBrowserCrypto(): ICrypto;
|
||||
getPerformanceClient(): IPerformanceClient;
|
||||
getRedirectResponse(): Map<string, Promise<AuthenticationResult | null>>;
|
||||
clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
|
||||
hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=UnknownOperatingContextController.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/controllers/UnknownOperatingContextController.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/controllers/UnknownOperatingContextController.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"UnknownOperatingContextController.d.ts","sourceRoot":"","sources":["../../../src/controllers/UnknownOperatingContextController.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,EAC3B,WAAW,EACX,MAAM,EACN,OAAO,EACP,kBAAkB,EAElB,aAAa,EAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACH,mBAAmB,EAEtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,oBAAo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GACnB,OAAO,CAAC,IAAI,CAAC;CAInB"}
|
||||
80
node_modules/@azure/msal-browser/lib/types/crypto/BrowserCrypto.d.ts
generated
vendored
Normal file
80
node_modules/@azure/msal-browser/lib/types/crypto/BrowserCrypto.d.ts
generated
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
import { IPerformanceClient } from "@azure/msal-common/browser";
|
||||
/**
|
||||
* Check whether browser crypto is available.
|
||||
*/
|
||||
export declare function validateCryptoAvailable(skipValidateSubtleCrypto: boolean): void;
|
||||
/**
|
||||
* Returns a sha-256 hash of the given dataString as an ArrayBuffer.
|
||||
* @param dataString {string} data string
|
||||
* @param performanceClient {?IPerformanceClient}
|
||||
* @param correlationId {?string} correlation id
|
||||
*/
|
||||
export declare function sha256Digest(dataString: string, performanceClient?: IPerformanceClient, correlationId?: string): Promise<ArrayBuffer>;
|
||||
/**
|
||||
* Populates buffer with cryptographically random values.
|
||||
* @param dataBuffer
|
||||
*/
|
||||
export declare function getRandomValues(dataBuffer: Uint8Array): Uint8Array;
|
||||
/**
|
||||
* Creates a UUID v7 from the current timestamp.
|
||||
* Implementation relies on the system clock to guarantee increasing order of generated identifiers.
|
||||
* @returns {number}
|
||||
*/
|
||||
export declare function createNewGuid(): string;
|
||||
/**
|
||||
* Generates a keypair based on current keygen algorithm config.
|
||||
* @param extractable
|
||||
* @param usages
|
||||
*/
|
||||
export declare function generateKeyPair(extractable: boolean, usages: Array<KeyUsage>): Promise<CryptoKeyPair>;
|
||||
/**
|
||||
* Export key as Json Web Key (JWK)
|
||||
* @param key
|
||||
*/
|
||||
export declare function exportJwk(key: CryptoKey): Promise<JsonWebKey>;
|
||||
/**
|
||||
* Imports key as Json Web Key (JWK), can set extractable and usages.
|
||||
* @param key
|
||||
* @param extractable
|
||||
* @param usages
|
||||
*/
|
||||
export declare function importJwk(key: JsonWebKey, extractable: boolean, usages: Array<KeyUsage>): Promise<CryptoKey>;
|
||||
/**
|
||||
* Signs given data with given key
|
||||
* @param key
|
||||
* @param data
|
||||
*/
|
||||
export declare function sign(key: CryptoKey, data: ArrayBuffer): Promise<ArrayBuffer>;
|
||||
/**
|
||||
* Generates symmetric base encryption key. This may be stored as all encryption/decryption keys will be derived from this one.
|
||||
*/
|
||||
export declare function generateBaseKey(): Promise<ArrayBuffer>;
|
||||
/**
|
||||
* Returns the raw key to be passed into the key derivation function
|
||||
* @param baseKey
|
||||
* @returns
|
||||
*/
|
||||
export declare function generateHKDF(baseKey: ArrayBuffer): Promise<CryptoKey>;
|
||||
/**
|
||||
* Encrypt the given data given a base key. Returns encrypted data and a nonce that must be provided during decryption
|
||||
* @param key
|
||||
* @param rawData
|
||||
*/
|
||||
export declare function encrypt(baseKey: CryptoKey, rawData: string, context: string): Promise<{
|
||||
data: string;
|
||||
nonce: string;
|
||||
}>;
|
||||
/**
|
||||
* Decrypt data with the given key and nonce
|
||||
* @param key
|
||||
* @param nonce
|
||||
* @param encryptedData
|
||||
* @returns
|
||||
*/
|
||||
export declare function decrypt(baseKey: CryptoKey, nonce: string, context: string, encryptedData: string): Promise<string>;
|
||||
/**
|
||||
* Returns the SHA-256 hash of an input string
|
||||
* @param plainText
|
||||
*/
|
||||
export declare function hashString(plainText: string): Promise<string>;
|
||||
//# sourceMappingURL=BrowserCrypto.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/crypto/BrowserCrypto.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/crypto/BrowserCrypto.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserCrypto.d.ts","sourceRoot":"","sources":["../../../src/crypto/BrowserCrypto.ts"],"names":[],"mappings":"AASA,OAAO,EACH,kBAAkB,EAErB,MAAM,4BAA4B,CAAC;AA6CpC;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,wBAAwB,EAAE,OAAO,GAClC,IAAI,CAeN;AAED;;;;;GAKG;AACH,wBAAsB,YAAY,CAC9B,UAAU,EAAE,MAAM,EAClB,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,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,CAajB;AAED;;;GAGG;AACH,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAInE"}
|
||||
75
node_modules/@azure/msal-browser/lib/types/crypto/CryptoOps.d.ts
generated
vendored
Normal file
75
node_modules/@azure/msal-browser/lib/types/crypto/CryptoOps.d.ts
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
import { ICrypto, IPerformanceClient, Logger, ShrOptions, SignedHttpRequest, SignedHttpRequestParameters } from "@azure/msal-common/browser";
|
||||
export type CachedKeyPair = {
|
||||
publicKey: CryptoKey;
|
||||
privateKey: CryptoKey;
|
||||
requestMethod?: string;
|
||||
requestUri?: string;
|
||||
};
|
||||
/**
|
||||
* This class implements MSAL's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
|
||||
* implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
|
||||
*/
|
||||
export declare class CryptoOps implements ICrypto {
|
||||
private logger;
|
||||
/**
|
||||
* CryptoOps can be used in contexts outside a PCA instance,
|
||||
* meaning there won't be a performance manager available.
|
||||
*/
|
||||
private performanceClient;
|
||||
private static POP_KEY_USAGES;
|
||||
private static EXTRACTABLE;
|
||||
private cache;
|
||||
constructor(logger: Logger, performanceClient?: IPerformanceClient, skipValidateSubtleCrypto?: boolean);
|
||||
/**
|
||||
* Creates a new random GUID - used to populate state and nonce.
|
||||
* @returns string (GUID)
|
||||
*/
|
||||
createNewGuid(): string;
|
||||
/**
|
||||
* Encodes input string to base64.
|
||||
* @param input
|
||||
*/
|
||||
base64Encode(input: string): string;
|
||||
/**
|
||||
* Decodes input string from base64.
|
||||
* @param input
|
||||
*/
|
||||
base64Decode(input: string): string;
|
||||
/**
|
||||
* Encodes input string to base64 URL safe string.
|
||||
* @param input
|
||||
*/
|
||||
base64UrlEncode(input: string): string;
|
||||
/**
|
||||
* Stringifies and base64Url encodes input public key
|
||||
* @param inputKid
|
||||
* @returns Base64Url encoded public key
|
||||
*/
|
||||
encodeKid(inputKid: string): string;
|
||||
/**
|
||||
* Generates a keypair, stores it and returns a thumbprint
|
||||
* @param request
|
||||
*/
|
||||
getPublicKeyThumbprint(request: SignedHttpRequestParameters): Promise<string>;
|
||||
/**
|
||||
* Removes cryptographic keypair from key store matching the keyId passed in
|
||||
* @param kid
|
||||
*/
|
||||
removeTokenBindingKey(kid: string): Promise<boolean>;
|
||||
/**
|
||||
* Removes all cryptographic keys from IndexedDB storage
|
||||
*/
|
||||
clearKeystore(): Promise<boolean>;
|
||||
/**
|
||||
* Signs the given object as a jwt payload with private key retrieved by given kid.
|
||||
* @param payload
|
||||
* @param kid
|
||||
*/
|
||||
signJwt(payload: SignedHttpRequest, kid: string, shrOptions?: ShrOptions, correlationId?: string): Promise<string>;
|
||||
/**
|
||||
* Returns the SHA-256 hash of an input string
|
||||
* @param plainText
|
||||
*/
|
||||
hashString(plainText: string): Promise<string>;
|
||||
}
|
||||
//# sourceMappingURL=CryptoOps.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/crypto/CryptoOps.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/crypto/CryptoOps.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CryptoOps.d.ts","sourceRoot":"","sources":["../../../src/crypto/CryptoOps.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,kBAAkB,EAElB,MAAM,EAEN,UAAU,EACV,iBAAiB,EACjB,2BAA2B,EAC9B,MAAM,4BAA4B,CAAC;AAcpC,MAAM,MAAM,aAAa,GAAG;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,qBAAa,SAAU,YAAW,OAAO;IACrC,OAAO,CAAC,MAAM,CAAS;IAEvB;;;OAGG;IACH,OAAO,CAAC,iBAAiB,CAAiC;IAE1D,OAAO,CAAC,MAAM,CAAC,cAAc,CAAuC;IACpE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAiB;IAC3C,OAAO,CAAC,KAAK,CAAoC;gBAG7C,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,kBAAkB,EACtC,wBAAwB,CAAC,EAAE,OAAO;IAWtC;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInC;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInC;;;OAGG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAItC;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAInC;;;OAGG;IACG,sBAAsB,CACxB,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,MAAM,CAAC;IAqDlB;;;OAGG;IACG,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAM1D;;OAEG;IACG,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IA0BvC;;;;OAIG;IACG,OAAO,CACT,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,UAAU,EACvB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC;IA0DlB;;;OAGG;IACG,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGvD"}
|
||||
9
node_modules/@azure/msal-browser/lib/types/crypto/PkceGenerator.d.ts
generated
vendored
Normal file
9
node_modules/@azure/msal-browser/lib/types/crypto/PkceGenerator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { IPerformanceClient, Logger, PkceCodes } from "@azure/msal-common/browser";
|
||||
/**
|
||||
* This file defines APIs to generate PKCE codes and code verifiers.
|
||||
*/
|
||||
/**
|
||||
* Generates PKCE Codes. See the RFC for more information: https://tools.ietf.org/html/rfc7636
|
||||
*/
|
||||
export declare function generatePkceCodes(performanceClient: IPerformanceClient, logger: Logger, correlationId: string): Promise<PkceCodes>;
|
||||
//# sourceMappingURL=PkceGenerator.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/crypto/PkceGenerator.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/crypto/PkceGenerator.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PkceGenerator.d.ts","sourceRoot":"","sources":["../../../src/crypto/PkceGenerator.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,kBAAkB,EAClB,MAAM,EAEN,SAAS,EAGZ,MAAM,4BAA4B,CAAC;AAWpC;;GAEG;AAEH;;GAEG;AACH,wBAAsB,iBAAiB,CACnC,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,SAAS,CAAC,CAuBpB"}
|
||||
31
node_modules/@azure/msal-browser/lib/types/crypto/SignedHttpRequest.d.ts
generated
vendored
Normal file
31
node_modules/@azure/msal-browser/lib/types/crypto/SignedHttpRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
import { LoggerOptions, SignedHttpRequestParameters } from "@azure/msal-common/browser";
|
||||
export type SignedHttpRequestOptions = {
|
||||
loggerOptions: LoggerOptions;
|
||||
};
|
||||
export declare class SignedHttpRequest {
|
||||
private popTokenGenerator;
|
||||
private cryptoOps;
|
||||
private shrParameters;
|
||||
private logger;
|
||||
constructor(shrParameters: SignedHttpRequestParameters, shrOptions?: SignedHttpRequestOptions);
|
||||
/**
|
||||
* Generates and caches a keypair for the given request options.
|
||||
* @returns Public key digest, which should be sent to the token issuer.
|
||||
*/
|
||||
generatePublicKeyThumbprint(): Promise<string>;
|
||||
/**
|
||||
* Generates a signed http request for the given payload with the given key.
|
||||
* @param payload Payload to sign (e.g. access token)
|
||||
* @param publicKeyThumbprint Public key digest (from generatePublicKeyThumbprint API)
|
||||
* @param claims Additional claims to include/override in the signed JWT
|
||||
* @returns Pop token signed with the corresponding private key
|
||||
*/
|
||||
signRequest(payload: string, publicKeyThumbprint: string, claims?: object): Promise<string>;
|
||||
/**
|
||||
* Removes cached keys from browser for given public key thumbprint
|
||||
* @param publicKeyThumbprint Public key digest (from generatePublicKeyThumbprint API)
|
||||
* @returns If keys are properly deleted
|
||||
*/
|
||||
removeKeys(publicKeyThumbprint: string): Promise<boolean>;
|
||||
}
|
||||
//# sourceMappingURL=SignedHttpRequest.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/crypto/SignedHttpRequest.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/crypto/SignedHttpRequest.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SignedHttpRequest.d.ts","sourceRoot":"","sources":["../../../src/crypto/SignedHttpRequest.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,aAAa,EAEb,2BAA2B,EAC9B,MAAM,4BAA4B,CAAC;AAGpC,MAAM,MAAM,wBAAwB,GAAG;IACnC,aAAa,EAAE,aAAa,CAAC;CAChC,CAAC;AAEF,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,SAAS,CAAY;IAC7B,OAAO,CAAC,aAAa,CAA8B;IACnD,OAAO,CAAC,MAAM,CAAS;gBAGnB,aAAa,EAAE,2BAA2B,EAC1C,UAAU,CAAC,EAAE,wBAAwB;IASzC;;;OAGG;IACG,2BAA2B,IAAI,OAAO,CAAC,MAAM,CAAC;IAQpD;;;;;;OAMG;IACG,WAAW,CACb,OAAO,EAAE,MAAM,EACf,mBAAmB,EAAE,MAAM,EAC3B,MAAM,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC;IASlB;;;;OAIG;IACG,UAAU,CAAC,mBAAmB,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAGlE"}
|
||||
15
node_modules/@azure/msal-browser/lib/types/encode/Base64Decode.d.ts
generated
vendored
Normal file
15
node_modules/@azure/msal-browser/lib/types/encode/Base64Decode.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Class which exposes APIs to decode base64 strings to plaintext. See here for implementation details:
|
||||
* https://developer.mozilla.org/en-US/docs/Glossary/Base64#the_unicode_problem
|
||||
*/
|
||||
/**
|
||||
* Returns a URL-safe plaintext decoded string from b64 encoded input.
|
||||
* @param input
|
||||
*/
|
||||
export declare function base64Decode(input: string): string;
|
||||
/**
|
||||
* Decodes base64 into Uint8Array
|
||||
* @param base64String
|
||||
*/
|
||||
export declare function base64DecToArr(base64String: string): Uint8Array;
|
||||
//# sourceMappingURL=Base64Decode.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/encode/Base64Decode.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/encode/Base64Decode.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Base64Decode.d.ts","sourceRoot":"","sources":["../../../src/encode/Base64Decode.ts"],"names":[],"mappings":"AAUA;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,UAAU,CAkB/D"}
|
||||
20
node_modules/@azure/msal-browser/lib/types/encode/Base64Encode.d.ts
generated
vendored
Normal file
20
node_modules/@azure/msal-browser/lib/types/encode/Base64Encode.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Class which exposes APIs to encode plaintext to base64 encoded string. See here for implementation details:
|
||||
* https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_2_%E2%80%93_JavaScript's_UTF-16_%3E_UTF-8_%3E_base64
|
||||
*/
|
||||
/**
|
||||
* Returns URL Safe b64 encoded string from a plaintext string.
|
||||
* @param input
|
||||
*/
|
||||
export declare function urlEncode(input: string): string;
|
||||
/**
|
||||
* Returns URL Safe b64 encoded string from an int8Array.
|
||||
* @param inputArr
|
||||
*/
|
||||
export declare function urlEncodeArr(inputArr: Uint8Array): string;
|
||||
/**
|
||||
* Returns b64 encoded string from plaintext string.
|
||||
* @param input
|
||||
*/
|
||||
export declare function base64Encode(input: string): string;
|
||||
//# sourceMappingURL=Base64Encode.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/encode/Base64Encode.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/encode/Base64Encode.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Base64Encode.d.ts","sourceRoot":"","sources":["../../../src/encode/Base64Encode.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAO/C;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,UAAU,GAAG,MAAM,CAKzD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElD"}
|
||||
258
node_modules/@azure/msal-browser/lib/types/error/BrowserAuthError.d.ts
generated
vendored
Normal file
258
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/BrowserAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/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"}
|
||||
49
node_modules/@azure/msal-browser/lib/types/error/BrowserAuthErrorCodes.d.ts
generated
vendored
Normal file
49
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/BrowserAuthErrorCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/error/BrowserAuthErrorCodes.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BrowserAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../../src/error/BrowserAuthErr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AwB,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"}
|
||||
34
node_modules/@azure/msal-browser/lib/types/error/BrowserConfigurationAuthError.d.ts
generated
vendored
Normal file
34
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/BrowserConfigurationAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/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"}
|
||||
4
node_modules/@azure/msal-browser/lib/types/error/BrowserConfigurationAuthErrorCodes.d.ts
generated
vendored
Normal file
4
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/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"}
|
||||
30
node_modules/@azure/msal-browser/lib/types/error/NativeAuthError.d.ts
generated
vendored
Normal file
30
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/NativeAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/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"}
|
||||
3
node_modules/@azure/msal-browser/lib/types/error/NativeAuthErrorCodes.d.ts
generated
vendored
Normal file
3
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/NativeAuthErrorCodes.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/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"}
|
||||
15
node_modules/@azure/msal-browser/lib/types/error/NestedAppAuthError.d.ts
generated
vendored
Normal file
15
node_modules/@azure/msal-browser/lib/types/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/lib/types/error/NestedAppAuthError.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/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"}
|
||||
49
node_modules/@azure/msal-browser/lib/types/event/EventHandler.d.ts
generated
vendored
Normal file
49
node_modules/@azure/msal-browser/lib/types/event/EventHandler.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import { Logger } from "@azure/msal-common/browser";
|
||||
import { InteractionType } from "../utils/BrowserConstants.js";
|
||||
import { EventCallbackFunction, EventError, EventPayload } from "./EventMessage.js";
|
||||
import { EventType } from "./EventType.js";
|
||||
export declare class EventHandler {
|
||||
private eventCallbacks;
|
||||
private logger;
|
||||
private broadcastChannel;
|
||||
constructor(logger?: Logger);
|
||||
/**
|
||||
* Adds event callbacks to array
|
||||
* @param callback - callback to be invoked when an event is raised
|
||||
* @param eventTypes - list of events that this callback will be invoked for, if not provided callback will be invoked for all events
|
||||
* @param callbackId - Identifier for the callback, used to locate and remove the callback when no longer required
|
||||
*/
|
||||
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>, callbackId?: string): string | null;
|
||||
/**
|
||||
* Removes callback with provided id from callback array
|
||||
* @param callbackId
|
||||
*/
|
||||
removeEventCallback(callbackId: string): void;
|
||||
/**
|
||||
* Emits events by calling callback with event message
|
||||
* @param eventType
|
||||
* @param interactionType
|
||||
* @param payload
|
||||
* @param error
|
||||
*/
|
||||
emitEvent(eventType: EventType, interactionType?: InteractionType, payload?: EventPayload, error?: EventError): void;
|
||||
/**
|
||||
* Invoke registered callbacks
|
||||
* @param message
|
||||
*/
|
||||
private invokeCallbacks;
|
||||
/**
|
||||
* Wrapper around invokeCallbacks to handle broadcast events received from other tabs/instances
|
||||
* @param event
|
||||
*/
|
||||
private invokeCrossTabCallbacks;
|
||||
/**
|
||||
* Listen for events broadcasted from other tabs/instances
|
||||
*/
|
||||
subscribeCrossTab(): void;
|
||||
/**
|
||||
* Unsubscribe from broadcast events
|
||||
*/
|
||||
unsubscribeCrossTab(): void;
|
||||
}
|
||||
//# sourceMappingURL=EventHandler.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/event/EventHandler.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/event/EventHandler.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EventHandler.d.ts","sourceRoot":"","sources":["../../../src/event/EventHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EACH,qBAAqB,EACrB,UAAU,EAEV,YAAY,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,qBAAa,YAAY;IAErB,OAAO,CAAC,cAAc,CAGpB;IACF,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,gBAAgB,CAAmB;gBAE/B,MAAM,CAAC,EAAE,MAAM;IAO3B;;;;;OAKG;IACH,gBAAgB,CACZ,QAAQ,EAAE,qBAAqB,EAC/B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAC7B,UAAU,CAAC,EAAE,MAAM,GACpB,MAAM,GAAG,IAAI;IAkBhB;;;OAGG;IACH,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAK7C;;;;;;OAMG;IACH,SAAS,CACL,SAAS,EAAE,SAAS,EACpB,eAAe,CAAC,EAAE,eAAe,EACjC,OAAO,CAAC,EAAE,YAAY,EACtB,KAAK,CAAC,EAAE,UAAU,GACnB,IAAI;IAuBP;;;OAGG;IACH,OAAO,CAAC,eAAe;IAsBvB;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAK/B;;OAEG;IACH,iBAAiB,IAAI,IAAI;IAOzB;;OAEG;IACH,mBAAmB,IAAI,IAAI;CAM9B"}
|
||||
31
node_modules/@azure/msal-browser/lib/types/event/EventMessage.d.ts
generated
vendored
Normal file
31
node_modules/@azure/msal-browser/lib/types/event/EventMessage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
import { AuthError, AccountInfo } from "@azure/msal-common/browser";
|
||||
import { EventType } from "./EventType.js";
|
||||
import { InteractionStatus, InteractionType } from "../utils/BrowserConstants.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
export type EventMessage = {
|
||||
eventType: EventType;
|
||||
interactionType: InteractionType | null;
|
||||
payload: EventPayload;
|
||||
error: EventError;
|
||||
timestamp: number;
|
||||
};
|
||||
export type PopupEvent = {
|
||||
popupWindow: Window;
|
||||
};
|
||||
export type EventPayload = AccountInfo | PopupRequest | RedirectRequest | SilentRequest | SsoSilentRequest | EndSessionRequest | AuthenticationResult | PopupEvent | null;
|
||||
export type EventError = AuthError | Error | null;
|
||||
export type EventCallbackFunction = (message: EventMessage) => void;
|
||||
export declare class EventMessageUtils {
|
||||
/**
|
||||
* Gets interaction status from event message
|
||||
* @param message
|
||||
* @param currentStatus
|
||||
*/
|
||||
static getInteractionStatusFromEvent(message: EventMessage, currentStatus?: InteractionStatus): InteractionStatus | null;
|
||||
}
|
||||
//# sourceMappingURL=EventMessage.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/event/EventMessage.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/event/EventMessage.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EventMessage.d.ts","sourceRoot":"","sources":["../../../src/event/EventMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EACH,iBAAiB,EACjB,eAAe,EAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,YAAY,GAAG;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAClB,WAAW,GACX,YAAY,GACZ,eAAe,GACf,aAAa,GACb,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,UAAU,GACV,IAAI,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC;AAElD,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;AAEpE,qBAAa,iBAAiB;IAC1B;;;;OAIG;IACH,MAAM,CAAC,6BAA6B,CAChC,OAAO,EAAE,YAAY,EACrB,aAAa,CAAC,EAAE,iBAAiB,GAClC,iBAAiB,GAAG,IAAI;CAuE9B"}
|
||||
30
node_modules/@azure/msal-browser/lib/types/event/EventType.d.ts
generated
vendored
Normal file
30
node_modules/@azure/msal-browser/lib/types/event/EventType.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
export declare const EventType: {
|
||||
readonly INITIALIZE_START: "msal:initializeStart";
|
||||
readonly INITIALIZE_END: "msal:initializeEnd";
|
||||
readonly ACCOUNT_ADDED: "msal:accountAdded";
|
||||
readonly ACCOUNT_REMOVED: "msal:accountRemoved";
|
||||
readonly ACTIVE_ACCOUNT_CHANGED: "msal:activeAccountChanged";
|
||||
readonly LOGIN_START: "msal:loginStart";
|
||||
readonly LOGIN_SUCCESS: "msal:loginSuccess";
|
||||
readonly LOGIN_FAILURE: "msal:loginFailure";
|
||||
readonly ACQUIRE_TOKEN_START: "msal:acquireTokenStart";
|
||||
readonly ACQUIRE_TOKEN_SUCCESS: "msal:acquireTokenSuccess";
|
||||
readonly ACQUIRE_TOKEN_FAILURE: "msal:acquireTokenFailure";
|
||||
readonly ACQUIRE_TOKEN_NETWORK_START: "msal:acquireTokenFromNetworkStart";
|
||||
readonly SSO_SILENT_START: "msal:ssoSilentStart";
|
||||
readonly SSO_SILENT_SUCCESS: "msal:ssoSilentSuccess";
|
||||
readonly SSO_SILENT_FAILURE: "msal:ssoSilentFailure";
|
||||
readonly ACQUIRE_TOKEN_BY_CODE_START: "msal:acquireTokenByCodeStart";
|
||||
readonly ACQUIRE_TOKEN_BY_CODE_SUCCESS: "msal:acquireTokenByCodeSuccess";
|
||||
readonly ACQUIRE_TOKEN_BY_CODE_FAILURE: "msal:acquireTokenByCodeFailure";
|
||||
readonly HANDLE_REDIRECT_START: "msal:handleRedirectStart";
|
||||
readonly HANDLE_REDIRECT_END: "msal:handleRedirectEnd";
|
||||
readonly POPUP_OPENED: "msal:popupOpened";
|
||||
readonly LOGOUT_START: "msal:logoutStart";
|
||||
readonly LOGOUT_SUCCESS: "msal:logoutSuccess";
|
||||
readonly LOGOUT_FAILURE: "msal:logoutFailure";
|
||||
readonly LOGOUT_END: "msal:logoutEnd";
|
||||
readonly RESTORE_FROM_BFCACHE: "msal:restoreFromBFCache";
|
||||
};
|
||||
export type EventType = (typeof EventType)[keyof typeof EventType];
|
||||
//# sourceMappingURL=EventType.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/event/EventType.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/event/EventType.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"EventType.d.ts","sourceRoot":"","sources":["../../../src/event/EventType.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC"}
|
||||
44
node_modules/@azure/msal-browser/lib/types/index.d.ts
generated
vendored
Normal file
44
node_modules/@azure/msal-browser/lib/types/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* @packageDocumentation
|
||||
* @module @azure/msal-browser
|
||||
*/
|
||||
import * as BrowserUtils from "./utils/BrowserUtils.js";
|
||||
export { BrowserUtils };
|
||||
export { PublicClientApplication, createNestablePublicClientApplication, createStandardPublicClientApplication, } from "./app/PublicClientApplication.js";
|
||||
export { PublicClientNext } from "./app/PublicClientNext.js";
|
||||
export { IController } from "./controllers/IController.js";
|
||||
export { Configuration, BrowserAuthOptions, CacheOptions, BrowserSystemOptions, BrowserTelemetryOptions, BrowserConfiguration, DEFAULT_IFRAME_TIMEOUT_MS, } from "./config/Configuration.js";
|
||||
export { InteractionType, InteractionStatus, BrowserCacheLocation, WrapperSKU, ApiId, CacheLookupPolicy, } from "./utils/BrowserConstants.js";
|
||||
export { BrowserAuthError, BrowserAuthErrorMessage, BrowserAuthErrorCodes, } from "./error/BrowserAuthError.js";
|
||||
export { BrowserConfigurationAuthError, BrowserConfigurationAuthErrorCodes, BrowserConfigurationAuthErrorMessage, } from "./error/BrowserConfigurationAuthError.js";
|
||||
export { IPublicClientApplication, stubbedPublicClientApplication, } from "./app/IPublicClientApplication.js";
|
||||
export { INavigationClient } from "./navigation/INavigationClient.js";
|
||||
export { NavigationClient } from "./navigation/NavigationClient.js";
|
||||
export { NavigationOptions } from "./navigation/NavigationOptions.js";
|
||||
export { PopupRequest } from "./request/PopupRequest.js";
|
||||
export { RedirectRequest } from "./request/RedirectRequest.js";
|
||||
export { SilentRequest } from "./request/SilentRequest.js";
|
||||
export { SsoSilentRequest } from "./request/SsoSilentRequest.js";
|
||||
export { EndSessionRequest } from "./request/EndSessionRequest.js";
|
||||
export { EndSessionPopupRequest } from "./request/EndSessionPopupRequest.js";
|
||||
export { AuthorizationUrlRequest } from "./request/AuthorizationUrlRequest.js";
|
||||
export { AuthorizationCodeRequest } from "./request/AuthorizationCodeRequest.js";
|
||||
export { AuthenticationResult } from "./response/AuthenticationResult.js";
|
||||
export { ClearCacheRequest } from "./request/ClearCacheRequest.js";
|
||||
export { InitializeApplicationRequest } from "./request/InitializeApplicationRequest.js";
|
||||
export { LoadTokenOptions } from "./cache/TokenCache.js";
|
||||
export { ITokenCache } from "./cache/ITokenCache.js";
|
||||
export { MemoryStorage } from "./cache/MemoryStorage.js";
|
||||
export { LocalStorage } from "./cache/LocalStorage.js";
|
||||
export { SessionStorage } from "./cache/SessionStorage.js";
|
||||
export { IWindowStorage } from "./cache/IWindowStorage.js";
|
||||
export { EventMessage, EventPayload, EventError, EventCallbackFunction, EventMessageUtils, PopupEvent, } from "./event/EventMessage.js";
|
||||
export { EventType } from "./event/EventType.js";
|
||||
export { EventHandler } from "./event/EventHandler.js";
|
||||
export { SignedHttpRequest, SignedHttpRequestOptions, } from "./crypto/SignedHttpRequest.js";
|
||||
export { PopupWindowAttributes, PopupSize, PopupPosition, } from "./request/PopupWindowAttributes.js";
|
||||
export { BrowserPerformanceClient } from "./telemetry/BrowserPerformanceClient.js";
|
||||
export { BrowserPerformanceMeasurement } from "./telemetry/BrowserPerformanceMeasurement.js";
|
||||
export { AuthenticationScheme, AccountInfo, AccountEntity, IdTokenClaims, AuthError, AuthErrorCodes, AuthErrorMessage, ClientAuthError, ClientAuthErrorCodes, ClientAuthErrorMessage, ClientConfigurationError, ClientConfigurationErrorCodes, ClientConfigurationErrorMessage, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthErrorMessage, ServerError, INetworkModule, NetworkResponse, NetworkRequestOptions, ILoggerCallback, Logger, LogLevel, ProtocolMode, ServerResponseType, PromptValue, ExternalTokenResponse, StringUtils, UrlString, JsonWebTokenTypes, AzureCloudInstance, AzureCloudOptions, AuthenticationHeaderParser, OIDC_DEFAULT_SCOPES, PerformanceCallbackFunction, PerformanceEvent, PerformanceEvents, InProgressPerformanceEvent, TenantProfile, IPerformanceClient, StubPerformanceClient, } from "@azure/msal-common/browser";
|
||||
export { version } from "./packageMetadata.js";
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,OAAO,EACH,uBAAuB,EACvB,qCAAqC,EACrC,qCAAqC,GACxC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2B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kBAAkB,EAClB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EAEjB,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
||||
59
node_modules/@azure/msal-browser/lib/types/interaction_client/BaseInteractionClient.d.ts
generated
vendored
Normal file
59
node_modules/@azure/msal-browser/lib/types/interaction_client/BaseInteractionClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
import { ICrypto, INetworkModule, Logger, AccountInfo, ServerTelemetryManager, Authority, IPerformanceClient, AzureCloudOptions, StringDict } from "@azure/msal-common/browser";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
||||
import { EventHandler } from "../event/EventHandler.js";
|
||||
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { NativeMessageHandler } from "../broker/nativeBroker/NativeMessageHandler.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
||||
export declare abstract class BaseInteractionClient {
|
||||
protected config: BrowserConfiguration;
|
||||
protected browserStorage: BrowserCacheManager;
|
||||
protected browserCrypto: ICrypto;
|
||||
protected networkClient: INetworkModule;
|
||||
protected logger: Logger;
|
||||
protected eventHandler: EventHandler;
|
||||
protected navigationClient: INavigationClient;
|
||||
protected nativeMessageHandler: NativeMessageHandler | undefined;
|
||||
protected correlationId: string;
|
||||
protected performanceClient: IPerformanceClient;
|
||||
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeMessageHandler?: NativeMessageHandler, correlationId?: string);
|
||||
abstract acquireToken(request: RedirectRequest | PopupRequest | SsoSilentRequest): Promise<AuthenticationResult | void>;
|
||||
abstract logout(request: EndSessionRequest | ClearCacheRequest | undefined): Promise<void>;
|
||||
protected clearCacheOnLogout(account?: AccountInfo | null): Promise<void>;
|
||||
/**
|
||||
*
|
||||
* Use to get the redirect uri configured in MSAL or null.
|
||||
* @param requestRedirectUri
|
||||
* @returns Redirect URL
|
||||
*
|
||||
*/
|
||||
getRedirectUri(requestRedirectUri?: string): string;
|
||||
/**
|
||||
*
|
||||
* @param apiId
|
||||
* @param correlationId
|
||||
* @param forceRefresh
|
||||
*/
|
||||
protected initializeServerTelemetryManager(apiId: number, forceRefresh?: boolean): ServerTelemetryManager;
|
||||
/**
|
||||
* Used to get a discovered version of the default authority.
|
||||
* @param params {
|
||||
* requestAuthority?: string;
|
||||
* requestAzureCloudOptions?: AzureCloudOptions;
|
||||
* requestExtraQueryParameters?: StringDict;
|
||||
* account?: AccountInfo;
|
||||
* }
|
||||
*/
|
||||
protected getDiscoveredAuthority(params: {
|
||||
requestAuthority?: string;
|
||||
requestAzureCloudOptions?: AzureCloudOptions;
|
||||
requestExtraQueryParameters?: StringDict;
|
||||
account?: AccountInfo;
|
||||
}): Promise<Authority>;
|
||||
}
|
||||
//# sourceMappingURL=BaseInteractionClient.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/interaction_client/BaseInteractionClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/interaction_client/BaseInteractionClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BaseInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/BaseInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,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mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,aAAa,CAAC,EAAE,MAAM;IAkB1B,QAAQ,CAAC,YAAY,CACjB,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,gBAAgB,GAC3D,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAEvC,QAAQ,CAAC,MAAM,CACX,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,SAAS,GAC3D,OAAO,CAAC,IAAI,CAAC;cAEA,kBAAkB,CAC9B,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,GAC7B,OAAO,CAAC,IAAI,CAAC;IA2ChB;;;;;;OAMG;IACH,cAAc,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM;IASnD;;;;;OAKG;IACH,SAAS,CAAC,gCAAgC,CACtC,KAAK,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,OAAO,GACvB,sBAAsB;IAiBzB;;;;;;;;OAQG;cACa,sBAAsB,CAAC,MAAM,EAAE;QAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;KACzB,GAAG,OAAO,CAAC,SAAS,CAAC;CAmEzB"}
|
||||
5
node_modules/@azure/msal-browser/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts
generated
vendored
Normal file
5
node_modules/@azure/msal-browser/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { AuthorizationCodeClient, ClientConfiguration } from "@azure/msal-common/browser";
|
||||
export declare class HybridSpaAuthorizationCodeClient extends AuthorizationCodeClient {
|
||||
constructor(config: ClientConfiguration);
|
||||
}
|
||||
//# sourceMappingURL=HybridSpaAuthorizationCodeClient.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"HybridSpaAuthorizationCodeClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/HybridSpaAuthorizationCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,uBAAuB,EACvB,mBAAmB,EACtB,MAAM,4BAA4B,CAAC;AAEpC,qBAAa,gCAAiC,SAAQ,uBAAuB;gBAC7D,MAAM,EAAE,mBAAmB;CAI1C"}
|
||||
151
node_modules/@azure/msal-browser/lib/types/interaction_client/NativeInteractionClient.d.ts
generated
vendored
Normal file
151
node_modules/@azure/msal-browser/lib/types/interaction_client/NativeInteractionClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,151 @@
|
||||
import { Logger, ICrypto, AccountEntity, ScopeSet, IPerformanceClient, TokenClaims, InProgressPerformanceEvent } from "@azure/msal-common/browser";
|
||||
import { BaseInteractionClient } from "./BaseInteractionClient.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
||||
import { EventHandler } from "../event/EventHandler.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { SilentRequest } from "../request/SilentRequest.js";
|
||||
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
||||
import { NativeMessageHandler } from "../broker/nativeBroker/NativeMessageHandler.js";
|
||||
import { ApiId } from "../utils/BrowserConstants.js";
|
||||
import { NativeTokenRequest } from "../broker/nativeBroker/NativeRequest.js";
|
||||
import { MATS, NativeResponse } from "../broker/nativeBroker/NativeResponse.js";
|
||||
import { RedirectRequest } from "../request/RedirectRequest.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { SilentCacheClient } from "./SilentCacheClient.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
export declare class NativeInteractionClient extends BaseInteractionClient {
|
||||
protected apiId: ApiId;
|
||||
protected accountId: string;
|
||||
protected nativeMessageHandler: NativeMessageHandler;
|
||||
protected silentCacheClient: SilentCacheClient;
|
||||
protected nativeStorageManager: BrowserCacheManager;
|
||||
protected skus: string;
|
||||
constructor(config: BrowserConfiguration, browserStorage: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, provider: NativeMessageHandler, accountId: string, nativeStorageImpl: BrowserCacheManager, correlationId?: string);
|
||||
/**
|
||||
* Adds SKUs to request extra query parameters
|
||||
* @param request {NativeTokenRequest}
|
||||
* @private
|
||||
*/
|
||||
private addRequestSKUs;
|
||||
/**
|
||||
* Acquire token from native platform via browser extension
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: PopupRequest | SilentRequest | SsoSilentRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Creates silent flow request
|
||||
* @param request
|
||||
* @param cachedAccount
|
||||
* @returns CommonSilentFlowRequest
|
||||
*/
|
||||
private createSilentCacheRequest;
|
||||
/**
|
||||
* Fetches the tokens from the cache if un-expired
|
||||
* @param nativeAccountId
|
||||
* @param request
|
||||
* @returns authenticationResult
|
||||
*/
|
||||
protected acquireTokensFromCache(nativeAccountId: string, request: NativeTokenRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Acquires a token from native platform then redirects to the redirectUri instead of returning the response
|
||||
* @param {RedirectRequest} request
|
||||
* @param {InProgressPerformanceEvent} rootMeasurement
|
||||
*/
|
||||
acquireTokenRedirect(request: RedirectRequest, rootMeasurement: InProgressPerformanceEvent): Promise<void>;
|
||||
/**
|
||||
* If the previous page called native platform for a token using redirect APIs, send the same request again and return the response
|
||||
* @param performanceClient {IPerformanceClient?}
|
||||
* @param correlationId {string?} correlation identifier
|
||||
*/
|
||||
handleRedirectPromise(performanceClient?: IPerformanceClient, correlationId?: string): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* Logout from native platform via browser extension
|
||||
* @param request
|
||||
*/
|
||||
logout(): Promise<void>;
|
||||
/**
|
||||
* Transform response from native platform into AuthenticationResult object which will be returned to the end user
|
||||
* @param response
|
||||
* @param request
|
||||
* @param reqTimestamp
|
||||
*/
|
||||
protected handleNativeResponse(response: NativeResponse, request: NativeTokenRequest, reqTimestamp: number): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* creates an homeAccountIdentifier for the account
|
||||
* @param response
|
||||
* @param idTokenObj
|
||||
* @returns
|
||||
*/
|
||||
protected createHomeAccountIdentifier(response: NativeResponse, idTokenClaims: TokenClaims): string;
|
||||
/**
|
||||
* Helper to generate scopes
|
||||
* @param response
|
||||
* @param request
|
||||
* @returns
|
||||
*/
|
||||
generateScopes(response: NativeResponse, request: NativeTokenRequest): ScopeSet;
|
||||
/**
|
||||
* If PoP token is requesred, records the PoP token if returned from the WAM, else generates one in the browser
|
||||
* @param request
|
||||
* @param response
|
||||
*/
|
||||
generatePopAccessToken(response: NativeResponse, request: NativeTokenRequest): Promise<string>;
|
||||
/**
|
||||
* Generates authentication result
|
||||
* @param response
|
||||
* @param request
|
||||
* @param idTokenObj
|
||||
* @param accountEntity
|
||||
* @param authority
|
||||
* @param reqTimestamp
|
||||
* @returns
|
||||
*/
|
||||
protected generateAuthenticationResult(response: NativeResponse, request: NativeTokenRequest, idTokenClaims: TokenClaims, accountEntity: AccountEntity, authority: string, reqTimestamp: number): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* cache the account entity in browser storage
|
||||
* @param accountEntity
|
||||
*/
|
||||
cacheAccount(accountEntity: AccountEntity): Promise<void>;
|
||||
/**
|
||||
* Stores the access_token and id_token in inmemory storage
|
||||
* @param response
|
||||
* @param request
|
||||
* @param homeAccountIdentifier
|
||||
* @param idTokenObj
|
||||
* @param responseAccessToken
|
||||
* @param tenantId
|
||||
* @param reqTimestamp
|
||||
*/
|
||||
cacheNativeTokens(response: NativeResponse, request: NativeTokenRequest, homeAccountIdentifier: string, idTokenClaims: TokenClaims, responseAccessToken: string, tenantId: string, reqTimestamp: number): Promise<void>;
|
||||
protected addTelemetryFromNativeResponse(response: NativeResponse): MATS | null;
|
||||
/**
|
||||
* Validates native platform response before processing
|
||||
* @param response
|
||||
*/
|
||||
private validateNativeResponse;
|
||||
/**
|
||||
* Gets MATS telemetry from native response
|
||||
* @param response
|
||||
* @returns
|
||||
*/
|
||||
private getMATSFromResponse;
|
||||
/**
|
||||
* Returns whether or not response came from native cache
|
||||
* @param response
|
||||
* @returns
|
||||
*/
|
||||
protected isResponseFromCache(mats: MATS): boolean;
|
||||
/**
|
||||
* Translates developer provided request object into NativeRequest object
|
||||
* @param request
|
||||
*/
|
||||
protected initializeNativeRequest(request: PopupRequest | SsoSilentRequest): Promise<NativeTokenRequest>;
|
||||
/**
|
||||
* Handles extra broker request parameters
|
||||
* @param request {NativeTokenRequest}
|
||||
* @private
|
||||
*/
|
||||
private handleExtraBrokerParams;
|
||||
}
|
||||
//# sourceMappingURL=NativeInteractionClient.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/interaction_client/NativeInteractionClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/interaction_client/NativeInteractionClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NativeInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/NativeInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,OAAO,EAIP,aAAa,EAEb,QAAQ,EAOR,kBAAkB,EAQlB,WAAW,EASX,0BAA0B,EAE7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,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AAC;IA8ClB;;;;;;;;;OASG;cACa,4BAA4B,CACxC,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,kBAAkB,EAC3B,aAAa,EAAE,WAAW,EAC1B,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,oBAAoB,CAAC;IAmEhC;;;OAGG;IACG,YAAY,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAY/D;;;;;;;;;OASG;IACH,iBAAiB,CACb,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,EAAE,MAAM,EAC7B,aAAa,EAAE,WAAW,EAC1B,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,IAAI,CAAC;IAiDhB,SAAS,CAAC,8BAA8B,CACpC,QAAQ,EAAE,cAAc,GACzB,IAAI,GAAG,IAAI;IAgCd;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAkB9B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAWlD;;;OAGG;cACa,uBAAuB,CACnC,OAAO,EAAE,YAAY,GAAG,gBAAgB,GACzC,OAAO,CAAC,kBAAkB,CAAC;IAwI9B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CA2ClC"}
|
||||
107
node_modules/@azure/msal-browser/lib/types/interaction_client/PopupClient.d.ts
generated
vendored
Normal file
107
node_modules/@azure/msal-browser/lib/types/interaction_client/PopupClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
import { CommonEndSessionRequest, IPerformanceClient, Logger, ICrypto } from "@azure/msal-common/browser";
|
||||
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
||||
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
||||
import { PopupRequest } from "../request/PopupRequest.js";
|
||||
import { NativeMessageHandler } from "../broker/nativeBroker/NativeMessageHandler.js";
|
||||
import { INavigationClient } from "../navigation/INavigationClient.js";
|
||||
import { EventHandler } from "../event/EventHandler.js";
|
||||
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
||||
import { BrowserConfiguration } from "../config/Configuration.js";
|
||||
import { PopupWindowAttributes } from "../request/PopupWindowAttributes.js";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
||||
export type PopupParams = {
|
||||
popup?: Window | null;
|
||||
popupName: string;
|
||||
popupWindowAttributes: PopupWindowAttributes;
|
||||
popupWindowParent: Window;
|
||||
};
|
||||
export declare class PopupClient extends StandardInteractionClient {
|
||||
private currentWindow;
|
||||
protected nativeStorage: BrowserCacheManager;
|
||||
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, nativeMessageHandler?: NativeMessageHandler, correlationId?: string);
|
||||
/**
|
||||
* Acquires tokens by opening a popup window to the /authorize endpoint of the authority
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: PopupRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
||||
* @param logoutRequest
|
||||
*/
|
||||
logout(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
||||
/**
|
||||
* Helper which obtains an access_token for your API via opening a popup window in the user's browser
|
||||
* @param validRequest
|
||||
* @param popupName
|
||||
* @param popup
|
||||
* @param popupWindowAttributes
|
||||
*
|
||||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
||||
*/
|
||||
protected acquireTokenPopupAsync(request: PopupRequest, popupParams: PopupParams): Promise<AuthenticationResult>;
|
||||
/**
|
||||
*
|
||||
* @param validRequest
|
||||
* @param popupName
|
||||
* @param requestAuthority
|
||||
* @param popup
|
||||
* @param mainWindowRedirectUri
|
||||
* @param popupWindowAttributes
|
||||
*/
|
||||
protected logoutPopupAsync(validRequest: CommonEndSessionRequest, popupParams: PopupParams, requestAuthority?: string, mainWindowRedirectUri?: string): Promise<void>;
|
||||
/**
|
||||
* Opens a popup window with given request Url.
|
||||
* @param requestUrl
|
||||
*/
|
||||
initiateAuthRequest(requestUrl: string, params: PopupParams): Window;
|
||||
/**
|
||||
* Monitors a window until it loads a url with the same origin.
|
||||
* @param popupWindow - window that is being monitored
|
||||
* @param timeout - timeout for processing hash once popup is redirected back to application
|
||||
*/
|
||||
monitorPopupForHash(popupWindow: Window, popupWindowParent: Window): Promise<string>;
|
||||
/**
|
||||
* @hidden
|
||||
*
|
||||
* Configures popup window for login.
|
||||
*
|
||||
* @param urlNavigate
|
||||
* @param title
|
||||
* @param popUpWidth
|
||||
* @param popUpHeight
|
||||
* @param popupWindowAttributes
|
||||
* @ignore
|
||||
* @hidden
|
||||
*/
|
||||
openPopup(urlNavigate: string, popupParams: PopupParams): Window;
|
||||
/**
|
||||
* Helper function to set popup window dimensions and position
|
||||
* @param urlNavigate
|
||||
* @param popupName
|
||||
* @param popupWindowAttributes
|
||||
* @returns
|
||||
*/
|
||||
openSizedPopup(urlNavigate: string, { popupName, popupWindowAttributes, popupWindowParent }: PopupParams): Window | null;
|
||||
/**
|
||||
* Event callback to unload main window.
|
||||
*/
|
||||
unloadWindow(e: Event): void;
|
||||
/**
|
||||
* Closes popup, removes any state vars created during popup calls.
|
||||
* @param popupWindow
|
||||
*/
|
||||
cleanPopup(popupWindow: Window, popupWindowParent: Window): void;
|
||||
/**
|
||||
* Generates the name for the popup based on the client id and request
|
||||
* @param clientId
|
||||
* @param request
|
||||
*/
|
||||
generatePopupName(scopes: Array<string>, authority: string): string;
|
||||
/**
|
||||
* Generates the name for the popup based on the client id and request for logouts
|
||||
* @param clientId
|
||||
* @param request
|
||||
*/
|
||||
generateLogoutPopupName(request: CommonEndSessionRequest): string;
|
||||
}
|
||||
//# sourceMappingURL=PopupClient.d.ts.map
|
||||
1
node_modules/@azure/msal-browser/lib/types/interaction_client/PopupClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-browser/lib/types/interaction_client/PopupClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"PopupClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PopupClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,uBAAuB,EAMvB,kBAAkB,EAClB,MAAM,EACN,OAAO,EAKV,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAO3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAKtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,iBAAiB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,qBAAa,WAAY,SAAQ,yBAAyB;IACtD,OAAO,CAAC,aAAa,CAAqB;IAC1C,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;gB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,EAAE,KAAK,GAAG,IAAI;IAW5B;;;OAGG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,IAAI;IAchE;;;;OAIG;IACH,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;IAMnE;;;;OAIG;IACH,uBAAuB,CAAC,OAAO,EAAE,uBAAuB,GAAG,MAAM;CAIpE"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user