24 lines
767 B
JavaScript
Executable file
24 lines
767 B
JavaScript
Executable file
/*! @azure/msal-react v3.0.17 2025-08-05 */
|
|
'use strict';
|
|
import * as React from 'react';
|
|
import { Logger, InteractionStatus, stubbedPublicClientApplication } from '@azure/msal-browser';
|
|
|
|
/*
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
/*
|
|
* Stubbed context implementation
|
|
* Only used when there is no provider, which is an unsupported scenario
|
|
*/
|
|
const defaultMsalContext = {
|
|
instance: stubbedPublicClientApplication,
|
|
inProgress: InteractionStatus.None,
|
|
accounts: [],
|
|
logger: new Logger({}),
|
|
};
|
|
const MsalContext = React.createContext(defaultMsalContext);
|
|
const MsalConsumer = MsalContext.Consumer;
|
|
|
|
export { MsalConsumer, MsalContext };
|
|
//# sourceMappingURL=MsalContext.js.map
|