@azure/msal-browser 4.27.0 → 5.0.0-beta.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/README.md +24 -32
- package/dist/app/IPublicClientApplication.d.ts +3 -10
- 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 +6 -56
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.mjs +15 -80
- package/dist/app/PublicClientApplication.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 +28 -30
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +12 -4
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +43 -28
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.d.ts +0 -25
- package/dist/cache/AccountManager.d.ts.map +1 -1
- package/dist/cache/AccountManager.mjs +10 -84
- 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 +24 -27
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +134 -188
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +3 -2
- package/dist/cache/CacheKeys.mjs.map +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +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/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts +8 -68
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +179 -187
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.d.ts +8 -69
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +22 -39
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/IController.d.ts +2 -58
- package/dist/controllers/IController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts +5 -49
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +32 -100
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts +10 -55
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +179 -335
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.d.ts +5 -18
- package/dist/controllers/UnknownOperatingContextController.d.ts.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 +3 -10
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts +6 -56
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +5 -76
- package/dist/custom-auth-path/app/PublicClientApplication.mjs.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 +28 -30
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +12 -4
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +37 -23
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.d.ts +0 -25
- package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +10 -84
- 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 +24 -27
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +134 -188
- 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/CacheKeys.mjs +3 -2
- 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/DatabaseStorage.mjs +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/SessionStorage.mjs +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 +8 -69
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +22 -39
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/IController.d.ts +2 -58
- package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +5 -49
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +10 -55
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +179 -335
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +5 -18
- 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 -2
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +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 +27 -31
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
- 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.mjs +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/AuthFlowState.mjs +3 -3
- 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/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +4 -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.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +3 -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.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +17 -10
- 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/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +3 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +3 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +13 -7
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.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/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +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/InvalidConfigurationError.mjs +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/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +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/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +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/jit/JitClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +20 -15
- 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/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +17 -14
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +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/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +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/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +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/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +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/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +10 -10
- 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/result/GetAccessTokenResult.mjs +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/SignOutResult.mjs +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 +17 -19
- 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/reset_password/auth_flow/error_type/ResetPasswordError.mjs +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/ResetPasswordStartResult.mjs +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/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +7 -7
- 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 +4 -4
- 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/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +30 -28
- 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/error_type/SignInError.mjs +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/SignInResult.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +3 -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.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +3 -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.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +3 -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.mjs +6 -6
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +53 -47
- 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.mjs +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/result/SignUpResendCodeResult.mjs +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/SignUpSubmitAttributesResult.mjs +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/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +6 -6
- 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 +10 -10
- 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 +6 -6
- 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/interaction_client/SignUpClient.d.ts +4 -4
- 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 +56 -50
- 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.d.ts +3 -2
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +6 -10
- 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 +72 -87
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +1 -16
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +66 -145
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +8 -4
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +78 -85
- 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 +43 -50
- 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 +63 -67
- 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 +7 -13
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +2 -8
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +8 -97
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +1703 -0
- 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/network/FetchClient.mjs +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.map +1 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs +37 -29
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
- package/dist/custom-auth-path/redirect_bridge/index.d.ts +16 -0
- package/dist/custom-auth-path/redirect_bridge/index.d.ts.map +1 -0
- 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/EndSessionPopupRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts +1 -3
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/dist/custom-auth-path/request/PopupRequest.d.ts +5 -4
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +3 -11
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.d.ts +7 -3
- package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +21 -28
- package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts +3 -4
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +3 -4
- 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 +130 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +124 -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 -12
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -7
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +2 -2
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts +36 -2
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +155 -14
- 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/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/CustomAuthConstants.d.ts +2 -2
- 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 +2 -2
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.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.map +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.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/result/SignInResult.d.ts +2 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
- 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.d.ts +3 -2
- package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +6 -5
- package/dist/error/BrowserAuthErrorCodes.mjs.map +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 -5
- 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 +72 -87
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts +1 -16
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +66 -145
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts +8 -4
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +78 -85
- 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 +43 -50
- 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 +63 -67
- 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 +7 -13
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.d.ts +2 -8
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +8 -97
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/log-strings-mapping.json +1135 -0
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +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/network/FetchClient.mjs +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/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.map +1 -1
- package/dist/protocol/Authorize.mjs +37 -29
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect-bridge/app/IPublicClientApplication.d.ts +48 -0
- package/dist/redirect-bridge/app/IPublicClientApplication.d.ts.map +1 -0
- package/dist/{app/PublicClientNext.d.ts → redirect-bridge/app/PublicClientApplication.d.ts} +35 -66
- package/dist/redirect-bridge/app/PublicClientApplication.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/AccountManager.d.ts +24 -0
- package/dist/redirect-bridge/cache/AccountManager.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts +58 -0
- package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +366 -0
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/CacheHelpers.d.ts +16 -0
- package/dist/redirect-bridge/cache/CacheHelpers.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/CacheKeys.d.ts +14 -0
- package/dist/redirect-bridge/cache/CacheKeys.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/CacheKeys.mjs +10 -0
- package/dist/redirect-bridge/cache/CacheKeys.mjs.map +1 -0
- package/dist/redirect-bridge/cache/CookieStorage.d.ts +23 -0
- package/dist/redirect-bridge/cache/CookieStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/DatabaseStorage.d.ts +57 -0
- package/dist/redirect-bridge/cache/DatabaseStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/EncryptedData.d.ts +8 -0
- package/dist/redirect-bridge/cache/EncryptedData.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/IAsyncStorage.d.ts +33 -0
- package/dist/redirect-bridge/cache/IAsyncStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/IWindowStorage.d.ts +42 -0
- package/dist/redirect-bridge/cache/IWindowStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/LocalStorage.d.ts +51 -0
- package/dist/redirect-bridge/cache/LocalStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/MemoryStorage.d.ts +16 -0
- package/dist/redirect-bridge/cache/MemoryStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/SessionStorage.d.ts +14 -0
- package/dist/redirect-bridge/cache/SessionStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/TokenCache.d.ts +18 -0
- package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -0
- package/dist/redirect-bridge/config/Configuration.d.ts +175 -0
- package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -0
- package/dist/redirect-bridge/config/Configuration.mjs +10 -0
- package/dist/redirect-bridge/config/Configuration.mjs.map +1 -0
- package/dist/redirect-bridge/controllers/IController.d.ts +3 -0
- package/dist/redirect-bridge/controllers/IController.d.ts.map +1 -0
- package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts +159 -0
- package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/{lib/custom-auth-path/types/app/PublicClientNext.d.ts → dist/redirect-bridge/controllers/StandardController.d.ts} +253 -151
- package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -0
- package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts +73 -0
- package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts +96 -0
- package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/CryptoOps.d.ts +77 -0
- package/dist/redirect-bridge/crypto/CryptoOps.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/PkceGenerator.d.ts +9 -0
- package/dist/redirect-bridge/crypto/PkceGenerator.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts +32 -0
- package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +35 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
- package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
- package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/index.d.ts +84 -0
- package/dist/redirect-bridge/custom_auth/index.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/encode/Base64Decode.d.ts +15 -0
- package/dist/redirect-bridge/encode/Base64Decode.d.ts.map +1 -0
- package/dist/redirect-bridge/encode/Base64Decode.mjs +44 -0
- package/dist/redirect-bridge/encode/Base64Decode.mjs.map +1 -0
- package/dist/redirect-bridge/encode/Base64Encode.d.ts +20 -0
- package/dist/redirect-bridge/encode/Base64Encode.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthError.d.ts +12 -0
- package/dist/redirect-bridge/error/BrowserAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +27 -0
- package/dist/redirect-bridge/error/BrowserAuthError.mjs.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts +53 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +14 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs.map +1 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts +11 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/error/NativeAuthError.d.ts +27 -0
- package/dist/redirect-bridge/error/NativeAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts +5 -0
- package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/error/NestedAppAuthError.d.ts +6 -0
- package/dist/redirect-bridge/error/NestedAppAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/event/EventHandler.d.ts +49 -0
- package/dist/redirect-bridge/event/EventHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/event/EventMessage.d.ts +40 -0
- package/dist/redirect-bridge/event/EventMessage.d.ts.map +1 -0
- package/dist/redirect-bridge/event/EventType.d.ts +24 -0
- package/dist/redirect-bridge/event/EventType.d.ts.map +1 -0
- package/dist/redirect-bridge/index.d.ts +73 -0
- package/dist/redirect-bridge/index.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts +77 -0
- package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/PopupClient.d.ts +106 -0
- package/dist/redirect-bridge/interaction_client/PopupClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts +77 -0
- package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts +17 -0
- package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts +43 -0
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts +76 -0
- package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts +32 -0
- package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts +11 -0
- package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/AccountInfo.d.ts +13 -0
- package/dist/redirect-bridge/naa/AccountInfo.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/AuthBridge.d.ts +9 -0
- package/dist/redirect-bridge/naa/AuthBridge.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/AuthResult.d.ts +7 -0
- package/dist/redirect-bridge/naa/AuthResult.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts +13 -0
- package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts +4 -0
- package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeError.d.ts +10 -0
- package/dist/redirect-bridge/naa/BridgeError.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeProxy.d.ts +69 -0
- package/dist/redirect-bridge/naa/BridgeProxy.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeRequest.d.ts +8 -0
- package/dist/redirect-bridge/naa/BridgeRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts +12 -0
- package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/IBridgeProxy.d.ts +11 -0
- package/dist/redirect-bridge/naa/IBridgeProxy.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/InitContext.d.ts +9 -0
- package/dist/redirect-bridge/naa/InitContext.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/TokenRequest.d.ts +20 -0
- package/dist/redirect-bridge/naa/TokenRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/TokenResponse.d.ts +14 -0
- package/dist/redirect-bridge/naa/TokenResponse.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/dist/redirect-bridge/navigation/INavigationClient.d.ts +17 -0
- package/dist/redirect-bridge/navigation/INavigationClient.d.ts.map +1 -0
- package/dist/redirect-bridge/navigation/NavigationClient.d.ts +23 -0
- package/dist/redirect-bridge/navigation/NavigationClient.d.ts.map +1 -0
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +48 -0
- package/dist/redirect-bridge/navigation/NavigationClient.mjs.map +1 -0
- package/dist/redirect-bridge/navigation/NavigationOptions.d.ts +13 -0
- package/dist/redirect-bridge/navigation/NavigationOptions.d.ts.map +1 -0
- package/dist/redirect-bridge/network/FetchClient.d.ts +21 -0
- package/dist/redirect-bridge/network/FetchClient.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts +43 -0
- package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
- package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/packageMetadata.d.ts +3 -0
- package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -0
- package/dist/redirect-bridge/protocol/Authorize.d.ts +69 -0
- package/dist/redirect-bridge/protocol/Authorize.d.ts.map +1 -0
- package/dist/redirect-bridge/redirect_bridge/index.d.ts +16 -0
- package/dist/redirect-bridge/redirect_bridge/index.d.ts.map +1 -0
- package/dist/redirect-bridge/redirect_bridge/index.mjs +108 -0
- package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -0
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +9 -0
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +11 -0
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +21 -0
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts +14 -0
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +9 -0
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/PopupRequest.d.ts +37 -0
- package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts +16 -0
- package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts.map +1 -0
- package/dist/redirect-bridge/request/RedirectRequest.d.ts +32 -0
- package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/RequestHelpers.d.ts +28 -0
- package/dist/redirect-bridge/request/RequestHelpers.d.ts.map +1 -0
- package/dist/redirect-bridge/request/SilentRequest.d.ts +32 -0
- package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +27 -0
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/response/AuthenticationResult.d.ts +5 -0
- package/dist/redirect-bridge/response/AuthenticationResult.d.ts.map +1 -0
- package/dist/redirect-bridge/response/ResponseHandler.d.ts +8 -0
- package/dist/redirect-bridge/response/ResponseHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts +18 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +130 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserConstants.d.ts +162 -0
- package/dist/redirect-bridge/utils/BrowserConstants.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +38 -0
- package/dist/redirect-bridge/utils/BrowserConstants.mjs.map +1 -0
- package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts +12 -0
- package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserUtils.d.ts +111 -0
- package/dist/redirect-bridge/utils/BrowserUtils.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +97 -0
- package/dist/redirect-bridge/utils/BrowserUtils.mjs.map +1 -0
- package/dist/redirect-bridge/utils/Helpers.d.ts +7 -0
- package/dist/redirect-bridge/utils/Helpers.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts +3 -0
- package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/dist/redirect_bridge/index.d.ts +16 -0
- package/dist/redirect_bridge/index.d.ts.map +1 -0
- package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/EndSessionPopupRequest.d.ts +1 -1
- package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/request/EndSessionRequest.d.ts +1 -3
- package/dist/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/dist/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/dist/request/PopupRequest.d.ts +5 -4
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +3 -11
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.d.ts +7 -3
- package/dist/request/RequestHelpers.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +21 -28
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/request/SilentRequest.d.ts +3 -4
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +3 -4
- 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 +3 -58
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +130 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/BrowserPerformanceEvents.mjs +124 -0
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +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 -12
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.mjs +3 -15
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +2 -2
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserUtils.d.ts +36 -2
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.mjs +155 -14
- package/dist/utils/BrowserUtils.mjs.map +1 -1
- package/dist/utils/Helpers.mjs +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/lib/custom-auth-path/log-strings-mapping.json +1703 -0
- package/lib/custom-auth-path/msal-custom-auth.cjs +6205 -7144
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +3 -10
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +6 -56
- package/lib/custom-auth-path/types/app/PublicClientApplication.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 +12 -4
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts +0 -25
- 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 +24 -27
- 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 +8 -69
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/IController.d.ts +2 -58
- package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +5 -49
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +10 -55
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +5 -18
- 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 -2
- 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 +2 -2
- 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/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.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.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.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/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/result/SignInResult.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- 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_up/interaction_client/SignUpClient.d.ts +4 -4
- 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/BrowserAuthErrorCodes.d.ts +3 -2
- package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.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 +1 -16
- 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 -4
- 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 +2 -8
- 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.map +1 -1
- package/lib/custom-auth-path/types/redirect_bridge/index.d.ts +16 -0
- package/lib/custom-auth-path/types/redirect_bridge/index.d.ts.map +1 -0
- 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/EndSessionPopupRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +1 -3
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +5 -4
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +3 -11
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +7 -3
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +3 -4
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +3 -4
- 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 +130 -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 -12
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +36 -2
- 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/log-strings-mapping.json +1135 -0
- package/lib/msal-browser.cjs +15223 -17702
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +15223 -17702
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -68
- package/lib/redirect-bridge/msal-redirect-bridge.js +729 -0
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -0
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -0
- package/lib/types/app/IPublicClientApplication.d.ts +3 -10
- package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/types/app/PublicClientApplication.d.ts +6 -56
- package/lib/types/app/PublicClientApplication.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 +12 -4
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/types/cache/AccountManager.d.ts +0 -25
- 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 +24 -27
- 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 +8 -69
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/IController.d.ts +2 -58
- package/lib/types/controllers/IController.d.ts.map +1 -1
- package/lib/types/controllers/NestedAppAuthController.d.ts +5 -49
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +10 -55
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/controllers/UnknownOperatingContextController.d.ts +5 -18
- 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 -2
- 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 +2 -2
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.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.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.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/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/result/SignInResult.d.ts +2 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
- 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/BrowserAuthErrorCodes.d.ts +3 -2
- package/lib/types/error/BrowserAuthErrorCodes.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 +1 -16
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts +8 -4
- 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 +2 -8
- 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.map +1 -1
- package/lib/types/redirect_bridge/index.d.ts +16 -0
- package/lib/types/redirect_bridge/index.d.ts.map +1 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionPopupRequest.d.ts +1 -1
- package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionRequest.d.ts +1 -3
- package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/types/request/PopupRequest.d.ts +5 -4
- package/lib/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/types/request/RedirectRequest.d.ts +3 -11
- package/lib/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/types/request/RequestHelpers.d.ts +7 -3
- package/lib/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/types/request/SilentRequest.d.ts +3 -4
- package/lib/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts +3 -4
- 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 +130 -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 -12
- package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/types/utils/BrowserUtils.d.ts +36 -2
- 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/package.json +16 -5
- package/src/app/IPublicClientApplication.ts +5 -37
- package/src/app/PublicClientApplication.ts +20 -96
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +30 -14
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +57 -32
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +48 -41
- package/src/cache/AccountManager.ts +11 -125
- package/src/cache/AsyncMemoryStorage.ts +39 -22
- package/src/cache/BrowserCacheManager.ts +272 -238
- package/src/cache/IAsyncStorage.ts +10 -5
- package/src/cache/LocalStorage.ts +31 -18
- package/src/cache/TokenCache.ts +390 -381
- package/src/config/Configuration.ts +33 -114
- package/src/controllers/IController.ts +2 -121
- package/src/controllers/NestedAppAuthController.ts +49 -152
- package/src/controllers/StandardController.ts +280 -496
- package/src/controllers/UnknownOperatingContextController.ts +4 -90
- 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/controller/CustomAuthStandardController.ts +11 -9
- package/src/custom_auth/core/CustomAuthAuthority.ts +12 -5
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +3 -0
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +2 -0
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +9 -2
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +2 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +2 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +8 -2
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +3 -1
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +31 -13
- package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +30 -13
- package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +8 -5
- package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +3 -3
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +16 -8
- 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 +44 -18
- package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +2 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +2 -0
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +2 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +1 -1
- 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 -39
- 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 +96 -49
- package/src/error/BrowserAuthError.ts +4 -339
- package/src/error/BrowserAuthErrorCodes.ts +4 -2
- 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 +14 -19
- package/src/interaction_client/BaseInteractionClient.ts +181 -158
- package/src/interaction_client/HybridSpaAuthorizationCodeClient.ts +6 -2
- package/src/interaction_client/PlatformAuthInteractionClient.ts +160 -112
- package/src/interaction_client/PopupClient.ts +189 -198
- package/src/interaction_client/RedirectClient.ts +191 -114
- package/src/interaction_client/SilentAuthCodeClient.ts +41 -16
- package/src/interaction_client/SilentCacheClient.ts +23 -15
- package/src/interaction_client/SilentIframeClient.ts +105 -90
- package/src/interaction_client/SilentRefreshClient.ts +26 -14
- package/src/interaction_client/StandardInteractionClient.ts +118 -102
- package/src/interaction_handler/InteractionHandler.ts +6 -26
- package/src/interaction_handler/SilentHandler.ts +6 -151
- 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 +52 -56
- package/src/redirect_bridge/index.ts +131 -0
- package/src/request/AuthorizationCodeRequest.ts +1 -4
- package/src/request/EndSessionPopupRequest.ts +1 -3
- package/src/request/EndSessionRequest.ts +1 -5
- package/src/request/HandleRedirectPromiseOptions.ts +9 -0
- package/src/request/PopupRequest.ts +4 -4
- package/src/request/RedirectRequest.ts +2 -11
- package/src/request/RequestHelpers.ts +25 -48
- package/src/request/SilentRequest.ts +3 -8
- package/src/request/SsoSilentRequest.ts +2 -4
- package/src/response/ResponseHandler.ts +8 -4
- package/src/telemetry/BrowserPerformanceClient.ts +2 -103
- package/src/telemetry/BrowserPerformanceEvents.ts +181 -0
- package/src/telemetry/BrowserRootPerformanceEvents.ts +41 -0
- package/src/utils/BrowserConstants.ts +2 -14
- package/src/utils/BrowserProtocolUtils.ts +1 -1
- package/src/utils/BrowserUtils.ts +232 -15
- package/src/utils/MsalFrameStatsUtils.ts +4 -2
- package/dist/app/PublicClientNext.d.ts.map +0 -1
- package/dist/app/PublicClientNext.mjs +0 -363
- package/dist/app/PublicClientNext.mjs.map +0 -1
- package/dist/cache/ITokenCache.d.ts +0 -12
- package/dist/cache/ITokenCache.d.ts.map +0 -1
- package/dist/controllers/ControllerFactory.d.ts +0 -6
- package/dist/controllers/ControllerFactory.d.ts.map +0 -1
- package/dist/controllers/ControllerFactory.mjs +0 -35
- package/dist/controllers/ControllerFactory.mjs.map +0 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +0 -268
- package/dist/controllers/UnknownOperatingContextController.mjs.map +0 -1
- package/dist/custom-auth-path/app/PublicClientNext.d.ts +0 -278
- package/dist/custom-auth-path/app/PublicClientNext.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 -208
- package/dist/custom-auth-path/cache/TokenCache.mjs.map +0 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +0 -6
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +0 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +0 -17
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs.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/operatingcontext/UnknownOperatingContext.mjs +0 -49
- package/dist/operatingcontext/UnknownOperatingContext.mjs.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/app/PublicClientNext.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/controllers/ControllerFactory.d.ts +0 -6
- package/lib/custom-auth-path/types/controllers/ControllerFactory.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/app/PublicClientNext.d.ts +0 -278
- package/lib/types/app/PublicClientNext.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/controllers/ControllerFactory.d.ts +0 -6
- package/lib/types/controllers/ControllerFactory.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/app/PublicClientNext.ts +0 -454
- package/src/cache/ITokenCache.ts +0 -21
- package/src/controllers/ControllerFactory.ts +0 -42
- package/src/request/AuthorizationUrlRequest.ts +0 -15
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import {
|
|
7
7
|
AccessTokenEntity,
|
|
8
8
|
AccountEntity,
|
|
9
|
+
AccountEntityUtils,
|
|
9
10
|
AccountInfo,
|
|
10
11
|
ActiveAccountFilters,
|
|
11
12
|
AppMetadataEntity,
|
|
12
|
-
AuthenticationScheme,
|
|
13
13
|
AuthorityMetadataEntity,
|
|
14
14
|
CacheError,
|
|
15
15
|
CacheErrorCodes,
|
|
@@ -26,7 +26,6 @@ import {
|
|
|
26
26
|
IPerformanceClient,
|
|
27
27
|
Logger,
|
|
28
28
|
PerformanceEvents,
|
|
29
|
-
PersistentCacheKeys,
|
|
30
29
|
RefreshTokenEntity,
|
|
31
30
|
ServerTelemetryEntity,
|
|
32
31
|
StaticAuthorityOptions,
|
|
@@ -36,8 +35,6 @@ import {
|
|
|
36
35
|
TimeUtils,
|
|
37
36
|
TokenKeys,
|
|
38
37
|
CredentialEntity,
|
|
39
|
-
CredentialType,
|
|
40
|
-
DEFAULT_TOKEN_RENEWAL_OFFSET_SEC,
|
|
41
38
|
AuthToken,
|
|
42
39
|
getTenantIdFromIdTokenClaims,
|
|
43
40
|
buildTenantProfile,
|
|
@@ -69,6 +66,7 @@ import { base64Encode } from "../encode/Base64Encode.js";
|
|
|
69
66
|
import { CookieStorage } from "./CookieStorage.js";
|
|
70
67
|
import { getAccountKeys, getTokenKeys } from "./CacheHelpers.js";
|
|
71
68
|
import { EventType } from "../event/EventType.js";
|
|
69
|
+
import * as BrowserUtils from "../utils/BrowserUtils.js";
|
|
72
70
|
import { EventHandler } from "../event/EventHandler.js";
|
|
73
71
|
import { clearHash } from "../utils/BrowserUtils.js";
|
|
74
72
|
import { version } from "../packageMetadata.js";
|
|
@@ -79,8 +77,6 @@ type KmsiMap = { [homeAccountId: string]: boolean };
|
|
|
79
77
|
|
|
80
78
|
/**
|
|
81
79
|
* This class implements the cache storage interface for MSAL through browser local or session storage.
|
|
82
|
-
* Cookies are only used if storeAuthStateInCookie is true, and are only used for
|
|
83
|
-
* parameters such as state and nonce, generally.
|
|
84
80
|
*/
|
|
85
81
|
export class BrowserCacheManager extends CacheManager {
|
|
86
82
|
// Cache configuration, either set by user or default values.
|
|
@@ -125,11 +121,12 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
125
121
|
);
|
|
126
122
|
this.temporaryCacheStorage = getStorageImplementation(
|
|
127
123
|
clientId,
|
|
128
|
-
|
|
124
|
+
BrowserCacheLocation.SessionStorage,
|
|
129
125
|
logger,
|
|
130
126
|
performanceClient
|
|
131
127
|
);
|
|
132
128
|
this.cookieStorage = new CookieStorage();
|
|
129
|
+
|
|
133
130
|
this.eventHandler = eventHandler;
|
|
134
131
|
}
|
|
135
132
|
|
|
@@ -250,7 +247,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
250
247
|
decryptedData.expiresOn &&
|
|
251
248
|
TimeUtils.isTokenExpired(
|
|
252
249
|
decryptedData.expiresOn,
|
|
253
|
-
DEFAULT_TOKEN_RENEWAL_OFFSET_SEC
|
|
250
|
+
Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC
|
|
254
251
|
)
|
|
255
252
|
) {
|
|
256
253
|
this.browserStorage.removeItem(key);
|
|
@@ -540,7 +537,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
540
537
|
}
|
|
541
538
|
account.tenantProfiles = tenantProfiles;
|
|
542
539
|
const newAccountKey = this.generateAccountKey(
|
|
543
|
-
|
|
540
|
+
AccountEntityUtils.getAccountInfo(account)
|
|
544
541
|
);
|
|
545
542
|
const kmsi = AuthToken.isKmsi(claims);
|
|
546
543
|
await this.setUserData(
|
|
@@ -622,7 +619,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
622
619
|
continue;
|
|
623
620
|
}
|
|
624
621
|
|
|
625
|
-
if (!
|
|
622
|
+
if (!(oldSchemaData.homeAccountId in kmsiMap)) {
|
|
626
623
|
// Don't migrate tokens if we don't have an idToken for them
|
|
627
624
|
this.performanceClient.incrementFields(
|
|
628
625
|
{ skipATMigrateCount: 1 },
|
|
@@ -726,7 +723,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
726
723
|
continue;
|
|
727
724
|
}
|
|
728
725
|
|
|
729
|
-
if (!
|
|
726
|
+
if (!(oldSchemaData.homeAccountId in kmsiMap)) {
|
|
730
727
|
// Don't migrate tokens if we don't have an idToken for them
|
|
731
728
|
this.performanceClient.incrementFields(
|
|
732
729
|
{ skipRTMigrateCount: 1 },
|
|
@@ -792,7 +789,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
792
789
|
);
|
|
793
790
|
if (previousVersion) {
|
|
794
791
|
this.logger.info(
|
|
795
|
-
`MSAL.js was last initialized by version: ${previousVersion}
|
|
792
|
+
`MSAL.js was last initialized by version: '${previousVersion}'`,
|
|
793
|
+
correlationId
|
|
796
794
|
);
|
|
797
795
|
this.performanceClient.addFields(
|
|
798
796
|
{ previousLibraryVersion: previousVersion },
|
|
@@ -951,7 +949,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
951
949
|
this.browserStorage.setUserData.bind(this.browserStorage),
|
|
952
950
|
PerformanceEvents.SetUserData,
|
|
953
951
|
this.logger,
|
|
954
|
-
this.performanceClient
|
|
952
|
+
this.performanceClient,
|
|
953
|
+
correlationId
|
|
955
954
|
)(key, value, correlationId, timestamp, kmsi);
|
|
956
955
|
if (i > 0) {
|
|
957
956
|
// If any tokens were removed in order to store this item update the token keys array with the tokens removed
|
|
@@ -1033,7 +1032,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1033
1032
|
accountKey: string,
|
|
1034
1033
|
correlationId: string
|
|
1035
1034
|
): AccountEntity | null {
|
|
1036
|
-
this.logger.trace(
|
|
1035
|
+
this.logger.trace(
|
|
1036
|
+
"BrowserCacheManager.getAccount called",
|
|
1037
|
+
correlationId
|
|
1038
|
+
);
|
|
1037
1039
|
const serializedAccount = this.browserStorage.getUserData(accountKey);
|
|
1038
1040
|
if (!serializedAccount) {
|
|
1039
1041
|
this.removeAccountKeyFromMap(accountKey, correlationId);
|
|
@@ -1041,12 +1043,15 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1041
1043
|
}
|
|
1042
1044
|
|
|
1043
1045
|
const parsedAccount = this.validateAndParseJson(serializedAccount);
|
|
1044
|
-
if (
|
|
1046
|
+
if (
|
|
1047
|
+
!parsedAccount ||
|
|
1048
|
+
!AccountEntityUtils.isAccountEntity(parsedAccount)
|
|
1049
|
+
) {
|
|
1045
1050
|
return null;
|
|
1046
1051
|
}
|
|
1047
1052
|
|
|
1048
1053
|
return CacheManager.toObject<AccountEntity>(
|
|
1049
|
-
|
|
1054
|
+
{} as AccountEntity,
|
|
1050
1055
|
parsedAccount
|
|
1051
1056
|
);
|
|
1052
1057
|
}
|
|
@@ -1060,9 +1065,12 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1060
1065
|
correlationId: string,
|
|
1061
1066
|
kmsi: boolean
|
|
1062
1067
|
): Promise<void> {
|
|
1063
|
-
this.logger.trace(
|
|
1068
|
+
this.logger.trace(
|
|
1069
|
+
"BrowserCacheManager.setAccount called",
|
|
1070
|
+
correlationId
|
|
1071
|
+
);
|
|
1064
1072
|
const key = this.generateAccountKey(
|
|
1065
|
-
|
|
1073
|
+
AccountEntityUtils.getAccountInfo(account)
|
|
1066
1074
|
);
|
|
1067
1075
|
const timestamp = Date.now().toString();
|
|
1068
1076
|
account.lastUpdatedAt = timestamp;
|
|
@@ -1073,31 +1081,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1073
1081
|
timestamp,
|
|
1074
1082
|
kmsi
|
|
1075
1083
|
);
|
|
1076
|
-
|
|
1084
|
+
this.addAccountKeyToMap(key, correlationId);
|
|
1077
1085
|
this.performanceClient.addFields({ kmsi: kmsi }, correlationId);
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* @deprecated - Remove this in next major version in favor of more consistent LOGIN event
|
|
1081
|
-
*/
|
|
1082
|
-
if (
|
|
1083
|
-
this.cacheConfig.cacheLocation ===
|
|
1084
|
-
BrowserCacheLocation.LocalStorage &&
|
|
1085
|
-
wasAdded
|
|
1086
|
-
) {
|
|
1087
|
-
this.eventHandler.emitEvent(
|
|
1088
|
-
EventType.ACCOUNT_ADDED,
|
|
1089
|
-
undefined,
|
|
1090
|
-
AccountEntity.getAccountInfo(account)
|
|
1091
|
-
);
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* Returns the array of account keys currently cached
|
|
1097
|
-
* @returns
|
|
1098
|
-
*/
|
|
1099
|
-
getAccountKeys(): Array<string> {
|
|
1100
|
-
return getAccountKeys(this.browserStorage);
|
|
1101
1086
|
}
|
|
1102
1087
|
|
|
1103
1088
|
setAccountKeys(
|
|
@@ -1116,14 +1101,26 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1116
1101
|
}
|
|
1117
1102
|
}
|
|
1118
1103
|
|
|
1104
|
+
/**
|
|
1105
|
+
* Returns the array of account keys currently cached
|
|
1106
|
+
* @returns
|
|
1107
|
+
*/
|
|
1108
|
+
getAccountKeys(): Array<string> {
|
|
1109
|
+
return getAccountKeys(this.browserStorage);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1119
1112
|
/**
|
|
1120
1113
|
* Add a new account to the key map
|
|
1121
1114
|
* @param key
|
|
1122
1115
|
*/
|
|
1123
1116
|
addAccountKeyToMap(key: string, correlationId: string): boolean {
|
|
1124
|
-
this.logger.trace(
|
|
1117
|
+
this.logger.trace(
|
|
1118
|
+
"BrowserCacheManager.addAccountKeyToMap called",
|
|
1119
|
+
correlationId
|
|
1120
|
+
);
|
|
1125
1121
|
this.logger.tracePii(
|
|
1126
|
-
`BrowserCacheManager.addAccountKeyToMap called with key: ${key}
|
|
1122
|
+
`BrowserCacheManager.addAccountKeyToMap called with key: '${key}'`,
|
|
1123
|
+
correlationId
|
|
1127
1124
|
);
|
|
1128
1125
|
const accountKeys = this.getAccountKeys();
|
|
1129
1126
|
if (accountKeys.indexOf(key) === -1) {
|
|
@@ -1135,12 +1132,14 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1135
1132
|
correlationId
|
|
1136
1133
|
);
|
|
1137
1134
|
this.logger.verbose(
|
|
1138
|
-
"BrowserCacheManager.addAccountKeyToMap account key added"
|
|
1135
|
+
"BrowserCacheManager.addAccountKeyToMap account key added",
|
|
1136
|
+
correlationId
|
|
1139
1137
|
);
|
|
1140
1138
|
return true;
|
|
1141
1139
|
} else {
|
|
1142
1140
|
this.logger.verbose(
|
|
1143
|
-
"BrowserCacheManager.addAccountKeyToMap account key already exists in map"
|
|
1141
|
+
"BrowserCacheManager.addAccountKeyToMap account key already exists in map",
|
|
1142
|
+
correlationId
|
|
1144
1143
|
);
|
|
1145
1144
|
return false;
|
|
1146
1145
|
}
|
|
@@ -1151,21 +1150,23 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1151
1150
|
* @param key
|
|
1152
1151
|
*/
|
|
1153
1152
|
removeAccountKeyFromMap(key: string, correlationId: string): void {
|
|
1154
|
-
this.logger.trace(
|
|
1153
|
+
this.logger.trace(
|
|
1154
|
+
"BrowserCacheManager.removeAccountKeyFromMap called",
|
|
1155
|
+
correlationId
|
|
1156
|
+
);
|
|
1155
1157
|
this.logger.tracePii(
|
|
1156
|
-
`BrowserCacheManager.removeAccountKeyFromMap called with key: ${key}
|
|
1158
|
+
`BrowserCacheManager.removeAccountKeyFromMap called with key: '${key}'`,
|
|
1159
|
+
correlationId
|
|
1157
1160
|
);
|
|
1158
1161
|
const accountKeys = this.getAccountKeys();
|
|
1159
1162
|
const removalIndex = accountKeys.indexOf(key);
|
|
1160
1163
|
if (removalIndex > -1) {
|
|
1161
1164
|
accountKeys.splice(removalIndex, 1);
|
|
1162
1165
|
this.setAccountKeys(accountKeys, correlationId);
|
|
1163
|
-
this.logger.trace(
|
|
1164
|
-
"BrowserCacheManager.removeAccountKeyFromMap account key removed"
|
|
1165
|
-
);
|
|
1166
1166
|
} else {
|
|
1167
1167
|
this.logger.trace(
|
|
1168
|
-
"BrowserCacheManager.removeAccountKeyFromMap key not found in existing map"
|
|
1168
|
+
"BrowserCacheManager.removeAccountKeyFromMap key not found in existing map",
|
|
1169
|
+
correlationId
|
|
1169
1170
|
);
|
|
1170
1171
|
}
|
|
1171
1172
|
}
|
|
@@ -1198,19 +1199,6 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1198
1199
|
this.browserStorage.removeItem(key);
|
|
1199
1200
|
}
|
|
1200
1201
|
});
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* @deprecated - Remove this in next major version in favor of more consistent LOGOUT event
|
|
1204
|
-
*/
|
|
1205
|
-
if (
|
|
1206
|
-
this.cacheConfig.cacheLocation === BrowserCacheLocation.LocalStorage
|
|
1207
|
-
) {
|
|
1208
|
-
this.eventHandler.emitEvent(
|
|
1209
|
-
EventType.ACCOUNT_REMOVED,
|
|
1210
|
-
undefined,
|
|
1211
|
-
account
|
|
1212
|
-
);
|
|
1213
|
-
}
|
|
1214
1202
|
}
|
|
1215
1203
|
|
|
1216
1204
|
/**
|
|
@@ -1222,7 +1210,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1222
1210
|
const tokenKeys = this.getTokenKeys();
|
|
1223
1211
|
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
1224
1212
|
if (idRemoval > -1) {
|
|
1225
|
-
this.logger.info(
|
|
1213
|
+
this.logger.info(
|
|
1214
|
+
"idToken removed from tokenKeys map",
|
|
1215
|
+
correlationId
|
|
1216
|
+
);
|
|
1226
1217
|
tokenKeys.idToken.splice(idRemoval, 1);
|
|
1227
1218
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
1228
1219
|
}
|
|
@@ -1252,7 +1243,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1252
1243
|
correlationId: string,
|
|
1253
1244
|
schemaVersion: number = CacheKeys.CREDENTIAL_SCHEMA_VERSION
|
|
1254
1245
|
): void {
|
|
1255
|
-
this.logger.trace("removeAccessTokenKey called");
|
|
1246
|
+
this.logger.trace("removeAccessTokenKey called", correlationId);
|
|
1256
1247
|
const tokenKeys = this.getTokenKeys(schemaVersion);
|
|
1257
1248
|
let keysRemoved = 0;
|
|
1258
1249
|
keys.forEach((key) => {
|
|
@@ -1265,7 +1256,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1265
1256
|
|
|
1266
1257
|
if (keysRemoved > 0) {
|
|
1267
1258
|
this.logger.info(
|
|
1268
|
-
`removed ${keysRemoved} accessToken keys from tokenKeys map
|
|
1259
|
+
`removed '${keysRemoved}' accessToken keys from tokenKeys map`,
|
|
1260
|
+
correlationId
|
|
1269
1261
|
);
|
|
1270
1262
|
this.setTokenKeys(tokenKeys, correlationId, schemaVersion);
|
|
1271
1263
|
return;
|
|
@@ -1281,7 +1273,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1281
1273
|
const tokenKeys = this.getTokenKeys();
|
|
1282
1274
|
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
1283
1275
|
if (refreshRemoval > -1) {
|
|
1284
|
-
this.logger.info(
|
|
1276
|
+
this.logger.info(
|
|
1277
|
+
"refreshToken removed from tokenKeys map",
|
|
1278
|
+
correlationId
|
|
1279
|
+
);
|
|
1285
1280
|
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
1286
1281
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
1287
1282
|
}
|
|
@@ -1298,7 +1293,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1298
1293
|
}
|
|
1299
1294
|
|
|
1300
1295
|
/**
|
|
1301
|
-
*
|
|
1296
|
+
* Sets the token keys in the cache
|
|
1302
1297
|
* @param tokenKeys
|
|
1303
1298
|
* @param correlationId
|
|
1304
1299
|
* @returns
|
|
@@ -1338,7 +1333,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1338
1333
|
const value = this.browserStorage.getUserData(idTokenKey);
|
|
1339
1334
|
if (!value) {
|
|
1340
1335
|
this.logger.trace(
|
|
1341
|
-
"BrowserCacheManager.getIdTokenCredential: called, no cache hit"
|
|
1336
|
+
"BrowserCacheManager.getIdTokenCredential: called, no cache hit",
|
|
1337
|
+
correlationId
|
|
1342
1338
|
);
|
|
1343
1339
|
this.removeIdToken(idTokenKey, correlationId);
|
|
1344
1340
|
return null;
|
|
@@ -1347,13 +1343,15 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1347
1343
|
const parsedIdToken = this.validateAndParseJson(value);
|
|
1348
1344
|
if (!parsedIdToken || !CacheHelpers.isIdTokenEntity(parsedIdToken)) {
|
|
1349
1345
|
this.logger.trace(
|
|
1350
|
-
"BrowserCacheManager.getIdTokenCredential: called, no cache hit"
|
|
1346
|
+
"BrowserCacheManager.getIdTokenCredential: called, no cache hit",
|
|
1347
|
+
correlationId
|
|
1351
1348
|
);
|
|
1352
1349
|
return null;
|
|
1353
1350
|
}
|
|
1354
1351
|
|
|
1355
1352
|
this.logger.trace(
|
|
1356
|
-
"BrowserCacheManager.getIdTokenCredential: cache hit"
|
|
1353
|
+
"BrowserCacheManager.getIdTokenCredential: cache hit",
|
|
1354
|
+
correlationId
|
|
1357
1355
|
);
|
|
1358
1356
|
return parsedIdToken as IdTokenEntity;
|
|
1359
1357
|
}
|
|
@@ -1367,7 +1365,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1367
1365
|
correlationId: string,
|
|
1368
1366
|
kmsi: boolean
|
|
1369
1367
|
): Promise<void> {
|
|
1370
|
-
this.logger.trace(
|
|
1368
|
+
this.logger.trace(
|
|
1369
|
+
"BrowserCacheManager.setIdTokenCredential called",
|
|
1370
|
+
correlationId
|
|
1371
|
+
);
|
|
1371
1372
|
const idTokenKey = this.generateCredentialKey(idToken);
|
|
1372
1373
|
const timestamp = Date.now().toString();
|
|
1373
1374
|
idToken.lastUpdatedAt = timestamp;
|
|
@@ -1383,7 +1384,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1383
1384
|
const tokenKeys = this.getTokenKeys();
|
|
1384
1385
|
if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
|
|
1385
1386
|
this.logger.info(
|
|
1386
|
-
"BrowserCacheManager: addTokenKey - idToken added to map"
|
|
1387
|
+
"BrowserCacheManager: addTokenKey - idToken added to map",
|
|
1388
|
+
correlationId
|
|
1387
1389
|
);
|
|
1388
1390
|
tokenKeys.idToken.push(idTokenKey);
|
|
1389
1391
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
@@ -1401,7 +1403,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1401
1403
|
const value = this.browserStorage.getUserData(accessTokenKey);
|
|
1402
1404
|
if (!value) {
|
|
1403
1405
|
this.logger.trace(
|
|
1404
|
-
"BrowserCacheManager.getAccessTokenCredential: called, no cache hit"
|
|
1406
|
+
"BrowserCacheManager.getAccessTokenCredential: called, no cache hit",
|
|
1407
|
+
correlationId
|
|
1405
1408
|
);
|
|
1406
1409
|
this.removeAccessTokenKeys([accessTokenKey], correlationId);
|
|
1407
1410
|
return null;
|
|
@@ -1412,13 +1415,15 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1412
1415
|
!CacheHelpers.isAccessTokenEntity(parsedAccessToken)
|
|
1413
1416
|
) {
|
|
1414
1417
|
this.logger.trace(
|
|
1415
|
-
"BrowserCacheManager.getAccessTokenCredential: called, no cache hit"
|
|
1418
|
+
"BrowserCacheManager.getAccessTokenCredential: called, no cache hit",
|
|
1419
|
+
correlationId
|
|
1416
1420
|
);
|
|
1417
1421
|
return null;
|
|
1418
1422
|
}
|
|
1419
1423
|
|
|
1420
1424
|
this.logger.trace(
|
|
1421
|
-
"BrowserCacheManager.getAccessTokenCredential: cache hit"
|
|
1425
|
+
"BrowserCacheManager.getAccessTokenCredential: cache hit",
|
|
1426
|
+
correlationId
|
|
1422
1427
|
);
|
|
1423
1428
|
return parsedAccessToken as AccessTokenEntity;
|
|
1424
1429
|
}
|
|
@@ -1433,7 +1438,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1433
1438
|
kmsi: boolean
|
|
1434
1439
|
): Promise<void> {
|
|
1435
1440
|
this.logger.trace(
|
|
1436
|
-
"BrowserCacheManager.setAccessTokenCredential called"
|
|
1441
|
+
"BrowserCacheManager.setAccessTokenCredential called",
|
|
1442
|
+
correlationId
|
|
1437
1443
|
);
|
|
1438
1444
|
const accessTokenKey = this.generateCredentialKey(accessToken);
|
|
1439
1445
|
const timestamp = Date.now().toString();
|
|
@@ -1453,7 +1459,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1453
1459
|
tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
|
|
1454
1460
|
}
|
|
1455
1461
|
this.logger.trace(
|
|
1456
|
-
`access token ${index === -1 ? "added to" : "updated in"} map
|
|
1462
|
+
`access token '${index === -1 ? "added to" : "updated in"}' map`,
|
|
1463
|
+
correlationId
|
|
1457
1464
|
);
|
|
1458
1465
|
tokenKeys.accessToken.push(accessTokenKey);
|
|
1459
1466
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
@@ -1470,7 +1477,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1470
1477
|
const value = this.browserStorage.getUserData(refreshTokenKey);
|
|
1471
1478
|
if (!value) {
|
|
1472
1479
|
this.logger.trace(
|
|
1473
|
-
"BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"
|
|
1480
|
+
"BrowserCacheManager.getRefreshTokenCredential: called, no cache hit",
|
|
1481
|
+
correlationId
|
|
1474
1482
|
);
|
|
1475
1483
|
this.removeRefreshToken(refreshTokenKey, correlationId);
|
|
1476
1484
|
return null;
|
|
@@ -1481,13 +1489,15 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1481
1489
|
!CacheHelpers.isRefreshTokenEntity(parsedRefreshToken)
|
|
1482
1490
|
) {
|
|
1483
1491
|
this.logger.trace(
|
|
1484
|
-
"BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"
|
|
1492
|
+
"BrowserCacheManager.getRefreshTokenCredential: called, no cache hit",
|
|
1493
|
+
correlationId
|
|
1485
1494
|
);
|
|
1486
1495
|
return null;
|
|
1487
1496
|
}
|
|
1488
1497
|
|
|
1489
1498
|
this.logger.trace(
|
|
1490
|
-
"BrowserCacheManager.getRefreshTokenCredential: cache hit"
|
|
1499
|
+
"BrowserCacheManager.getRefreshTokenCredential: cache hit",
|
|
1500
|
+
correlationId
|
|
1491
1501
|
);
|
|
1492
1502
|
return parsedRefreshToken as RefreshTokenEntity;
|
|
1493
1503
|
}
|
|
@@ -1502,7 +1512,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1502
1512
|
kmsi: boolean
|
|
1503
1513
|
): Promise<void> {
|
|
1504
1514
|
this.logger.trace(
|
|
1505
|
-
"BrowserCacheManager.setRefreshTokenCredential called"
|
|
1515
|
+
"BrowserCacheManager.setRefreshTokenCredential called",
|
|
1516
|
+
correlationId
|
|
1506
1517
|
);
|
|
1507
1518
|
const refreshTokenKey = this.generateCredentialKey(refreshToken);
|
|
1508
1519
|
const timestamp = Date.now().toString();
|
|
@@ -1519,7 +1530,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1519
1530
|
const tokenKeys = this.getTokenKeys();
|
|
1520
1531
|
if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
|
|
1521
1532
|
this.logger.info(
|
|
1522
|
-
"BrowserCacheManager: addTokenKey - refreshToken added to map"
|
|
1533
|
+
"BrowserCacheManager: addTokenKey - refreshToken added to map",
|
|
1534
|
+
correlationId
|
|
1523
1535
|
);
|
|
1524
1536
|
tokenKeys.refreshToken.push(refreshTokenKey);
|
|
1525
1537
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
@@ -1529,12 +1541,17 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1529
1541
|
/**
|
|
1530
1542
|
* fetch appMetadata entity from the platform cache
|
|
1531
1543
|
* @param appMetadataKey
|
|
1544
|
+
* @param correlationId
|
|
1532
1545
|
*/
|
|
1533
|
-
getAppMetadata(
|
|
1546
|
+
getAppMetadata(
|
|
1547
|
+
appMetadataKey: string,
|
|
1548
|
+
correlationId: string
|
|
1549
|
+
): AppMetadataEntity | null {
|
|
1534
1550
|
const value = this.browserStorage.getItem(appMetadataKey);
|
|
1535
1551
|
if (!value) {
|
|
1536
1552
|
this.logger.trace(
|
|
1537
|
-
"BrowserCacheManager.getAppMetadata: called, no cache hit"
|
|
1553
|
+
"BrowserCacheManager.getAppMetadata: called, no cache hit",
|
|
1554
|
+
correlationId
|
|
1538
1555
|
);
|
|
1539
1556
|
return null;
|
|
1540
1557
|
}
|
|
@@ -1545,24 +1562,32 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1545
1562
|
!CacheHelpers.isAppMetadataEntity(appMetadataKey, parsedMetadata)
|
|
1546
1563
|
) {
|
|
1547
1564
|
this.logger.trace(
|
|
1548
|
-
"BrowserCacheManager.getAppMetadata: called, no cache hit"
|
|
1565
|
+
"BrowserCacheManager.getAppMetadata: called, no cache hit",
|
|
1566
|
+
correlationId
|
|
1549
1567
|
);
|
|
1550
1568
|
return null;
|
|
1551
1569
|
}
|
|
1552
1570
|
|
|
1553
|
-
this.logger.trace(
|
|
1571
|
+
this.logger.trace(
|
|
1572
|
+
"BrowserCacheManager.getAppMetadata: cache hit",
|
|
1573
|
+
correlationId
|
|
1574
|
+
);
|
|
1554
1575
|
return parsedMetadata as AppMetadataEntity;
|
|
1555
1576
|
}
|
|
1556
1577
|
|
|
1557
1578
|
/**
|
|
1558
1579
|
* set appMetadata entity to the platform cache
|
|
1559
1580
|
* @param appMetadata
|
|
1581
|
+
* @param correlationId
|
|
1560
1582
|
*/
|
|
1561
1583
|
setAppMetadata(
|
|
1562
1584
|
appMetadata: AppMetadataEntity,
|
|
1563
1585
|
correlationId: string
|
|
1564
1586
|
): void {
|
|
1565
|
-
this.logger.trace(
|
|
1587
|
+
this.logger.trace(
|
|
1588
|
+
"BrowserCacheManager.setAppMetadata called",
|
|
1589
|
+
correlationId
|
|
1590
|
+
);
|
|
1566
1591
|
const appMetadataKey = CacheHelpers.generateAppMetadataKey(appMetadata);
|
|
1567
1592
|
this.setItem(
|
|
1568
1593
|
appMetadataKey,
|
|
@@ -1574,14 +1599,17 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1574
1599
|
/**
|
|
1575
1600
|
* fetch server telemetry entity from the platform cache
|
|
1576
1601
|
* @param serverTelemetryKey
|
|
1602
|
+
* @param correlationId
|
|
1577
1603
|
*/
|
|
1578
1604
|
getServerTelemetry(
|
|
1579
|
-
serverTelemetryKey: string
|
|
1605
|
+
serverTelemetryKey: string,
|
|
1606
|
+
correlationId: string
|
|
1580
1607
|
): ServerTelemetryEntity | null {
|
|
1581
1608
|
const value = this.browserStorage.getItem(serverTelemetryKey);
|
|
1582
1609
|
if (!value) {
|
|
1583
1610
|
this.logger.trace(
|
|
1584
|
-
"BrowserCacheManager.getServerTelemetry: called, no cache hit"
|
|
1611
|
+
"BrowserCacheManager.getServerTelemetry: called, no cache hit",
|
|
1612
|
+
correlationId
|
|
1585
1613
|
);
|
|
1586
1614
|
return null;
|
|
1587
1615
|
}
|
|
@@ -1594,12 +1622,16 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1594
1622
|
)
|
|
1595
1623
|
) {
|
|
1596
1624
|
this.logger.trace(
|
|
1597
|
-
"BrowserCacheManager.getServerTelemetry: called, no cache hit"
|
|
1625
|
+
"BrowserCacheManager.getServerTelemetry: called, no cache hit",
|
|
1626
|
+
correlationId
|
|
1598
1627
|
);
|
|
1599
1628
|
return null;
|
|
1600
1629
|
}
|
|
1601
1630
|
|
|
1602
|
-
this.logger.trace(
|
|
1631
|
+
this.logger.trace(
|
|
1632
|
+
"BrowserCacheManager.getServerTelemetry: cache hit",
|
|
1633
|
+
correlationId
|
|
1634
|
+
);
|
|
1603
1635
|
return parsedEntity as ServerTelemetryEntity;
|
|
1604
1636
|
}
|
|
1605
1637
|
|
|
@@ -1613,7 +1645,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1613
1645
|
serverTelemetry: ServerTelemetryEntity,
|
|
1614
1646
|
correlationId: string
|
|
1615
1647
|
): void {
|
|
1616
|
-
this.logger.trace(
|
|
1648
|
+
this.logger.trace(
|
|
1649
|
+
"BrowserCacheManager.setServerTelemetry called",
|
|
1650
|
+
correlationId
|
|
1651
|
+
);
|
|
1617
1652
|
this.setItem(
|
|
1618
1653
|
serverTelemetryKey,
|
|
1619
1654
|
JSON.stringify(serverTelemetry),
|
|
@@ -1624,11 +1659,15 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1624
1659
|
/**
|
|
1625
1660
|
*
|
|
1626
1661
|
*/
|
|
1627
|
-
getAuthorityMetadata(
|
|
1662
|
+
getAuthorityMetadata(
|
|
1663
|
+
key: string,
|
|
1664
|
+
correlationId: string
|
|
1665
|
+
): AuthorityMetadataEntity | null {
|
|
1628
1666
|
const value = this.internalStorage.getItem(key);
|
|
1629
1667
|
if (!value) {
|
|
1630
1668
|
this.logger.trace(
|
|
1631
|
-
"BrowserCacheManager.getAuthorityMetadata: called, no cache hit"
|
|
1669
|
+
"BrowserCacheManager.getAuthorityMetadata: called, no cache hit",
|
|
1670
|
+
correlationId
|
|
1632
1671
|
);
|
|
1633
1672
|
return null;
|
|
1634
1673
|
}
|
|
@@ -1638,7 +1677,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1638
1677
|
CacheHelpers.isAuthorityMetadataEntity(key, parsedMetadata)
|
|
1639
1678
|
) {
|
|
1640
1679
|
this.logger.trace(
|
|
1641
|
-
"BrowserCacheManager.getAuthorityMetadata: cache hit"
|
|
1680
|
+
"BrowserCacheManager.getAuthorityMetadata: cache hit",
|
|
1681
|
+
correlationId
|
|
1642
1682
|
);
|
|
1643
1683
|
return parsedMetadata as AuthorityMetadataEntity;
|
|
1644
1684
|
}
|
|
@@ -1673,20 +1713,27 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1673
1713
|
*/
|
|
1674
1714
|
getWrapperMetadata(): [string, string] {
|
|
1675
1715
|
const sku =
|
|
1676
|
-
this.internalStorage.getItem(InMemoryCacheKeys.WRAPPER_SKU) ||
|
|
1677
|
-
Constants.EMPTY_STRING;
|
|
1716
|
+
this.internalStorage.getItem(InMemoryCacheKeys.WRAPPER_SKU) || "";
|
|
1678
1717
|
const version =
|
|
1679
|
-
this.internalStorage.getItem(InMemoryCacheKeys.WRAPPER_VER) ||
|
|
1680
|
-
Constants.EMPTY_STRING;
|
|
1718
|
+
this.internalStorage.getItem(InMemoryCacheKeys.WRAPPER_VER) || "";
|
|
1681
1719
|
return [sku, version];
|
|
1682
1720
|
}
|
|
1683
1721
|
|
|
1684
1722
|
/**
|
|
1685
1723
|
*
|
|
1724
|
+
* @param key
|
|
1686
1725
|
* @param entity
|
|
1726
|
+
* @param correlationId
|
|
1687
1727
|
*/
|
|
1688
|
-
setAuthorityMetadata(
|
|
1689
|
-
|
|
1728
|
+
setAuthorityMetadata(
|
|
1729
|
+
key: string,
|
|
1730
|
+
entity: AuthorityMetadataEntity,
|
|
1731
|
+
correlationId: string
|
|
1732
|
+
): void {
|
|
1733
|
+
this.logger.trace(
|
|
1734
|
+
"BrowserCacheManager.setAuthorityMetadata called",
|
|
1735
|
+
correlationId
|
|
1736
|
+
);
|
|
1690
1737
|
this.internalStorage.setItem(key, JSON.stringify(entity));
|
|
1691
1738
|
}
|
|
1692
1739
|
|
|
@@ -1695,14 +1742,15 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1695
1742
|
*/
|
|
1696
1743
|
getActiveAccount(correlationId: string): AccountInfo | null {
|
|
1697
1744
|
const activeAccountKeyFilters = this.generateCacheKey(
|
|
1698
|
-
PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS
|
|
1745
|
+
Constants.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS
|
|
1699
1746
|
);
|
|
1700
1747
|
const activeAccountValueFilters = this.browserStorage.getItem(
|
|
1701
1748
|
activeAccountKeyFilters
|
|
1702
1749
|
);
|
|
1703
1750
|
if (!activeAccountValueFilters) {
|
|
1704
1751
|
this.logger.trace(
|
|
1705
|
-
"BrowserCacheManager.getActiveAccount: No active account filters found"
|
|
1752
|
+
"BrowserCacheManager.getActiveAccount: No active account filters found",
|
|
1753
|
+
correlationId
|
|
1706
1754
|
);
|
|
1707
1755
|
return null;
|
|
1708
1756
|
}
|
|
@@ -1711,7 +1759,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1711
1759
|
) as AccountInfo;
|
|
1712
1760
|
if (activeAccountValueObj) {
|
|
1713
1761
|
this.logger.trace(
|
|
1714
|
-
"BrowserCacheManager.getActiveAccount: Active account filters schema found"
|
|
1762
|
+
"BrowserCacheManager.getActiveAccount: Active account filters schema found",
|
|
1763
|
+
correlationId
|
|
1715
1764
|
);
|
|
1716
1765
|
return this.getAccountInfoFilteredBy(
|
|
1717
1766
|
{
|
|
@@ -1723,7 +1772,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1723
1772
|
);
|
|
1724
1773
|
}
|
|
1725
1774
|
this.logger.trace(
|
|
1726
|
-
"BrowserCacheManager.getActiveAccount: No active account found"
|
|
1775
|
+
"BrowserCacheManager.getActiveAccount: No active account found",
|
|
1776
|
+
correlationId
|
|
1727
1777
|
);
|
|
1728
1778
|
return null;
|
|
1729
1779
|
}
|
|
@@ -1734,15 +1784,17 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1734
1784
|
*/
|
|
1735
1785
|
setActiveAccount(account: AccountInfo | null, correlationId: string): void {
|
|
1736
1786
|
const activeAccountKey = this.generateCacheKey(
|
|
1737
|
-
PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS
|
|
1787
|
+
Constants.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS
|
|
1738
1788
|
);
|
|
1739
1789
|
if (account) {
|
|
1740
|
-
this.logger.verbose(
|
|
1790
|
+
this.logger.verbose(
|
|
1791
|
+
"setActiveAccount: Active account set",
|
|
1792
|
+
correlationId
|
|
1793
|
+
);
|
|
1741
1794
|
const activeAccountValue: ActiveAccountFilters = {
|
|
1742
1795
|
homeAccountId: account.homeAccountId,
|
|
1743
1796
|
localAccountId: account.localAccountId,
|
|
1744
1797
|
tenantId: account.tenantId,
|
|
1745
|
-
lastUpdatedAt: TimeUtils.nowSeconds().toString(),
|
|
1746
1798
|
};
|
|
1747
1799
|
this.setItem(
|
|
1748
1800
|
activeAccountKey,
|
|
@@ -1751,7 +1803,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1751
1803
|
);
|
|
1752
1804
|
} else {
|
|
1753
1805
|
this.logger.verbose(
|
|
1754
|
-
"setActiveAccount: No account passed, active account not set"
|
|
1806
|
+
"setActiveAccount: No account passed, active account not set",
|
|
1807
|
+
correlationId
|
|
1755
1808
|
);
|
|
1756
1809
|
this.browserStorage.removeItem(activeAccountKey);
|
|
1757
1810
|
}
|
|
@@ -1761,12 +1814,17 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1761
1814
|
/**
|
|
1762
1815
|
* fetch throttling entity from the platform cache
|
|
1763
1816
|
* @param throttlingCacheKey
|
|
1817
|
+
* @param correlationId
|
|
1764
1818
|
*/
|
|
1765
|
-
getThrottlingCache(
|
|
1819
|
+
getThrottlingCache(
|
|
1820
|
+
throttlingCacheKey: string,
|
|
1821
|
+
correlationId: string
|
|
1822
|
+
): ThrottlingEntity | null {
|
|
1766
1823
|
const value = this.browserStorage.getItem(throttlingCacheKey);
|
|
1767
1824
|
if (!value) {
|
|
1768
1825
|
this.logger.trace(
|
|
1769
|
-
"BrowserCacheManager.getThrottlingCache: called, no cache hit"
|
|
1826
|
+
"BrowserCacheManager.getThrottlingCache: called, no cache hit",
|
|
1827
|
+
correlationId
|
|
1770
1828
|
);
|
|
1771
1829
|
return null;
|
|
1772
1830
|
}
|
|
@@ -1780,12 +1838,16 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1780
1838
|
)
|
|
1781
1839
|
) {
|
|
1782
1840
|
this.logger.trace(
|
|
1783
|
-
"BrowserCacheManager.getThrottlingCache: called, no cache hit"
|
|
1841
|
+
"BrowserCacheManager.getThrottlingCache: called, no cache hit",
|
|
1842
|
+
correlationId
|
|
1784
1843
|
);
|
|
1785
1844
|
return null;
|
|
1786
1845
|
}
|
|
1787
1846
|
|
|
1788
|
-
this.logger.trace(
|
|
1847
|
+
this.logger.trace(
|
|
1848
|
+
"BrowserCacheManager.getThrottlingCache: cache hit",
|
|
1849
|
+
correlationId
|
|
1850
|
+
);
|
|
1789
1851
|
return parsedThrottlingCache as ThrottlingEntity;
|
|
1790
1852
|
}
|
|
1791
1853
|
|
|
@@ -1799,7 +1861,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1799
1861
|
throttlingCache: ThrottlingEntity,
|
|
1800
1862
|
correlationId: string
|
|
1801
1863
|
): void {
|
|
1802
|
-
this.logger.trace(
|
|
1864
|
+
this.logger.trace(
|
|
1865
|
+
"BrowserCacheManager.setThrottlingCache called",
|
|
1866
|
+
correlationId
|
|
1867
|
+
);
|
|
1803
1868
|
this.setItem(
|
|
1804
1869
|
throttlingCacheKey,
|
|
1805
1870
|
JSON.stringify(throttlingCache),
|
|
@@ -1809,21 +1874,16 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1809
1874
|
|
|
1810
1875
|
/**
|
|
1811
1876
|
* Gets cache item with given key.
|
|
1812
|
-
*
|
|
1813
|
-
* @param
|
|
1877
|
+
* @param cacheKey
|
|
1878
|
+
* @param correlationId
|
|
1879
|
+
* @param generateKey
|
|
1814
1880
|
*/
|
|
1815
|
-
getTemporaryCache(
|
|
1881
|
+
getTemporaryCache(
|
|
1882
|
+
cacheKey: string,
|
|
1883
|
+
correlationId: string,
|
|
1884
|
+
generateKey?: boolean
|
|
1885
|
+
): string | null {
|
|
1816
1886
|
const key = generateKey ? this.generateCacheKey(cacheKey) : cacheKey;
|
|
1817
|
-
if (this.cacheConfig.storeAuthStateInCookie) {
|
|
1818
|
-
const itemCookie = this.cookieStorage.getItem(key);
|
|
1819
|
-
if (itemCookie) {
|
|
1820
|
-
this.logger.trace(
|
|
1821
|
-
"BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"
|
|
1822
|
-
);
|
|
1823
|
-
return itemCookie;
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
1887
|
const value = this.temporaryCacheStorage.getItem(key);
|
|
1828
1888
|
if (!value) {
|
|
1829
1889
|
// If temp cache item not found in session/memory, check local storage for items set by old versions
|
|
@@ -1834,26 +1894,23 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1834
1894
|
const item = this.browserStorage.getItem(key);
|
|
1835
1895
|
if (item) {
|
|
1836
1896
|
this.logger.trace(
|
|
1837
|
-
"BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"
|
|
1897
|
+
"BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage",
|
|
1898
|
+
correlationId
|
|
1838
1899
|
);
|
|
1839
1900
|
return item;
|
|
1840
1901
|
}
|
|
1841
1902
|
}
|
|
1842
1903
|
this.logger.trace(
|
|
1843
|
-
"BrowserCacheManager.getTemporaryCache: No cache item found in local storage"
|
|
1904
|
+
"BrowserCacheManager.getTemporaryCache: No cache item found in local storage",
|
|
1905
|
+
correlationId
|
|
1844
1906
|
);
|
|
1845
1907
|
return null;
|
|
1846
1908
|
}
|
|
1847
|
-
this.logger.trace(
|
|
1848
|
-
"BrowserCacheManager.getTemporaryCache: Temporary cache item returned"
|
|
1849
|
-
);
|
|
1850
1909
|
return value;
|
|
1851
1910
|
}
|
|
1852
1911
|
|
|
1853
1912
|
/**
|
|
1854
1913
|
* Sets the cache item with the key and value given.
|
|
1855
|
-
* Stores in cookie if storeAuthStateInCookie is set to true.
|
|
1856
|
-
* This can cause cookie overflow if used incorrectly.
|
|
1857
1914
|
* @param key
|
|
1858
1915
|
* @param value
|
|
1859
1916
|
*/
|
|
@@ -1863,19 +1920,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1863
1920
|
generateKey?: boolean
|
|
1864
1921
|
): void {
|
|
1865
1922
|
const key = generateKey ? this.generateCacheKey(cacheKey) : cacheKey;
|
|
1866
|
-
|
|
1867
1923
|
this.temporaryCacheStorage.setItem(key, value);
|
|
1868
|
-
if (this.cacheConfig.storeAuthStateInCookie) {
|
|
1869
|
-
this.logger.trace(
|
|
1870
|
-
"BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"
|
|
1871
|
-
);
|
|
1872
|
-
this.cookieStorage.setItem(
|
|
1873
|
-
key,
|
|
1874
|
-
value,
|
|
1875
|
-
undefined,
|
|
1876
|
-
this.cacheConfig.secureCookies
|
|
1877
|
-
);
|
|
1878
|
-
}
|
|
1879
1924
|
}
|
|
1880
1925
|
|
|
1881
1926
|
/**
|
|
@@ -1888,17 +1933,10 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1888
1933
|
|
|
1889
1934
|
/**
|
|
1890
1935
|
* Removes the temporary cache item with the given key.
|
|
1891
|
-
* Will also clear the cookie item if storeAuthStateInCookie is set to true.
|
|
1892
1936
|
* @param key
|
|
1893
1937
|
*/
|
|
1894
1938
|
removeTemporaryItem(key: string): void {
|
|
1895
1939
|
this.temporaryCacheStorage.removeItem(key);
|
|
1896
|
-
if (this.cacheConfig.storeAuthStateInCookie) {
|
|
1897
|
-
this.logger.trace(
|
|
1898
|
-
"BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"
|
|
1899
|
-
);
|
|
1900
|
-
this.cookieStorage.removeItem(key);
|
|
1901
|
-
}
|
|
1902
1940
|
}
|
|
1903
1941
|
|
|
1904
1942
|
/**
|
|
@@ -1939,43 +1977,6 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1939
1977
|
this.internalStorage.clear();
|
|
1940
1978
|
}
|
|
1941
1979
|
|
|
1942
|
-
/**
|
|
1943
|
-
* Clears all access tokes that have claims prior to saving the current one
|
|
1944
|
-
* @param performanceClient {IPerformanceClient}
|
|
1945
|
-
* @param correlationId {string} correlation id
|
|
1946
|
-
* @returns
|
|
1947
|
-
*/
|
|
1948
|
-
clearTokensAndKeysWithClaims(correlationId: string): void {
|
|
1949
|
-
this.performanceClient.addQueueMeasurement(
|
|
1950
|
-
PerformanceEvents.ClearTokensAndKeysWithClaims,
|
|
1951
|
-
correlationId
|
|
1952
|
-
);
|
|
1953
|
-
|
|
1954
|
-
const tokenKeys = this.getTokenKeys();
|
|
1955
|
-
let removedAccessTokens = 0;
|
|
1956
|
-
tokenKeys.accessToken.forEach((key: string) => {
|
|
1957
|
-
// if the access token has claims in its key, remove the token key and the token
|
|
1958
|
-
const credential = this.getAccessTokenCredential(
|
|
1959
|
-
key,
|
|
1960
|
-
correlationId
|
|
1961
|
-
);
|
|
1962
|
-
if (
|
|
1963
|
-
credential?.requestedClaimsHash &&
|
|
1964
|
-
key.includes(credential.requestedClaimsHash.toLowerCase())
|
|
1965
|
-
) {
|
|
1966
|
-
this.removeAccessToken(key, correlationId);
|
|
1967
|
-
removedAccessTokens++;
|
|
1968
|
-
}
|
|
1969
|
-
});
|
|
1970
|
-
|
|
1971
|
-
// warn if any access tokens are removed
|
|
1972
|
-
if (removedAccessTokens > 0) {
|
|
1973
|
-
this.logger.warning(
|
|
1974
|
-
`${removedAccessTokens} access tokens with claims in the cache keys have been removed from the cache.`
|
|
1975
|
-
);
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
|
|
1979
1980
|
/**
|
|
1980
1981
|
* Prepend msal.<client-id> to each key
|
|
1981
1982
|
* @param key
|
|
@@ -1998,13 +1999,14 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
1998
1999
|
*/
|
|
1999
2000
|
generateCredentialKey(credential: CredentialEntity): string {
|
|
2000
2001
|
const familyId =
|
|
2001
|
-
(credential.credentialType ===
|
|
2002
|
+
(credential.credentialType ===
|
|
2003
|
+
Constants.CredentialType.REFRESH_TOKEN &&
|
|
2002
2004
|
credential.familyId) ||
|
|
2003
2005
|
credential.clientId;
|
|
2004
2006
|
const scheme =
|
|
2005
2007
|
credential.tokenType &&
|
|
2006
2008
|
credential.tokenType.toLowerCase() !==
|
|
2007
|
-
AuthenticationScheme.BEARER.toLowerCase()
|
|
2009
|
+
Constants.AuthenticationScheme.BEARER.toLowerCase()
|
|
2008
2010
|
? credential.tokenType.toLowerCase()
|
|
2009
2011
|
: "";
|
|
2010
2012
|
const credentialKey = [
|
|
@@ -2015,7 +2017,6 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2015
2017
|
familyId,
|
|
2016
2018
|
credential.realm || "",
|
|
2017
2019
|
credential.target || "",
|
|
2018
|
-
credential.requestedClaimsHash || "",
|
|
2019
2020
|
scheme,
|
|
2020
2021
|
];
|
|
2021
2022
|
|
|
@@ -2041,10 +2042,13 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2041
2042
|
|
|
2042
2043
|
/**
|
|
2043
2044
|
* Reset all temporary cache items
|
|
2044
|
-
* @param
|
|
2045
|
+
* @param correlationId
|
|
2045
2046
|
*/
|
|
2046
|
-
resetRequestCache(): void {
|
|
2047
|
-
this.logger.trace(
|
|
2047
|
+
resetRequestCache(correlationId: string): void {
|
|
2048
|
+
this.logger.trace(
|
|
2049
|
+
"BrowserCacheManager.resetRequestCache called",
|
|
2050
|
+
correlationId
|
|
2051
|
+
);
|
|
2048
2052
|
|
|
2049
2053
|
this.removeTemporaryItem(
|
|
2050
2054
|
this.generateCacheKey(TemporaryCacheKeys.REQUEST_PARAMS)
|
|
@@ -2061,14 +2065,18 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2061
2065
|
this.removeTemporaryItem(
|
|
2062
2066
|
this.generateCacheKey(TemporaryCacheKeys.NATIVE_REQUEST)
|
|
2063
2067
|
);
|
|
2064
|
-
this.setInteractionInProgress(false);
|
|
2068
|
+
this.setInteractionInProgress(false, undefined);
|
|
2065
2069
|
}
|
|
2066
2070
|
|
|
2067
2071
|
cacheAuthorizeRequest(
|
|
2068
2072
|
authCodeRequest: CommonAuthorizationUrlRequest,
|
|
2073
|
+
correlationId: string,
|
|
2069
2074
|
codeVerifier?: string
|
|
2070
2075
|
): void {
|
|
2071
|
-
this.logger.trace(
|
|
2076
|
+
this.logger.trace(
|
|
2077
|
+
"BrowserCacheManager.cacheAuthorizeRequest called",
|
|
2078
|
+
correlationId
|
|
2079
|
+
);
|
|
2072
2080
|
|
|
2073
2081
|
const encodedValue = base64Encode(JSON.stringify(authCodeRequest));
|
|
2074
2082
|
this.setTemporaryCache(
|
|
@@ -2089,12 +2097,19 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2089
2097
|
|
|
2090
2098
|
/**
|
|
2091
2099
|
* Gets the token exchange parameters from the cache. Throws an error if nothing is found.
|
|
2100
|
+
* @param correlationId
|
|
2092
2101
|
*/
|
|
2093
|
-
getCachedRequest(
|
|
2094
|
-
|
|
2102
|
+
getCachedRequest(
|
|
2103
|
+
correlationId: string
|
|
2104
|
+
): [CommonAuthorizationUrlRequest, string] {
|
|
2105
|
+
this.logger.trace(
|
|
2106
|
+
"BrowserCacheManager.getCachedRequest called",
|
|
2107
|
+
correlationId
|
|
2108
|
+
);
|
|
2095
2109
|
// Get token request from cache and parse as TokenExchangeParameters.
|
|
2096
2110
|
const encodedTokenRequest = this.getTemporaryCache(
|
|
2097
2111
|
TemporaryCacheKeys.REQUEST_PARAMS,
|
|
2112
|
+
correlationId,
|
|
2098
2113
|
true
|
|
2099
2114
|
);
|
|
2100
2115
|
if (!encodedTokenRequest) {
|
|
@@ -2104,6 +2119,7 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2104
2119
|
}
|
|
2105
2120
|
const encodedVerifier = this.getTemporaryCache(
|
|
2106
2121
|
TemporaryCacheKeys.VERIFIER,
|
|
2122
|
+
correlationId,
|
|
2107
2123
|
true
|
|
2108
2124
|
);
|
|
2109
2125
|
|
|
@@ -2115,9 +2131,13 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2115
2131
|
verifier = base64Decode(encodedVerifier);
|
|
2116
2132
|
}
|
|
2117
2133
|
} catch (e) {
|
|
2118
|
-
this.logger.errorPii(
|
|
2134
|
+
this.logger.errorPii(
|
|
2135
|
+
`Attempted to parse: '${encodedTokenRequest}'`,
|
|
2136
|
+
correlationId
|
|
2137
|
+
);
|
|
2119
2138
|
this.logger.error(
|
|
2120
|
-
`Parsing cached token request threw with error: ${e}
|
|
2139
|
+
`Parsing cached token request threw with error: '${e}'`,
|
|
2140
|
+
correlationId
|
|
2121
2141
|
);
|
|
2122
2142
|
throw createBrowserAuthError(
|
|
2123
2143
|
BrowserAuthErrorCodes.unableToParseTokenRequestCacheError
|
|
@@ -2129,16 +2149,22 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2129
2149
|
|
|
2130
2150
|
/**
|
|
2131
2151
|
* Gets cached native request for redirect flows
|
|
2152
|
+
* @param correlationId
|
|
2132
2153
|
*/
|
|
2133
2154
|
getCachedNativeRequest(): PlatformAuthRequest | null {
|
|
2134
|
-
this.logger.trace(
|
|
2155
|
+
this.logger.trace(
|
|
2156
|
+
"BrowserCacheManager.getCachedNativeRequest called",
|
|
2157
|
+
""
|
|
2158
|
+
);
|
|
2135
2159
|
const cachedRequest = this.getTemporaryCache(
|
|
2136
2160
|
TemporaryCacheKeys.NATIVE_REQUEST,
|
|
2161
|
+
"",
|
|
2137
2162
|
true
|
|
2138
2163
|
);
|
|
2139
2164
|
if (!cachedRequest) {
|
|
2140
2165
|
this.logger.trace(
|
|
2141
|
-
"BrowserCacheManager.getCachedNativeRequest: No cached native request found"
|
|
2166
|
+
"BrowserCacheManager.getCachedNativeRequest: No cached native request found",
|
|
2167
|
+
""
|
|
2142
2168
|
);
|
|
2143
2169
|
return null;
|
|
2144
2170
|
}
|
|
@@ -2148,7 +2174,8 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2148
2174
|
) as PlatformAuthRequest;
|
|
2149
2175
|
if (!parsedRequest) {
|
|
2150
2176
|
this.logger.error(
|
|
2151
|
-
"BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"
|
|
2177
|
+
"BrowserCacheManager.getCachedNativeRequest: Unable to parse native request",
|
|
2178
|
+
""
|
|
2152
2179
|
);
|
|
2153
2180
|
return null;
|
|
2154
2181
|
}
|
|
@@ -2171,16 +2198,17 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2171
2198
|
type: INTERACTION_TYPE;
|
|
2172
2199
|
} | null {
|
|
2173
2200
|
const key = `${CacheKeys.PREFIX}.${TemporaryCacheKeys.INTERACTION_STATUS_KEY}`;
|
|
2174
|
-
const value = this.getTemporaryCache(key, false);
|
|
2201
|
+
const value = this.getTemporaryCache(key, "", false);
|
|
2175
2202
|
try {
|
|
2176
2203
|
return value ? JSON.parse(value) : null;
|
|
2177
2204
|
} catch (e) {
|
|
2178
2205
|
// Remove interaction and other temp keys if interaction status can't be parsed
|
|
2179
2206
|
this.logger.error(
|
|
2180
|
-
`Cannot parse interaction status. Removing temporary cache items and clearing url hash. Retrying interaction should fix the error
|
|
2207
|
+
`Cannot parse interaction status. Removing temporary cache items and clearing url hash. Retrying interaction should fix the error`,
|
|
2208
|
+
""
|
|
2181
2209
|
);
|
|
2182
2210
|
this.removeTemporaryItem(key);
|
|
2183
|
-
this.resetRequestCache();
|
|
2211
|
+
this.resetRequestCache("");
|
|
2184
2212
|
clearHash(window);
|
|
2185
2213
|
return null;
|
|
2186
2214
|
}
|
|
@@ -2188,23 +2216,41 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2188
2216
|
|
|
2189
2217
|
setInteractionInProgress(
|
|
2190
2218
|
inProgress: boolean,
|
|
2191
|
-
type: INTERACTION_TYPE = INTERACTION_TYPE.SIGNIN
|
|
2219
|
+
type: INTERACTION_TYPE = INTERACTION_TYPE.SIGNIN,
|
|
2220
|
+
allowOverride: boolean = false,
|
|
2221
|
+
correlationId: string = ""
|
|
2192
2222
|
): void {
|
|
2193
2223
|
// Ensure we don't overwrite interaction in progress for a different clientId
|
|
2194
2224
|
const key = `${CacheKeys.PREFIX}.${TemporaryCacheKeys.INTERACTION_STATUS_KEY}`;
|
|
2195
2225
|
if (inProgress) {
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2226
|
+
const existingInteraction = this.getInteractionInProgress();
|
|
2227
|
+
if (existingInteraction) {
|
|
2228
|
+
if (allowOverride) {
|
|
2229
|
+
this.logger.warning(
|
|
2230
|
+
`Overriding existing interaction_in_progress for clientId: ${existingInteraction.clientId}, type: ${existingInteraction.type}`,
|
|
2231
|
+
correlationId
|
|
2232
|
+
);
|
|
2233
|
+
|
|
2234
|
+
// Cancel any active bridge monitor from the previous interaction
|
|
2235
|
+
BrowserUtils.cancelPendingBridgeResponse(
|
|
2236
|
+
this.logger,
|
|
2237
|
+
correlationId
|
|
2238
|
+
);
|
|
2239
|
+
|
|
2240
|
+
// Clear existing interaction to allow new one
|
|
2241
|
+
this.removeTemporaryItem(key);
|
|
2242
|
+
} else {
|
|
2243
|
+
throw createBrowserAuthError(
|
|
2244
|
+
BrowserAuthErrorCodes.interactionInProgress
|
|
2245
|
+
);
|
|
2246
|
+
}
|
|
2207
2247
|
}
|
|
2248
|
+
// Set new interaction
|
|
2249
|
+
this.setTemporaryCache(
|
|
2250
|
+
key,
|
|
2251
|
+
JSON.stringify({ clientId: this.clientId, type }),
|
|
2252
|
+
false
|
|
2253
|
+
);
|
|
2208
2254
|
} else if (
|
|
2209
2255
|
!inProgress &&
|
|
2210
2256
|
this.getInteractionInProgress()?.clientId === this.clientId
|
|
@@ -2234,11 +2280,6 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2234
2280
|
result.tenantId
|
|
2235
2281
|
);
|
|
2236
2282
|
|
|
2237
|
-
let claimsHash;
|
|
2238
|
-
if (request.claims) {
|
|
2239
|
-
claimsHash = await this.cryptoImpl.hashString(request.claims);
|
|
2240
|
-
}
|
|
2241
|
-
|
|
2242
2283
|
/**
|
|
2243
2284
|
* meta data for cache stores time in seconds from epoch
|
|
2244
2285
|
* AuthenticationResult returns expiresOn and extExpiresOn in milliseconds (as a Date object which is in ms)
|
|
@@ -2263,11 +2304,9 @@ export class BrowserCacheManager extends CacheManager {
|
|
|
2263
2304
|
: 0,
|
|
2264
2305
|
base64Decode,
|
|
2265
2306
|
undefined, // refreshOn
|
|
2266
|
-
result.tokenType as AuthenticationScheme,
|
|
2307
|
+
result.tokenType as Constants.AuthenticationScheme,
|
|
2267
2308
|
undefined, // userAssertionHash
|
|
2268
|
-
request.sshKid
|
|
2269
|
-
request.claims,
|
|
2270
|
-
claimsHash
|
|
2309
|
+
request.sshKid
|
|
2271
2310
|
);
|
|
2272
2311
|
|
|
2273
2312
|
const cacheRecord = {
|
|
@@ -2348,7 +2387,7 @@ function getStorageImplementation(
|
|
|
2348
2387
|
break;
|
|
2349
2388
|
}
|
|
2350
2389
|
} catch (e) {
|
|
2351
|
-
logger.error(e as string);
|
|
2390
|
+
logger.error(e as string, "");
|
|
2352
2391
|
}
|
|
2353
2392
|
|
|
2354
2393
|
return new MemoryStorage();
|
|
@@ -2363,11 +2402,6 @@ export const DEFAULT_BROWSER_CACHE_MANAGER = (
|
|
|
2363
2402
|
const cacheOptions: Required<CacheOptions> = {
|
|
2364
2403
|
cacheLocation: BrowserCacheLocation.MemoryStorage,
|
|
2365
2404
|
cacheRetentionDays: 5,
|
|
2366
|
-
temporaryCacheLocation: BrowserCacheLocation.MemoryStorage,
|
|
2367
|
-
storeAuthStateInCookie: false,
|
|
2368
|
-
secureCookies: false,
|
|
2369
|
-
cacheMigrationEnabled: false,
|
|
2370
|
-
claimsBasedCachingEnabled: false,
|
|
2371
2405
|
};
|
|
2372
2406
|
return new BrowserCacheManager(
|
|
2373
2407
|
clientId,
|