@azure/msal-browser 4.24.0 → 5.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.d.ts +2 -9
- package/dist/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/app/IPublicClientApplication.mjs +1 -22
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.d.ts +3 -49
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.mjs +8 -65
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientNext.d.ts +2 -49
- package/dist/app/PublicClientNext.d.ts.map +1 -1
- package/dist/app/PublicClientNext.mjs +3 -63
- package/dist/app/PublicClientNext.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +27 -29
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +19 -18
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.d.ts.map +1 -1
- package/dist/cache/AccountManager.mjs +25 -20
- package/dist/cache/AccountManager.mjs.map +1 -1
- package/dist/cache/AsyncMemoryStorage.d.ts +14 -7
- package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +30 -23
- package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +22 -25
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +108 -169
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs.map +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CacheKeys.mjs.map +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/CookieStorage.mjs.map +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs.map +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/IAsyncStorage.d.ts +10 -5
- package/dist/cache/IAsyncStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +23 -19
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs.map +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.d.ts +8 -68
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +178 -186
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.d.ts +6 -55
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +16 -30
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.d.ts +1 -1
- package/dist/controllers/ControllerFactory.d.ts.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +13 -7
- package/dist/controllers/ControllerFactory.mjs.map +1 -1
- package/dist/controllers/IController.d.ts +5 -6
- package/dist/controllers/IController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts +4 -9
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +48 -64
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts +9 -30
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +202 -302
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/dist/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +3 -16
- package/dist/controllers/UnknownOperatingContextController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.d.ts +1 -2
- package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +2 -4
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.d.ts +4 -2
- package/dist/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/crypto/CryptoOps.mjs +17 -14
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.d.ts.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +7 -8
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts +2 -1
- package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +6 -18
- package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +2 -9
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts +3 -49
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +4 -63
- package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -1
- package/dist/custom-auth-path/app/PublicClientNext.d.ts +2 -49
- package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +27 -29
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +14 -14
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +25 -20
- package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +14 -7
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +30 -23
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +22 -25
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +108 -169
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +10 -5
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +23 -19
- package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/TokenCache.d.ts +8 -68
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.d.ts +6 -55
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +16 -30
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +5 -3
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/IController.d.ts +5 -6
- package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +4 -9
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +9 -30
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +202 -302
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +1 -2
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +2 -4
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts +4 -2
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +17 -14
- package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +7 -8
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +2 -1
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -2
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +9 -9
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +6 -7
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +3 -11
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +2 -9
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +4 -4
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +29 -6
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +2 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +3 -14
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +3 -4
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +5 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +5 -4
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +4 -4
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +7 -9
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +3 -3
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +7 -6
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +5 -14
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +36 -57
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +2 -9
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +3 -3
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +10 -9
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts +1 -246
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +6 -61
- package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +2 -8
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +4 -9
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +2 -3
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.d.ts +0 -3
- package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +10 -12
- package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +0 -9
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +9 -12
- package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
- package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventType.d.ts +3 -10
- package/dist/custom-auth-path/event/EventType.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +4 -11
- package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
- package/dist/custom-auth-path/index.d.ts +34 -6
- package/dist/custom-auth-path/index.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +116 -97
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +71 -84
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +2 -14
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +64 -153
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +8 -9
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +103 -112
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +17 -10
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +11 -10
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +38 -49
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +9 -8
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +55 -63
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +2 -3
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +8 -10
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +3 -4
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +11 -48
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +3 -2
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.d.ts +0 -4
- package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs +20 -36
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +1 -8
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.d.ts +6 -12
- package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +16 -48
- package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.d.ts +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +5 -5
- package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +126 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -8
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -3
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +5 -6
- package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs.map +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +3 -3
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/PopupUtils.d.ts +33 -0
- package/dist/custom-auth-path/utils/PopupUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/PopupUtils.mjs +90 -0
- package/dist/custom-auth-path/utils/PopupUtils.mjs.map +1 -0
- package/dist/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.d.ts +1 -246
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.mjs +6 -253
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +4 -29
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.d.ts +0 -3
- package/dist/error/NativeAuthError.d.ts.map +1 -1
- package/dist/error/NativeAuthError.mjs +10 -12
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
- package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +4 -3
- package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
- package/dist/error/NestedAppAuthError.d.ts +0 -9
- package/dist/error/NestedAppAuthError.d.ts.map +1 -1
- package/dist/error/NestedAppAuthError.mjs +4 -12
- package/dist/error/NestedAppAuthError.mjs.map +1 -1
- package/dist/event/EventHandler.d.ts.map +1 -1
- package/dist/event/EventHandler.mjs +9 -12
- package/dist/event/EventHandler.mjs.map +1 -1
- package/dist/event/EventMessage.d.ts.map +1 -1
- package/dist/event/EventMessage.mjs +2 -17
- package/dist/event/EventMessage.mjs.map +1 -1
- package/dist/event/EventType.d.ts +3 -10
- package/dist/event/EventType.d.ts.map +1 -1
- package/dist/event/EventType.mjs +4 -11
- package/dist/event/EventType.mjs.map +1 -1
- package/dist/index.d.ts +34 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +25 -6
- package/dist/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +116 -97
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +71 -84
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts +2 -14
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +64 -153
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts +8 -9
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +103 -112
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +17 -10
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +11 -10
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +38 -49
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +9 -8
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +55 -63
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.d.ts +2 -3
- package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +8 -10
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.d.ts +3 -4
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +11 -48
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs.map +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +9 -6
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs.map +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/network/FetchClient.mjs.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/dist/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +5 -4
- package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +3 -2
- package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.d.ts +0 -4
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +20 -36
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +1 -1
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +1 -8
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.d.ts +6 -12
- package/dist/request/RequestHelpers.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +16 -48
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/request/SilentRequest.d.ts +1 -1
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +1 -1
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/response/ResponseHandler.d.ts +1 -1
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +5 -5
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +5 -60
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/BrowserPerformanceEvents.mjs +126 -0
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
- package/dist/utils/BrowserConstants.d.ts +0 -8
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.mjs +3 -11
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.mjs +5 -6
- package/dist/utils/BrowserUtils.mjs.map +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/Helpers.mjs.map +1 -1
- package/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/dist/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +3 -3
- package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/dist/utils/PopupUtils.d.ts +33 -0
- package/dist/utils/PopupUtils.d.ts.map +1 -0
- package/dist/utils/PopupUtils.mjs +90 -0
- package/dist/utils/PopupUtils.mjs.map +1 -0
- package/lib/custom-auth-path/msal-custom-auth.cjs +2541 -3592
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +2 -9
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +3 -49
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +2 -49
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +14 -7
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +22 -25
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +10 -5
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts +8 -68
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +6 -55
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +1 -1
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/IController.d.ts +5 -6
- package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +4 -9
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +9 -30
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +1 -2
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +4 -2
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +2 -1
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +1 -246
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +0 -3
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +0 -9
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/event/EventType.d.ts +3 -10
- package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -1
- package/lib/custom-auth-path/types/index.d.ts +34 -6
- package/lib/custom-auth-path/types/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +2 -14
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +8 -9
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +2 -3
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +3 -4
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts +0 -4
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +1 -8
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +6 -12
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +1 -1
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -8
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/PopupUtils.d.ts +33 -0
- package/lib/custom-auth-path/types/utils/PopupUtils.d.ts.map +1 -0
- package/lib/msal-browser.cjs +2923 -4754
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +2923 -4754
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +74 -67
- package/lib/types/app/IPublicClientApplication.d.ts +2 -9
- package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/types/app/PublicClientApplication.d.ts +3 -49
- package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
- package/lib/types/app/PublicClientNext.d.ts +2 -49
- package/lib/types/app/PublicClientNext.d.ts.map +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/types/cache/AsyncMemoryStorage.d.ts +14 -7
- package/lib/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +22 -25
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/IAsyncStorage.d.ts +10 -5
- package/lib/types/cache/IAsyncStorage.d.ts.map +1 -1
- package/lib/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/types/cache/TokenCache.d.ts +8 -68
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +6 -55
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/ControllerFactory.d.ts +1 -1
- package/lib/types/controllers/ControllerFactory.d.ts.map +1 -1
- package/lib/types/controllers/IController.d.ts +5 -6
- package/lib/types/controllers/IController.d.ts.map +1 -1
- package/lib/types/controllers/NestedAppAuthController.d.ts +4 -9
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +9 -30
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/lib/types/crypto/BrowserCrypto.d.ts +1 -2
- package/lib/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/lib/types/crypto/CryptoOps.d.ts +4 -2
- package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
- package/lib/types/crypto/PkceGenerator.d.ts.map +1 -1
- package/lib/types/crypto/SignedHttpRequest.d.ts +2 -1
- package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/lib/types/error/BrowserAuthError.d.ts +1 -246
- package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
- package/lib/types/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/lib/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/lib/types/error/NativeAuthError.d.ts +0 -3
- package/lib/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
- package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/error/NestedAppAuthError.d.ts +0 -9
- package/lib/types/error/NestedAppAuthError.d.ts.map +1 -1
- package/lib/types/event/EventHandler.d.ts.map +1 -1
- package/lib/types/event/EventMessage.d.ts.map +1 -1
- package/lib/types/event/EventType.d.ts +3 -10
- package/lib/types/event/EventType.d.ts.map +1 -1
- package/lib/types/index.d.ts +34 -6
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PopupClient.d.ts +2 -14
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts +8 -9
- package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/lib/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/lib/types/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_handler/InteractionHandler.d.ts +2 -3
- package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/lib/types/interaction_handler/SilentHandler.d.ts +3 -4
- package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/lib/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/lib/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/lib/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/lib/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/protocol/Authorize.d.ts +0 -4
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/PopupRequest.d.ts +1 -1
- package/lib/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/types/request/RedirectRequest.d.ts +1 -8
- package/lib/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/types/request/RequestHelpers.d.ts +6 -12
- package/lib/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/types/request/SilentRequest.d.ts +1 -1
- package/lib/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/types/response/ResponseHandler.d.ts +1 -1
- package/lib/types/response/ResponseHandler.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/types/utils/BrowserConstants.d.ts +0 -8
- package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
- package/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/lib/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/lib/types/utils/PopupUtils.d.ts +33 -0
- package/lib/types/utils/PopupUtils.d.ts.map +1 -0
- package/package.json +113 -115
- package/src/app/IPublicClientApplication.ts +4 -36
- package/src/app/PublicClientApplication.ts +11 -73
- package/src/app/PublicClientNext.ts +6 -71
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +30 -14
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +57 -32
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +26 -21
- package/src/cache/AccountManager.ts +47 -19
- package/src/cache/AsyncMemoryStorage.ts +39 -22
- package/src/cache/BrowserCacheManager.ts +234 -213
- package/src/cache/IAsyncStorage.ts +10 -5
- package/src/cache/LocalStorage.ts +31 -18
- package/src/cache/TokenCache.ts +367 -360
- package/src/config/Configuration.ts +23 -86
- package/src/controllers/ControllerFactory.ts +13 -6
- package/src/controllers/IController.ts +8 -10
- package/src/controllers/NestedAppAuthController.ts +75 -108
- package/src/controllers/StandardController.ts +335 -518
- package/src/controllers/UnknownOperatingContextController.ts +3 -20
- package/src/crypto/BrowserCrypto.ts +1 -13
- package/src/crypto/CryptoOps.ts +32 -18
- package/src/crypto/PkceGenerator.ts +6 -14
- package/src/crypto/SignedHttpRequest.ts +14 -21
- package/src/custom_auth/CustomAuthConstants.ts +0 -1
- package/src/custom_auth/controller/CustomAuthStandardController.ts +10 -9
- package/src/custom_auth/core/CustomAuthAuthority.ts +11 -5
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +2 -15
- package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +1 -9
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +4 -2
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +63 -3
- package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +2 -0
- package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +22 -2
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +0 -1
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +1 -27
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +0 -6
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +1 -6
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +0 -1
- package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +8 -5
- package/src/custom_auth/core/telemetry/PublicApiId.ts +3 -6
- package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +3 -3
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +19 -14
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -2
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -1
- package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +30 -5
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +13 -23
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +1 -1
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -1
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +77 -128
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +0 -15
- package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -1
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +2 -2
- package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +1 -1
- package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +39 -8
- package/src/error/BrowserAuthError.ts +4 -339
- package/src/error/BrowserConfigurationAuthError.ts +2 -37
- package/src/error/NativeAuthError.ts +7 -13
- package/src/error/NativeAuthErrorCodes.ts +1 -0
- package/src/error/NestedAppAuthError.ts +2 -14
- package/src/event/EventHandler.ts +13 -11
- package/src/event/EventMessage.ts +1 -18
- package/src/event/EventType.ts +3 -10
- package/src/index.ts +19 -19
- package/src/interaction_client/BaseInteractionClient.ts +181 -158
- package/src/interaction_client/HybridSpaAuthorizationCodeClient.ts +6 -2
- package/src/interaction_client/PlatformAuthInteractionClient.ts +160 -108
- package/src/interaction_client/PopupClient.ts +217 -308
- package/src/interaction_client/RedirectClient.ts +245 -184
- package/src/interaction_client/SilentAuthCodeClient.ts +41 -16
- package/src/interaction_client/SilentCacheClient.ts +23 -15
- package/src/interaction_client/SilentIframeClient.ts +101 -101
- package/src/interaction_client/SilentRefreshClient.ts +26 -14
- package/src/interaction_client/StandardInteractionClient.ts +112 -107
- package/src/interaction_handler/InteractionHandler.ts +7 -16
- package/src/interaction_handler/SilentHandler.ts +12 -91
- package/src/naa/mapping/NestedAppAuthAdapter.ts +8 -6
- package/src/operatingcontext/BaseOperatingContext.ts +2 -1
- package/src/operatingcontext/NestedAppOperatingContext.ts +8 -3
- package/src/operatingcontext/StandardOperatingContext.ts +2 -1
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +30 -86
- package/src/request/AuthorizationCodeRequest.ts +1 -4
- package/src/request/PopupRequest.ts +0 -1
- package/src/request/RedirectRequest.ts +0 -8
- package/src/request/RequestHelpers.ts +18 -75
- package/src/request/SilentRequest.ts +1 -5
- package/src/request/SsoSilentRequest.ts +0 -1
- package/src/response/ResponseHandler.ts +8 -4
- package/src/telemetry/BrowserPerformanceClient.ts +4 -108
- package/src/telemetry/BrowserPerformanceEvents.ts +182 -0
- package/src/telemetry/BrowserRootPerformanceEvents.ts +41 -0
- package/src/utils/BrowserConstants.ts +2 -10
- package/src/utils/BrowserUtils.ts +4 -6
- package/src/utils/MsalFrameStatsUtils.ts +4 -2
- package/src/utils/PopupUtils.ts +117 -0
- package/dist/cache/ITokenCache.d.ts +0 -12
- package/dist/cache/ITokenCache.d.ts.map +0 -1
- package/dist/custom-auth-path/cache/ITokenCache.d.ts +0 -12
- package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +0 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +0 -207
- package/dist/custom-auth-path/cache/TokenCache.mjs.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +0 -7
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/dist/request/AuthorizationUrlRequest.d.ts +0 -7
- package/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +0 -12
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +0 -7
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/lib/types/cache/ITokenCache.d.ts +0 -12
- package/lib/types/cache/ITokenCache.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -7
- package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/src/cache/ITokenCache.ts +0 -21
- package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +0 -32
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +0 -59
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +0 -52
- package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +0 -11
- package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +0 -11
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +0 -188
- package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +0 -28
- package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +0 -148
- package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +0 -20
- package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +0 -48
- package/src/request/AuthorizationUrlRequest.ts +0 -15
|
@@ -5,23 +5,28 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
ServerTelemetryManager,
|
|
8
|
-
Constants,
|
|
9
8
|
AuthorizationCodeClient,
|
|
10
9
|
ClientConfiguration,
|
|
11
10
|
UrlString,
|
|
12
11
|
CommonEndSessionRequest,
|
|
13
12
|
ProtocolUtils,
|
|
14
|
-
ResponseMode,
|
|
15
13
|
IdTokenClaims,
|
|
16
14
|
AccountInfo,
|
|
17
15
|
AzureCloudOptions,
|
|
18
|
-
PerformanceEvents,
|
|
19
16
|
invokeAsync,
|
|
20
17
|
BaseAuthRequest,
|
|
21
18
|
StringDict,
|
|
22
19
|
CommonAuthorizationUrlRequest,
|
|
20
|
+
ICrypto,
|
|
21
|
+
Logger,
|
|
22
|
+
IPerformanceClient,
|
|
23
23
|
} from "@azure/msal-common/browser";
|
|
24
|
-
import {
|
|
24
|
+
import {
|
|
25
|
+
BaseInteractionClient,
|
|
26
|
+
getDiscoveredAuthority,
|
|
27
|
+
getRedirectUri,
|
|
28
|
+
} from "./BaseInteractionClient.js";
|
|
29
|
+
import * as BrowserPerformanceEvents from "../telemetry/BrowserPerformanceEvents.js";
|
|
25
30
|
import {
|
|
26
31
|
BrowserConstants,
|
|
27
32
|
InteractionType,
|
|
@@ -34,10 +39,9 @@ import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
|
34
39
|
import { PopupRequest } from "../request/PopupRequest.js";
|
|
35
40
|
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
36
41
|
import { createNewGuid } from "../crypto/BrowserCrypto.js";
|
|
37
|
-
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "../request/RequestHelpers.js";
|
|
42
|
+
import { initializeBaseRequest } from "../request/RequestHelpers.js";
|
|
43
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
44
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
41
45
|
|
|
42
46
|
/**
|
|
43
47
|
* Defines the class structure and helper functions used by the "standard", non-brokered auth flows (popup, redirect, silent (RT), silent (iframe))
|
|
@@ -52,11 +56,11 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
52
56
|
): CommonEndSessionRequest {
|
|
53
57
|
this.logger.verbose(
|
|
54
58
|
"initializeLogoutRequest called",
|
|
55
|
-
|
|
59
|
+
this.correlationId
|
|
56
60
|
);
|
|
57
61
|
|
|
58
62
|
const validLogoutRequest: CommonEndSessionRequest = {
|
|
59
|
-
correlationId: this.correlationId
|
|
63
|
+
correlationId: this.correlationId,
|
|
60
64
|
...logoutRequest,
|
|
61
65
|
};
|
|
62
66
|
|
|
@@ -73,23 +77,27 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
73
77
|
);
|
|
74
78
|
if (logoutHint) {
|
|
75
79
|
this.logger.verbose(
|
|
76
|
-
"Setting logoutHint to login_hint ID Token Claim value for the account provided"
|
|
80
|
+
"Setting logoutHint to login_hint ID Token Claim value for the account provided",
|
|
81
|
+
this.correlationId
|
|
77
82
|
);
|
|
78
83
|
validLogoutRequest.logoutHint = logoutHint;
|
|
79
84
|
}
|
|
80
85
|
} else {
|
|
81
86
|
this.logger.verbose(
|
|
82
|
-
"logoutHint was not set and account was not passed into logout request, logoutHint will not be set"
|
|
87
|
+
"logoutHint was not set and account was not passed into logout request, logoutHint will not be set",
|
|
88
|
+
this.correlationId
|
|
83
89
|
);
|
|
84
90
|
}
|
|
85
91
|
} else {
|
|
86
92
|
this.logger.verbose(
|
|
87
|
-
"logoutHint has already been set in logoutRequest"
|
|
93
|
+
"logoutHint has already been set in logoutRequest",
|
|
94
|
+
this.correlationId
|
|
88
95
|
);
|
|
89
96
|
}
|
|
90
97
|
} else {
|
|
91
98
|
this.logger.verbose(
|
|
92
|
-
"logoutHint will not be set since no logout request was configured"
|
|
99
|
+
"logoutHint will not be set since no logout request was configured",
|
|
100
|
+
this.correlationId
|
|
93
101
|
);
|
|
94
102
|
}
|
|
95
103
|
|
|
@@ -158,12 +166,14 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
158
166
|
return idTokenClaims.login_hint;
|
|
159
167
|
} else {
|
|
160
168
|
this.logger.verbose(
|
|
161
|
-
"The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request"
|
|
169
|
+
"The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request",
|
|
170
|
+
this.correlationId
|
|
162
171
|
);
|
|
163
172
|
}
|
|
164
173
|
} else {
|
|
165
174
|
this.logger.verbose(
|
|
166
|
-
"The provided account does not contain ID Token Claims, logoutHint will not be added to logout request"
|
|
175
|
+
"The provided account does not contain ID Token Claims, logoutHint will not be added to logout request",
|
|
176
|
+
this.correlationId
|
|
167
177
|
);
|
|
168
178
|
}
|
|
169
179
|
|
|
@@ -187,14 +197,10 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
187
197
|
requestExtraQueryParameters?: StringDict;
|
|
188
198
|
account?: AccountInfo;
|
|
189
199
|
}): Promise<AuthorizationCodeClient> {
|
|
190
|
-
this.performanceClient.addQueueMeasurement(
|
|
191
|
-
PerformanceEvents.StandardInteractionClientCreateAuthCodeClient,
|
|
192
|
-
this.correlationId
|
|
193
|
-
);
|
|
194
200
|
// Create auth module.
|
|
195
201
|
const clientConfig = await invokeAsync(
|
|
196
202
|
this.getClientConfiguration.bind(this),
|
|
197
|
-
|
|
203
|
+
BrowserPerformanceEvents.StandardInteractionClientGetClientConfiguration,
|
|
198
204
|
this.logger,
|
|
199
205
|
this.performanceClient,
|
|
200
206
|
this.correlationId
|
|
@@ -231,22 +237,23 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
231
237
|
account,
|
|
232
238
|
} = params;
|
|
233
239
|
|
|
234
|
-
this.performanceClient.addQueueMeasurement(
|
|
235
|
-
PerformanceEvents.StandardInteractionClientGetClientConfiguration,
|
|
236
|
-
this.correlationId
|
|
237
|
-
);
|
|
238
240
|
const discoveredAuthority = await invokeAsync(
|
|
239
|
-
|
|
240
|
-
|
|
241
|
+
getDiscoveredAuthority,
|
|
242
|
+
BrowserPerformanceEvents.StandardInteractionClientGetDiscoveredAuthority,
|
|
241
243
|
this.logger,
|
|
242
244
|
this.performanceClient,
|
|
243
245
|
this.correlationId
|
|
244
|
-
)(
|
|
246
|
+
)(
|
|
247
|
+
this.config,
|
|
248
|
+
this.correlationId,
|
|
249
|
+
this.performanceClient,
|
|
250
|
+
this.browserStorage,
|
|
251
|
+
this.logger,
|
|
245
252
|
requestAuthority,
|
|
246
253
|
requestAzureCloudOptions,
|
|
247
254
|
requestExtraQueryParameters,
|
|
248
|
-
account
|
|
249
|
-
|
|
255
|
+
account
|
|
256
|
+
);
|
|
250
257
|
const logger = this.config.system.loggerOptions;
|
|
251
258
|
|
|
252
259
|
return {
|
|
@@ -267,10 +274,6 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
267
274
|
logLevel: logger.logLevel,
|
|
268
275
|
correlationId: this.correlationId,
|
|
269
276
|
},
|
|
270
|
-
cacheOptions: {
|
|
271
|
-
claimsBasedCachingEnabled:
|
|
272
|
-
this.config.cache.claimsBasedCachingEnabled,
|
|
273
|
-
},
|
|
274
277
|
cryptoInterface: this.browserCrypto,
|
|
275
278
|
networkInterface: this.networkClient,
|
|
276
279
|
storageInterface: this.browserStorage,
|
|
@@ -278,87 +281,89 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
278
281
|
libraryInfo: {
|
|
279
282
|
sku: BrowserConstants.MSAL_SKU,
|
|
280
283
|
version: version,
|
|
281
|
-
cpu:
|
|
282
|
-
os:
|
|
284
|
+
cpu: "",
|
|
285
|
+
os: "",
|
|
283
286
|
},
|
|
284
287
|
telemetry: this.config.telemetry,
|
|
285
288
|
};
|
|
286
289
|
}
|
|
290
|
+
}
|
|
287
291
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
const interactionRequest: CommonAuthorizationUrlRequest = {
|
|
326
|
-
...baseRequest,
|
|
327
|
-
redirectUri: redirectUri,
|
|
328
|
-
state: state,
|
|
329
|
-
nonce: request.nonce || createNewGuid(),
|
|
330
|
-
responseMode: this.config.auth.OIDCOptions
|
|
331
|
-
.serverResponseType as ResponseMode,
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
const validatedRequest = {
|
|
335
|
-
...interactionRequest,
|
|
336
|
-
httpMethod: validateRequestMethod(
|
|
337
|
-
interactionRequest,
|
|
338
|
-
this.config.auth.protocolMode
|
|
339
|
-
),
|
|
340
|
-
};
|
|
292
|
+
/**
|
|
293
|
+
* Helper to initialize required request parameters for interactive APIs and ssoSilent().
|
|
294
|
+
*
|
|
295
|
+
* @param request - The authentication request object (RedirectRequest, PopupRequest, or SsoSilentRequest).
|
|
296
|
+
* @param interactionType - The type of interaction (e.g., redirect, popup, silent).
|
|
297
|
+
* @param config - The browser configuration object.
|
|
298
|
+
* @param browserCrypto - The cryptographic interface for browser operations.
|
|
299
|
+
* @param browserStorage - The browser storage manager instance.
|
|
300
|
+
* @param logger - The logger instance for logging messages.
|
|
301
|
+
* @param performanceClient - The performance client for telemetry.
|
|
302
|
+
* @param correlationId - The correlation ID for the request.
|
|
303
|
+
* @returns A promise that resolves to a CommonAuthorizationUrlRequest object with initialized parameters.
|
|
304
|
+
*/
|
|
305
|
+
export async function initializeAuthorizationRequest(
|
|
306
|
+
request: RedirectRequest | PopupRequest | SsoSilentRequest,
|
|
307
|
+
interactionType: InteractionType,
|
|
308
|
+
config: BrowserConfiguration,
|
|
309
|
+
browserCrypto: ICrypto,
|
|
310
|
+
browserStorage: BrowserCacheManager,
|
|
311
|
+
logger: Logger,
|
|
312
|
+
performanceClient: IPerformanceClient,
|
|
313
|
+
correlationId: string
|
|
314
|
+
): Promise<CommonAuthorizationUrlRequest> {
|
|
315
|
+
const redirectUri = getRedirectUri(
|
|
316
|
+
request.redirectUri,
|
|
317
|
+
config.auth.redirectUri,
|
|
318
|
+
logger,
|
|
319
|
+
correlationId
|
|
320
|
+
);
|
|
321
|
+
const browserState: BrowserStateObject = {
|
|
322
|
+
interactionType: interactionType,
|
|
323
|
+
};
|
|
324
|
+
const state = ProtocolUtils.setRequestState(
|
|
325
|
+
browserCrypto,
|
|
326
|
+
(request && request.state) || "",
|
|
327
|
+
browserState
|
|
328
|
+
);
|
|
341
329
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
330
|
+
const baseRequest: BaseAuthRequest = await invokeAsync(
|
|
331
|
+
initializeBaseRequest,
|
|
332
|
+
BrowserPerformanceEvents.InitializeBaseRequest,
|
|
333
|
+
logger,
|
|
334
|
+
performanceClient,
|
|
335
|
+
correlationId
|
|
336
|
+
)(
|
|
337
|
+
{ ...request, correlationId: correlationId },
|
|
338
|
+
config,
|
|
339
|
+
performanceClient,
|
|
340
|
+
logger,
|
|
341
|
+
correlationId
|
|
342
|
+
);
|
|
346
343
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
);
|
|
355
|
-
this.logger.verbosePii(
|
|
356
|
-
`Setting validated request account: ${account.homeAccountId}`,
|
|
357
|
-
this.correlationId
|
|
358
|
-
);
|
|
359
|
-
validatedRequest.account = account;
|
|
360
|
-
}
|
|
344
|
+
const validatedRequest: CommonAuthorizationUrlRequest = {
|
|
345
|
+
...baseRequest,
|
|
346
|
+
redirectUri: redirectUri,
|
|
347
|
+
state: state,
|
|
348
|
+
nonce: request.nonce || createNewGuid(),
|
|
349
|
+
responseMode: config.auth.OIDCOptions.responseMode,
|
|
350
|
+
};
|
|
361
351
|
|
|
352
|
+
// Skip active account lookup if either login hint or session id is set
|
|
353
|
+
if (request.loginHint || request.sid) {
|
|
362
354
|
return validatedRequest;
|
|
363
355
|
}
|
|
356
|
+
|
|
357
|
+
const account =
|
|
358
|
+
request.account || browserStorage.getActiveAccount(correlationId);
|
|
359
|
+
if (account) {
|
|
360
|
+
logger.verbose("Setting validated request account", correlationId);
|
|
361
|
+
logger.verbosePii(
|
|
362
|
+
`Setting validated request account: '${account.homeAccountId}'`,
|
|
363
|
+
correlationId
|
|
364
|
+
);
|
|
365
|
+
validatedRequest.account = account;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
return validatedRequest;
|
|
364
369
|
}
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
AuthorizeProtocol,
|
|
19
19
|
CommonAuthorizationUrlRequest,
|
|
20
20
|
} from "@azure/msal-common/browser";
|
|
21
|
-
|
|
21
|
+
import * as BrowserPerformanceEvents from "../telemetry/BrowserPerformanceEvents.js";
|
|
22
22
|
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
23
23
|
import {
|
|
24
24
|
createBrowserAuthError,
|
|
@@ -58,11 +58,6 @@ export class InteractionHandler {
|
|
|
58
58
|
response: AuthorizeResponse,
|
|
59
59
|
request: CommonAuthorizationUrlRequest
|
|
60
60
|
): Promise<AuthenticationResult> {
|
|
61
|
-
this.performanceClient.addQueueMeasurement(
|
|
62
|
-
PerformanceEvents.HandleCodeResponse,
|
|
63
|
-
request.correlationId
|
|
64
|
-
);
|
|
65
|
-
|
|
66
61
|
let authCodeResponse;
|
|
67
62
|
try {
|
|
68
63
|
authCodeResponse = AuthorizeProtocol.getAuthorizationCodePayload(
|
|
@@ -95,9 +90,8 @@ export class InteractionHandler {
|
|
|
95
90
|
/**
|
|
96
91
|
* Process auth code response from AAD
|
|
97
92
|
* @param authCodeResponse
|
|
98
|
-
* @param
|
|
99
|
-
* @param
|
|
100
|
-
* @param networkModule
|
|
93
|
+
* @param request
|
|
94
|
+
* @param validateNonce
|
|
101
95
|
* @returns
|
|
102
96
|
*/
|
|
103
97
|
async handleCodeResponseFromServer(
|
|
@@ -105,12 +99,9 @@ export class InteractionHandler {
|
|
|
105
99
|
request: CommonAuthorizationUrlRequest,
|
|
106
100
|
validateNonce: boolean = true
|
|
107
101
|
): Promise<AuthenticationResult> {
|
|
108
|
-
this.performanceClient.addQueueMeasurement(
|
|
109
|
-
PerformanceEvents.HandleCodeResponseFromServer,
|
|
110
|
-
request.correlationId
|
|
111
|
-
);
|
|
112
102
|
this.logger.trace(
|
|
113
|
-
"InteractionHandler.handleCodeResponseFromServer called"
|
|
103
|
+
"InteractionHandler.handleCodeResponseFromServer called",
|
|
104
|
+
request.correlationId
|
|
114
105
|
);
|
|
115
106
|
|
|
116
107
|
// Assign code to request
|
|
@@ -120,7 +111,7 @@ export class InteractionHandler {
|
|
|
120
111
|
if (authCodeResponse.cloud_instance_host_name) {
|
|
121
112
|
await invokeAsync(
|
|
122
113
|
this.authModule.updateAuthority.bind(this.authModule),
|
|
123
|
-
|
|
114
|
+
BrowserPerformanceEvents.UpdateTokenEndpointAuthority,
|
|
124
115
|
this.logger,
|
|
125
116
|
this.performanceClient,
|
|
126
117
|
request.correlationId
|
|
@@ -148,7 +139,7 @@ export class InteractionHandler {
|
|
|
148
139
|
// Acquire token with retrieved code.
|
|
149
140
|
const tokenResponse = (await invokeAsync(
|
|
150
141
|
this.authModule.acquireToken.bind(this.authModule),
|
|
151
|
-
|
|
142
|
+
BrowserPerformanceEvents.AuthClientAcquireToken,
|
|
152
143
|
this.logger,
|
|
153
144
|
this.performanceClient,
|
|
154
145
|
request.correlationId
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
import {
|
|
7
7
|
Logger,
|
|
8
8
|
IPerformanceClient,
|
|
9
|
-
PerformanceEvents,
|
|
10
|
-
invokeAsync,
|
|
11
9
|
invoke,
|
|
12
|
-
|
|
10
|
+
Constants,
|
|
13
11
|
Authority,
|
|
14
12
|
CommonAuthorizationUrlRequest,
|
|
15
13
|
} from "@azure/msal-common/browser";
|
|
14
|
+
import * as BrowserPerformanceEvents from "../telemetry/BrowserPerformanceEvents.js";
|
|
16
15
|
import {
|
|
17
16
|
createBrowserAuthError,
|
|
18
17
|
BrowserAuthErrorCodes,
|
|
@@ -21,7 +20,7 @@ import {
|
|
|
21
20
|
BrowserConfiguration,
|
|
22
21
|
DEFAULT_IFRAME_TIMEOUT_MS,
|
|
23
22
|
} from "../config/Configuration.js";
|
|
24
|
-
import {
|
|
23
|
+
import { getEARForm } from "../protocol/Authorize.js";
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
26
|
* Creates a hidden iframe to given URL using user-requested scopes as an id.
|
|
@@ -32,60 +31,23 @@ export async function initiateCodeRequest(
|
|
|
32
31
|
requestUrl: string,
|
|
33
32
|
performanceClient: IPerformanceClient,
|
|
34
33
|
logger: Logger,
|
|
35
|
-
correlationId: string
|
|
36
|
-
navigateFrameWait?: number
|
|
34
|
+
correlationId: string
|
|
37
35
|
): Promise<HTMLIFrameElement> {
|
|
38
|
-
performanceClient.addQueueMeasurement(
|
|
39
|
-
PerformanceEvents.SilentHandlerInitiateAuthRequest,
|
|
40
|
-
correlationId
|
|
41
|
-
);
|
|
42
|
-
|
|
43
36
|
if (!requestUrl) {
|
|
44
37
|
// Throw error if request URL is empty.
|
|
45
|
-
logger.info("Navigate url is empty");
|
|
38
|
+
logger.info("Navigate url is empty", correlationId);
|
|
46
39
|
throw createBrowserAuthError(BrowserAuthErrorCodes.emptyNavigateUri);
|
|
47
40
|
}
|
|
48
|
-
|
|
49
|
-
return invokeAsync(
|
|
50
|
-
loadFrame,
|
|
51
|
-
PerformanceEvents.SilentHandlerLoadFrame,
|
|
52
|
-
logger,
|
|
53
|
-
performanceClient,
|
|
54
|
-
correlationId
|
|
55
|
-
)(requestUrl, navigateFrameWait, performanceClient, correlationId);
|
|
56
|
-
}
|
|
41
|
+
|
|
57
42
|
return invoke(
|
|
58
43
|
loadFrameSync,
|
|
59
|
-
|
|
44
|
+
BrowserPerformanceEvents.SilentHandlerLoadFrameSync,
|
|
60
45
|
logger,
|
|
61
46
|
performanceClient,
|
|
62
47
|
correlationId
|
|
63
48
|
)(requestUrl);
|
|
64
49
|
}
|
|
65
50
|
|
|
66
|
-
export async function initiateCodeFlowWithPost(
|
|
67
|
-
config: BrowserConfiguration,
|
|
68
|
-
authority: Authority,
|
|
69
|
-
request: CommonAuthorizationUrlRequest,
|
|
70
|
-
logger: Logger,
|
|
71
|
-
performanceClient: IPerformanceClient
|
|
72
|
-
): Promise<HTMLIFrameElement> {
|
|
73
|
-
const frame = createHiddenIframe();
|
|
74
|
-
if (!frame.contentDocument) {
|
|
75
|
-
throw "No document associated with iframe!";
|
|
76
|
-
}
|
|
77
|
-
const form = await getCodeForm(
|
|
78
|
-
frame.contentDocument,
|
|
79
|
-
config,
|
|
80
|
-
authority,
|
|
81
|
-
request,
|
|
82
|
-
logger,
|
|
83
|
-
performanceClient
|
|
84
|
-
);
|
|
85
|
-
form.submit();
|
|
86
|
-
return frame;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
51
|
export async function initiateEarRequest(
|
|
90
52
|
config: BrowserConfiguration,
|
|
91
53
|
authority: Authority,
|
|
@@ -121,17 +83,13 @@ export async function monitorIframeForHash(
|
|
|
121
83
|
performanceClient: IPerformanceClient,
|
|
122
84
|
logger: Logger,
|
|
123
85
|
correlationId: string,
|
|
124
|
-
responseType:
|
|
86
|
+
responseType: Constants.ResponseMode
|
|
125
87
|
): Promise<string> {
|
|
126
|
-
performanceClient.addQueueMeasurement(
|
|
127
|
-
PerformanceEvents.SilentHandlerMonitorIframeForHash,
|
|
128
|
-
correlationId
|
|
129
|
-
);
|
|
130
|
-
|
|
131
88
|
return new Promise<string>((resolve, reject) => {
|
|
132
89
|
if (timeout < DEFAULT_IFRAME_TIMEOUT_MS) {
|
|
133
90
|
logger.warning(
|
|
134
|
-
`system.loadFrameTimeout or system.iframeHashTimeout set to lower (${timeout}ms) than the default (${DEFAULT_IFRAME_TIMEOUT_MS}ms). This may result in timeouts
|
|
91
|
+
`system.loadFrameTimeout or system.iframeHashTimeout set to lower (${timeout}ms) than the default (${DEFAULT_IFRAME_TIMEOUT_MS}ms). This may result in timeouts.`,
|
|
92
|
+
correlationId
|
|
135
93
|
);
|
|
136
94
|
}
|
|
137
95
|
|
|
@@ -166,7 +124,7 @@ export async function monitorIframeForHash(
|
|
|
166
124
|
|
|
167
125
|
let responseString = "";
|
|
168
126
|
if (contentWindow) {
|
|
169
|
-
if (responseType ===
|
|
127
|
+
if (responseType === Constants.ResponseMode.QUERY) {
|
|
170
128
|
responseString = contentWindow.location.search;
|
|
171
129
|
} else {
|
|
172
130
|
responseString = contentWindow.location.hash;
|
|
@@ -179,7 +137,7 @@ export async function monitorIframeForHash(
|
|
|
179
137
|
}).finally(() => {
|
|
180
138
|
invoke(
|
|
181
139
|
removeHiddenIframe,
|
|
182
|
-
|
|
140
|
+
BrowserPerformanceEvents.RemoveHiddenIframe,
|
|
183
141
|
logger,
|
|
184
142
|
performanceClient,
|
|
185
143
|
correlationId
|
|
@@ -187,43 +145,6 @@ export async function monitorIframeForHash(
|
|
|
187
145
|
});
|
|
188
146
|
}
|
|
189
147
|
|
|
190
|
-
/**
|
|
191
|
-
* @hidden
|
|
192
|
-
* Loads iframe with authorization endpoint URL
|
|
193
|
-
* @ignore
|
|
194
|
-
* @deprecated
|
|
195
|
-
*/
|
|
196
|
-
function loadFrame(
|
|
197
|
-
urlNavigate: string,
|
|
198
|
-
navigateFrameWait: number,
|
|
199
|
-
performanceClient: IPerformanceClient,
|
|
200
|
-
correlationId: string
|
|
201
|
-
): Promise<HTMLIFrameElement> {
|
|
202
|
-
performanceClient.addQueueMeasurement(
|
|
203
|
-
PerformanceEvents.SilentHandlerLoadFrame,
|
|
204
|
-
correlationId
|
|
205
|
-
);
|
|
206
|
-
|
|
207
|
-
/*
|
|
208
|
-
* This trick overcomes iframe navigation in IE
|
|
209
|
-
* IE does not load the page consistently in iframe
|
|
210
|
-
*/
|
|
211
|
-
|
|
212
|
-
return new Promise((resolve, reject) => {
|
|
213
|
-
const frameHandle = createHiddenIframe();
|
|
214
|
-
|
|
215
|
-
window.setTimeout(() => {
|
|
216
|
-
if (!frameHandle) {
|
|
217
|
-
reject("Unable to load iframe");
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
frameHandle.src = urlNavigate;
|
|
222
|
-
|
|
223
|
-
resolve(frameHandle);
|
|
224
|
-
}, navigateFrameWait);
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
148
|
/**
|
|
228
149
|
* @hidden
|
|
229
150
|
* Loads the iframe synchronously when the navigateTimeFrame is set to `0`
|
|
@@ -19,17 +19,16 @@ import {
|
|
|
19
19
|
AuthToken,
|
|
20
20
|
TokenClaims,
|
|
21
21
|
ClientAuthErrorCodes,
|
|
22
|
-
AuthenticationScheme,
|
|
23
22
|
RequestParameterBuilder,
|
|
24
23
|
StringUtils,
|
|
25
24
|
createClientAuthError,
|
|
26
|
-
OIDC_DEFAULT_SCOPES,
|
|
27
25
|
AccountInfo,
|
|
28
26
|
IdTokenEntity,
|
|
29
27
|
AccessTokenEntity,
|
|
30
28
|
TenantProfile,
|
|
31
29
|
buildTenantProfile,
|
|
32
30
|
TimeUtils,
|
|
31
|
+
Constants,
|
|
33
32
|
} from "@azure/msal-common/browser";
|
|
34
33
|
import { isBridgeError } from "../BridgeError.js";
|
|
35
34
|
import { BridgeStatusCode } from "../BridgeStatusCode.js";
|
|
@@ -79,7 +78,7 @@ export class NestedAppAuthAdapter {
|
|
|
79
78
|
request.claims,
|
|
80
79
|
this.clientCapabilities
|
|
81
80
|
);
|
|
82
|
-
const scopes = request.scopes || OIDC_DEFAULT_SCOPES;
|
|
81
|
+
const scopes = request.scopes || Constants.OIDC_DEFAULT_SCOPES;
|
|
83
82
|
const tokenRequest: TokenRequest = {
|
|
84
83
|
platformBrokerId: request.account?.homeAccountId,
|
|
85
84
|
clientId: this.clientId,
|
|
@@ -89,7 +88,8 @@ export class NestedAppAuthAdapter {
|
|
|
89
88
|
claims: !StringUtils.isEmptyObj(claims) ? claims : undefined,
|
|
90
89
|
state: request.state,
|
|
91
90
|
authenticationScheme:
|
|
92
|
-
request.authenticationScheme ||
|
|
91
|
+
request.authenticationScheme ||
|
|
92
|
+
Constants.AuthenticationScheme.BEARER,
|
|
93
93
|
extraParameters: extraParams,
|
|
94
94
|
};
|
|
95
95
|
|
|
@@ -132,7 +132,8 @@ export class NestedAppAuthAdapter {
|
|
|
132
132
|
fromCache: false,
|
|
133
133
|
expiresOn: expiresOn,
|
|
134
134
|
tokenType:
|
|
135
|
-
request.authenticationScheme ||
|
|
135
|
+
request.authenticationScheme ||
|
|
136
|
+
Constants.AuthenticationScheme.BEARER,
|
|
136
137
|
correlationId: request.correlationId,
|
|
137
138
|
extExpiresOn: expiresOn,
|
|
138
139
|
state: request.state,
|
|
@@ -314,7 +315,8 @@ export class NestedAppAuthAdapter {
|
|
|
314
315
|
accessToken.extendedExpiresOn
|
|
315
316
|
),
|
|
316
317
|
tokenType:
|
|
317
|
-
request.authenticationScheme ||
|
|
318
|
+
request.authenticationScheme ||
|
|
319
|
+
Constants.AuthenticationScheme.BEARER,
|
|
318
320
|
correlationId,
|
|
319
321
|
state: request.state,
|
|
320
322
|
};
|
|
@@ -107,8 +107,9 @@ export abstract class BaseOperatingContext {
|
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* returns a boolean indicating whether this operating context is present
|
|
110
|
+
* @param correlationId
|
|
110
111
|
*/
|
|
111
|
-
abstract initialize(): Promise<boolean>;
|
|
112
|
+
abstract initialize(correlationId: string): Promise<boolean>;
|
|
112
113
|
|
|
113
114
|
/**
|
|
114
115
|
* Return the MSAL config
|
|
@@ -57,9 +57,10 @@ export class NestedAppOperatingContext extends BaseOperatingContext {
|
|
|
57
57
|
/**
|
|
58
58
|
* Checks whether the operating context is available.
|
|
59
59
|
* Confirms that the code is running a browser rather. This is required.
|
|
60
|
+
* @param correlationId
|
|
60
61
|
* @returns Promise<boolean> indicating whether this operating context is currently available.
|
|
61
62
|
*/
|
|
62
|
-
async initialize(): Promise<boolean> {
|
|
63
|
+
async initialize(correlationId: string): Promise<boolean> {
|
|
63
64
|
try {
|
|
64
65
|
if (typeof window !== "undefined") {
|
|
65
66
|
if (typeof window.__initializeNestedAppAuth === "function") {
|
|
@@ -78,11 +79,15 @@ export class NestedAppOperatingContext extends BaseOperatingContext {
|
|
|
78
79
|
}
|
|
79
80
|
} catch (ex) {
|
|
80
81
|
this.logger.infoPii(
|
|
81
|
-
`Could not initialize Nested App Auth bridge (${ex})
|
|
82
|
+
`Could not initialize Nested App Auth bridge ('${ex}')`,
|
|
83
|
+
correlationId
|
|
82
84
|
);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
this.logger.info(
|
|
87
|
+
this.logger.info(
|
|
88
|
+
`Nested App Auth Bridge available: '${this.available}'`,
|
|
89
|
+
correlationId
|
|
90
|
+
);
|
|
86
91
|
return this.available;
|
|
87
92
|
}
|
|
88
93
|
}
|
|
@@ -39,7 +39,8 @@ export class StandardOperatingContext extends BaseOperatingContext {
|
|
|
39
39
|
* Confirms that the code is running a browser rather. This is required.
|
|
40
40
|
* @returns Promise<boolean> indicating whether this operating context is currently available.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
43
|
+
async initialize(correlationId: string): Promise<boolean> {
|
|
43
44
|
this.available = typeof window !== "undefined";
|
|
44
45
|
return this.available;
|
|
45
46
|
/*
|
package/src/packageMetadata.ts
CHANGED