@azure/msal-browser
Version:
Microsoft Authentication Library for js
36 lines (33 loc) • 1.09 kB
JavaScript
/*! @azure/msal-browser v4.21.0 2025-08-19 */
;
import { BaseOperatingContext } from '../../operatingcontext/BaseOperatingContext.mjs';
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
class CustomAuthOperatingContext extends BaseOperatingContext {
constructor(configuration) {
super(configuration);
this.customAuthOptions = configuration.customAuth;
}
getModuleName() {
return CustomAuthOperatingContext.MODULE_NAME;
}
getId() {
return CustomAuthOperatingContext.ID;
}
getCustomAuthConfig() {
return {
...this.getConfig(),
customAuth: this.customAuthOptions,
};
}
async initialize() {
this.available = typeof window !== "undefined";
return this.available;
}
}
CustomAuthOperatingContext.MODULE_NAME = "";
CustomAuthOperatingContext.ID = "CustomAuthOperatingContext";
export { CustomAuthOperatingContext };
//# sourceMappingURL=CustomAuthOperatingContext.mjs.map