@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
package/src/cache/TokenCache.ts
CHANGED
|
@@ -20,11 +20,12 @@ import {
|
|
|
20
20
|
CacheHelpers,
|
|
21
21
|
buildAccountToCache,
|
|
22
22
|
TimeUtils,
|
|
23
|
+
AccountEntityUtils,
|
|
24
|
+
buildStaticAuthorityOptions,
|
|
23
25
|
} from "@azure/msal-common/browser";
|
|
24
|
-
import {
|
|
26
|
+
import { buildConfiguration, Configuration } from "../config/Configuration.js";
|
|
25
27
|
import type { SilentRequest } from "../request/SilentRequest.js";
|
|
26
28
|
import { BrowserCacheManager } from "./BrowserCacheManager.js";
|
|
27
|
-
import type { ITokenCache } from "./ITokenCache.js";
|
|
28
29
|
import {
|
|
29
30
|
createBrowserAuthError,
|
|
30
31
|
BrowserAuthErrorCodes,
|
|
@@ -32,6 +33,9 @@ import {
|
|
|
32
33
|
import type { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
33
34
|
import { base64Decode } from "../encode/Base64Decode.js";
|
|
34
35
|
import * as BrowserCrypto from "../crypto/BrowserCrypto.js";
|
|
36
|
+
import { CryptoOps } from "../crypto/CryptoOps.js";
|
|
37
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
38
|
+
import * as BrowserUtils from "../utils/BrowserUtils.js";
|
|
35
39
|
|
|
36
40
|
export type LoadTokenOptions = {
|
|
37
41
|
clientInfo?: string;
|
|
@@ -40,408 +44,413 @@ export type LoadTokenOptions = {
|
|
|
40
44
|
};
|
|
41
45
|
|
|
42
46
|
/**
|
|
43
|
-
*
|
|
47
|
+
* API to load tokens to msal-browser cache.
|
|
48
|
+
* @param request
|
|
49
|
+
* @param response
|
|
50
|
+
* @param options
|
|
51
|
+
* @returns `AuthenticationResult` for the response that was loaded.
|
|
44
52
|
*/
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
53
|
+
export async function loadExternalTokens(
|
|
54
|
+
config: Configuration,
|
|
55
|
+
request: SilentRequest,
|
|
56
|
+
response: ExternalTokenResponse,
|
|
57
|
+
options: LoadTokenOptions
|
|
58
|
+
): Promise<AuthenticationResult> {
|
|
59
|
+
BrowserUtils.blockNonBrowserEnvironment();
|
|
60
|
+
|
|
61
|
+
const browserConfig = buildConfiguration(config, true);
|
|
62
|
+
|
|
63
|
+
const correlationId =
|
|
64
|
+
request.correlationId || BrowserCrypto.createNewGuid();
|
|
65
|
+
|
|
66
|
+
const idTokenClaims = response.id_token
|
|
67
|
+
? AuthToken.extractTokenClaims(response.id_token, base64Decode)
|
|
68
|
+
: undefined;
|
|
69
|
+
const kmsi = AuthToken.isKmsi(idTokenClaims || {});
|
|
70
|
+
|
|
71
|
+
const authorityOptions: AuthorityOptions = {
|
|
72
|
+
protocolMode: browserConfig.system.protocolMode,
|
|
73
|
+
knownAuthorities: browserConfig.auth.knownAuthorities,
|
|
74
|
+
cloudDiscoveryMetadata: browserConfig.auth.cloudDiscoveryMetadata,
|
|
75
|
+
authorityMetadata: browserConfig.auth.authorityMetadata,
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const logger = new Logger(browserConfig.system.loggerOptions || {});
|
|
79
|
+
const cryptoOps = new CryptoOps(logger, browserConfig.telemetry.client);
|
|
80
|
+
const storage = new BrowserCacheManager(
|
|
81
|
+
browserConfig.auth.clientId,
|
|
82
|
+
browserConfig.cache,
|
|
83
|
+
cryptoOps,
|
|
84
|
+
logger,
|
|
85
|
+
browserConfig.telemetry.client,
|
|
86
|
+
new EventHandler(logger),
|
|
87
|
+
buildStaticAuthorityOptions(browserConfig.auth)
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
const authority = request.authority
|
|
91
|
+
? new Authority(
|
|
92
|
+
Authority.generateAuthority(
|
|
93
|
+
request.authority,
|
|
94
|
+
request.azureCloudOptions
|
|
95
|
+
),
|
|
96
|
+
browserConfig.system.networkClient,
|
|
97
|
+
storage,
|
|
98
|
+
authorityOptions,
|
|
99
|
+
logger,
|
|
100
|
+
request.correlationId || BrowserCrypto.createNewGuid(),
|
|
101
|
+
browserConfig.telemetry.client
|
|
102
|
+
)
|
|
103
|
+
: undefined;
|
|
104
|
+
|
|
105
|
+
const cacheRecordAccount: AccountEntity = await loadAccount(
|
|
106
|
+
request,
|
|
107
|
+
options.clientInfo || response.client_info || "",
|
|
108
|
+
correlationId,
|
|
109
|
+
storage,
|
|
110
|
+
logger,
|
|
111
|
+
cryptoOps,
|
|
112
|
+
idTokenClaims,
|
|
113
|
+
authority
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
const idToken = await loadIdToken(
|
|
117
|
+
response,
|
|
118
|
+
cacheRecordAccount.homeAccountId,
|
|
119
|
+
cacheRecordAccount.environment,
|
|
120
|
+
cacheRecordAccount.realm,
|
|
121
|
+
kmsi,
|
|
122
|
+
correlationId,
|
|
123
|
+
storage,
|
|
124
|
+
logger,
|
|
125
|
+
config.auth.clientId
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
const accessToken = await loadAccessToken(
|
|
129
|
+
request,
|
|
130
|
+
response,
|
|
131
|
+
cacheRecordAccount.homeAccountId,
|
|
132
|
+
cacheRecordAccount.environment,
|
|
133
|
+
cacheRecordAccount.realm,
|
|
134
|
+
kmsi,
|
|
135
|
+
options,
|
|
136
|
+
correlationId,
|
|
137
|
+
storage,
|
|
138
|
+
logger,
|
|
139
|
+
config.auth.clientId
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
const refreshToken = await loadRefreshToken(
|
|
143
|
+
response,
|
|
144
|
+
cacheRecordAccount.homeAccountId,
|
|
145
|
+
cacheRecordAccount.environment,
|
|
146
|
+
kmsi,
|
|
147
|
+
correlationId,
|
|
148
|
+
storage,
|
|
149
|
+
logger,
|
|
150
|
+
config.auth.clientId
|
|
151
|
+
);
|
|
152
|
+
|
|
153
|
+
return generateAuthenticationResult(
|
|
154
|
+
request,
|
|
155
|
+
{
|
|
156
|
+
account: cacheRecordAccount,
|
|
157
|
+
idToken,
|
|
158
|
+
accessToken,
|
|
159
|
+
refreshToken,
|
|
160
|
+
},
|
|
161
|
+
idTokenClaims,
|
|
162
|
+
authority
|
|
163
|
+
);
|
|
164
|
+
}
|
|
69
165
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
166
|
+
/**
|
|
167
|
+
* Helper function to load account to msal-browser cache
|
|
168
|
+
* @param idToken
|
|
169
|
+
* @param environment
|
|
170
|
+
* @param clientInfo
|
|
171
|
+
* @param authorityType
|
|
172
|
+
* @param requestHomeAccountId
|
|
173
|
+
* @returns `AccountEntity`
|
|
174
|
+
*/
|
|
175
|
+
async function loadAccount(
|
|
176
|
+
request: SilentRequest,
|
|
177
|
+
clientInfo: string,
|
|
178
|
+
correlationId: string,
|
|
179
|
+
storage: BrowserCacheManager,
|
|
180
|
+
logger: Logger,
|
|
181
|
+
cryptoObj: ICrypto,
|
|
182
|
+
idTokenClaims?: TokenClaims,
|
|
183
|
+
authority?: Authority
|
|
184
|
+
): Promise<AccountEntity> {
|
|
185
|
+
logger.verbose("TokenCache - loading account", correlationId);
|
|
186
|
+
|
|
187
|
+
if (request.account) {
|
|
188
|
+
const accountEntity =
|
|
189
|
+
AccountEntityUtils.createAccountEntityFromAccountInfo(
|
|
190
|
+
request.account
|
|
87
191
|
);
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
const correlationId =
|
|
91
|
-
request.correlationId || BrowserCrypto.createNewGuid();
|
|
92
|
-
|
|
93
|
-
const idTokenClaims = response.id_token
|
|
94
|
-
? AuthToken.extractTokenClaims(response.id_token, base64Decode)
|
|
95
|
-
: undefined;
|
|
96
|
-
const kmsi = AuthToken.isKmsi(idTokenClaims || {});
|
|
97
|
-
|
|
98
|
-
const authorityOptions: AuthorityOptions = {
|
|
99
|
-
protocolMode: this.config.auth.protocolMode,
|
|
100
|
-
knownAuthorities: this.config.auth.knownAuthorities,
|
|
101
|
-
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
102
|
-
authorityMetadata: this.config.auth.authorityMetadata,
|
|
103
|
-
skipAuthorityMetadataCache:
|
|
104
|
-
this.config.auth.skipAuthorityMetadataCache,
|
|
105
|
-
};
|
|
106
|
-
const authority = request.authority
|
|
107
|
-
? new Authority(
|
|
108
|
-
Authority.generateAuthority(
|
|
109
|
-
request.authority,
|
|
110
|
-
request.azureCloudOptions
|
|
111
|
-
),
|
|
112
|
-
this.config.system.networkClient,
|
|
113
|
-
this.storage,
|
|
114
|
-
authorityOptions,
|
|
115
|
-
this.logger,
|
|
116
|
-
request.correlationId || BrowserCrypto.createNewGuid()
|
|
117
|
-
)
|
|
118
|
-
: undefined;
|
|
119
|
-
|
|
120
|
-
const cacheRecordAccount: AccountEntity = await this.loadAccount(
|
|
121
|
-
request,
|
|
122
|
-
options.clientInfo || response.client_info || "",
|
|
123
|
-
correlationId,
|
|
124
|
-
idTokenClaims,
|
|
125
|
-
authority
|
|
126
|
-
);
|
|
127
|
-
|
|
128
|
-
const idToken = await this.loadIdToken(
|
|
129
|
-
response,
|
|
130
|
-
cacheRecordAccount.homeAccountId,
|
|
131
|
-
cacheRecordAccount.environment,
|
|
132
|
-
cacheRecordAccount.realm,
|
|
192
|
+
await storage.setAccount(
|
|
193
|
+
accountEntity,
|
|
133
194
|
correlationId,
|
|
134
|
-
|
|
195
|
+
AuthToken.isKmsi(idTokenClaims || {})
|
|
135
196
|
);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
cacheRecordAccount.environment,
|
|
142
|
-
cacheRecordAccount.realm,
|
|
143
|
-
options,
|
|
144
|
-
correlationId,
|
|
145
|
-
kmsi
|
|
197
|
+
return accountEntity;
|
|
198
|
+
} else if (!authority || (!clientInfo && !idTokenClaims)) {
|
|
199
|
+
logger.error(
|
|
200
|
+
"TokenCache - if an account is not provided on the request, authority and either clientInfo or idToken must be provided instead.",
|
|
201
|
+
correlationId
|
|
146
202
|
);
|
|
203
|
+
throw createBrowserAuthError(BrowserAuthErrorCodes.unableToLoadToken);
|
|
204
|
+
}
|
|
147
205
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
206
|
+
const homeAccountId = AccountEntityUtils.generateHomeAccountId(
|
|
207
|
+
clientInfo,
|
|
208
|
+
authority.authorityType,
|
|
209
|
+
logger,
|
|
210
|
+
cryptoObj,
|
|
211
|
+
correlationId,
|
|
212
|
+
idTokenClaims
|
|
213
|
+
);
|
|
214
|
+
|
|
215
|
+
const claimsTenantId = idTokenClaims?.tid;
|
|
216
|
+
|
|
217
|
+
const cachedAccount = buildAccountToCache(
|
|
218
|
+
storage,
|
|
219
|
+
authority,
|
|
220
|
+
homeAccountId,
|
|
221
|
+
base64Decode,
|
|
222
|
+
correlationId,
|
|
223
|
+
idTokenClaims,
|
|
224
|
+
clientInfo,
|
|
225
|
+
authority.hostnameAndPort,
|
|
226
|
+
claimsTenantId,
|
|
227
|
+
undefined, // authCodePayload
|
|
228
|
+
undefined, // nativeAccountId
|
|
229
|
+
logger
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
await storage.setAccount(
|
|
233
|
+
cachedAccount,
|
|
234
|
+
correlationId,
|
|
235
|
+
AuthToken.isKmsi(idTokenClaims || {})
|
|
236
|
+
);
|
|
237
|
+
return cachedAccount;
|
|
238
|
+
}
|
|
155
239
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
240
|
+
/**
|
|
241
|
+
* Helper function to load id tokens to msal-browser cache
|
|
242
|
+
* @param idToken
|
|
243
|
+
* @param homeAccountId
|
|
244
|
+
* @param environment
|
|
245
|
+
* @param tenantId
|
|
246
|
+
* @returns `IdTokenEntity`
|
|
247
|
+
*/
|
|
248
|
+
async function loadIdToken(
|
|
249
|
+
response: ExternalTokenResponse,
|
|
250
|
+
homeAccountId: string,
|
|
251
|
+
environment: string,
|
|
252
|
+
tenantId: string,
|
|
253
|
+
kmsi: boolean,
|
|
254
|
+
correlationId: string,
|
|
255
|
+
storage: BrowserCacheManager,
|
|
256
|
+
logger: Logger,
|
|
257
|
+
clientId: string
|
|
258
|
+
): Promise<IdTokenEntity | null> {
|
|
259
|
+
if (!response.id_token) {
|
|
260
|
+
logger.verbose(
|
|
261
|
+
"TokenCache - no id token found in response",
|
|
262
|
+
correlationId
|
|
166
263
|
);
|
|
264
|
+
return null;
|
|
167
265
|
}
|
|
168
266
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
correlationId: string,
|
|
182
|
-
idTokenClaims?: TokenClaims,
|
|
183
|
-
authority?: Authority
|
|
184
|
-
): Promise<AccountEntity> {
|
|
185
|
-
this.logger.verbose("TokenCache - loading account");
|
|
186
|
-
|
|
187
|
-
if (request.account) {
|
|
188
|
-
const accountEntity = AccountEntity.createFromAccountInfo(
|
|
189
|
-
request.account
|
|
190
|
-
);
|
|
191
|
-
await this.storage.setAccount(
|
|
192
|
-
accountEntity,
|
|
193
|
-
correlationId,
|
|
194
|
-
AuthToken.isKmsi(idTokenClaims || {})
|
|
195
|
-
);
|
|
196
|
-
return accountEntity;
|
|
197
|
-
} else if (!authority || (!clientInfo && !idTokenClaims)) {
|
|
198
|
-
this.logger.error(
|
|
199
|
-
"TokenCache - if an account is not provided on the request, authority and either clientInfo or idToken must be provided instead."
|
|
200
|
-
);
|
|
201
|
-
throw createBrowserAuthError(
|
|
202
|
-
BrowserAuthErrorCodes.unableToLoadToken
|
|
203
|
-
);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
const homeAccountId = AccountEntity.generateHomeAccountId(
|
|
207
|
-
clientInfo,
|
|
208
|
-
authority.authorityType,
|
|
209
|
-
this.logger,
|
|
210
|
-
this.cryptoObj,
|
|
211
|
-
idTokenClaims
|
|
212
|
-
);
|
|
213
|
-
|
|
214
|
-
const claimsTenantId = idTokenClaims?.tid;
|
|
215
|
-
|
|
216
|
-
const cachedAccount = buildAccountToCache(
|
|
217
|
-
this.storage,
|
|
218
|
-
authority,
|
|
219
|
-
homeAccountId,
|
|
220
|
-
base64Decode,
|
|
221
|
-
correlationId,
|
|
222
|
-
idTokenClaims,
|
|
223
|
-
clientInfo,
|
|
224
|
-
authority.hostnameAndPort,
|
|
225
|
-
claimsTenantId,
|
|
226
|
-
undefined, // authCodePayload
|
|
227
|
-
undefined, // nativeAccountId
|
|
228
|
-
this.logger
|
|
229
|
-
);
|
|
267
|
+
logger.verbose("TokenCache - loading id token", correlationId);
|
|
268
|
+
const idTokenEntity = CacheHelpers.createIdTokenEntity(
|
|
269
|
+
homeAccountId,
|
|
270
|
+
environment,
|
|
271
|
+
response.id_token,
|
|
272
|
+
clientId,
|
|
273
|
+
tenantId
|
|
274
|
+
);
|
|
275
|
+
|
|
276
|
+
await storage.setIdTokenCredential(idTokenEntity, correlationId, kmsi);
|
|
277
|
+
return idTokenEntity;
|
|
278
|
+
}
|
|
230
279
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
280
|
+
/**
|
|
281
|
+
* Helper function to load access tokens to msal-browser cache
|
|
282
|
+
* @param request
|
|
283
|
+
* @param response
|
|
284
|
+
* @param homeAccountId
|
|
285
|
+
* @param environment
|
|
286
|
+
* @param tenantId
|
|
287
|
+
* @returns `AccessTokenEntity`
|
|
288
|
+
*/
|
|
289
|
+
async function loadAccessToken(
|
|
290
|
+
request: SilentRequest,
|
|
291
|
+
response: ExternalTokenResponse,
|
|
292
|
+
homeAccountId: string,
|
|
293
|
+
environment: string,
|
|
294
|
+
tenantId: string,
|
|
295
|
+
kmsi: boolean,
|
|
296
|
+
options: LoadTokenOptions,
|
|
297
|
+
correlationId: string,
|
|
298
|
+
storage: BrowserCacheManager,
|
|
299
|
+
logger: Logger,
|
|
300
|
+
clientId: string
|
|
301
|
+
): Promise<AccessTokenEntity | null> {
|
|
302
|
+
if (!response.access_token) {
|
|
303
|
+
logger.verbose(
|
|
304
|
+
"TokenCache - no access token found in response",
|
|
305
|
+
correlationId
|
|
235
306
|
);
|
|
236
|
-
return
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
* @param idToken
|
|
242
|
-
* @param homeAccountId
|
|
243
|
-
* @param environment
|
|
244
|
-
* @param tenantId
|
|
245
|
-
* @returns `IdTokenEntity`
|
|
246
|
-
*/
|
|
247
|
-
private async loadIdToken(
|
|
248
|
-
response: ExternalTokenResponse,
|
|
249
|
-
homeAccountId: string,
|
|
250
|
-
environment: string,
|
|
251
|
-
tenantId: string,
|
|
252
|
-
correlationId: string,
|
|
253
|
-
kmsi: boolean
|
|
254
|
-
): Promise<IdTokenEntity | null> {
|
|
255
|
-
if (!response.id_token) {
|
|
256
|
-
this.logger.verbose("TokenCache - no id token found in response");
|
|
257
|
-
return null;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
this.logger.verbose("TokenCache - loading id token");
|
|
261
|
-
const idTokenEntity = CacheHelpers.createIdTokenEntity(
|
|
262
|
-
homeAccountId,
|
|
263
|
-
environment,
|
|
264
|
-
response.id_token,
|
|
265
|
-
this.config.auth.clientId,
|
|
266
|
-
tenantId
|
|
307
|
+
return null;
|
|
308
|
+
} else if (!response.expires_in) {
|
|
309
|
+
logger.error(
|
|
310
|
+
"TokenCache - no expiration set on the access token. Cannot add it to the cache.",
|
|
311
|
+
correlationId
|
|
267
312
|
);
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
313
|
+
return null;
|
|
314
|
+
} else if (!response.scope && (!request.scopes || !request.scopes.length)) {
|
|
315
|
+
logger.error(
|
|
316
|
+
"TokenCache - scopes not specified in the request or response. Cannot add token to the cache.",
|
|
317
|
+
correlationId
|
|
273
318
|
);
|
|
274
|
-
return
|
|
319
|
+
return null;
|
|
275
320
|
}
|
|
276
321
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
) {
|
|
310
|
-
this.logger.error(
|
|
311
|
-
"TokenCache - scopes not specified in the request or response. Cannot add token to the cache."
|
|
312
|
-
);
|
|
313
|
-
return null;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
this.logger.verbose("TokenCache - loading access token");
|
|
317
|
-
|
|
318
|
-
const scopes = response.scope
|
|
319
|
-
? ScopeSet.fromString(response.scope)
|
|
320
|
-
: new ScopeSet(request.scopes);
|
|
321
|
-
const expiresOn =
|
|
322
|
-
options.expiresOn || response.expires_in + TimeUtils.nowSeconds();
|
|
323
|
-
|
|
324
|
-
const extendedExpiresOn =
|
|
325
|
-
options.extendedExpiresOn ||
|
|
326
|
-
(response.ext_expires_in || response.expires_in) +
|
|
327
|
-
TimeUtils.nowSeconds();
|
|
328
|
-
|
|
329
|
-
const accessTokenEntity = CacheHelpers.createAccessTokenEntity(
|
|
330
|
-
homeAccountId,
|
|
331
|
-
environment,
|
|
332
|
-
response.access_token,
|
|
333
|
-
this.config.auth.clientId,
|
|
334
|
-
tenantId,
|
|
335
|
-
scopes.printScopes(),
|
|
336
|
-
expiresOn,
|
|
337
|
-
extendedExpiresOn,
|
|
338
|
-
base64Decode
|
|
339
|
-
);
|
|
322
|
+
logger.verbose("TokenCache - loading access token", correlationId);
|
|
323
|
+
|
|
324
|
+
const scopes = response.scope
|
|
325
|
+
? ScopeSet.fromString(response.scope)
|
|
326
|
+
: new ScopeSet(request.scopes);
|
|
327
|
+
const expiresOn =
|
|
328
|
+
options.expiresOn || response.expires_in + TimeUtils.nowSeconds();
|
|
329
|
+
|
|
330
|
+
const extendedExpiresOn =
|
|
331
|
+
options.extendedExpiresOn ||
|
|
332
|
+
(response.ext_expires_in || response.expires_in) +
|
|
333
|
+
TimeUtils.nowSeconds();
|
|
334
|
+
|
|
335
|
+
const accessTokenEntity = CacheHelpers.createAccessTokenEntity(
|
|
336
|
+
homeAccountId,
|
|
337
|
+
environment,
|
|
338
|
+
response.access_token,
|
|
339
|
+
clientId,
|
|
340
|
+
tenantId,
|
|
341
|
+
scopes.printScopes(),
|
|
342
|
+
expiresOn,
|
|
343
|
+
extendedExpiresOn,
|
|
344
|
+
base64Decode
|
|
345
|
+
);
|
|
346
|
+
|
|
347
|
+
await storage.setAccessTokenCredential(
|
|
348
|
+
accessTokenEntity,
|
|
349
|
+
correlationId,
|
|
350
|
+
kmsi
|
|
351
|
+
);
|
|
352
|
+
return accessTokenEntity;
|
|
353
|
+
}
|
|
340
354
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
355
|
+
/**
|
|
356
|
+
* Helper function to load refresh tokens to msal-browser cache
|
|
357
|
+
* @param request
|
|
358
|
+
* @param response
|
|
359
|
+
* @param homeAccountId
|
|
360
|
+
* @param environment
|
|
361
|
+
* @returns `RefreshTokenEntity`
|
|
362
|
+
*/
|
|
363
|
+
async function loadRefreshToken(
|
|
364
|
+
response: ExternalTokenResponse,
|
|
365
|
+
homeAccountId: string,
|
|
366
|
+
environment: string,
|
|
367
|
+
kmsi: boolean,
|
|
368
|
+
correlationId: string,
|
|
369
|
+
storage: BrowserCacheManager,
|
|
370
|
+
logger: Logger,
|
|
371
|
+
clientId: string
|
|
372
|
+
): Promise<RefreshTokenEntity | null> {
|
|
373
|
+
if (!response.refresh_token) {
|
|
374
|
+
logger.verbose(
|
|
375
|
+
"TokenCache - no refresh token found in response",
|
|
376
|
+
correlationId
|
|
345
377
|
);
|
|
346
|
-
return
|
|
378
|
+
return null;
|
|
347
379
|
}
|
|
348
380
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
);
|
|
368
|
-
return null;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
this.logger.verbose("TokenCache - loading refresh token");
|
|
372
|
-
const refreshTokenEntity = CacheHelpers.createRefreshTokenEntity(
|
|
373
|
-
homeAccountId,
|
|
374
|
-
environment,
|
|
375
|
-
response.refresh_token,
|
|
376
|
-
this.config.auth.clientId,
|
|
377
|
-
response.foci,
|
|
378
|
-
undefined, // userAssertionHash
|
|
379
|
-
response.refresh_token_expires_in
|
|
380
|
-
);
|
|
381
|
+
logger.verbose("TokenCache - loading refresh token", correlationId);
|
|
382
|
+
const refreshTokenEntity = CacheHelpers.createRefreshTokenEntity(
|
|
383
|
+
homeAccountId,
|
|
384
|
+
environment,
|
|
385
|
+
response.refresh_token,
|
|
386
|
+
clientId,
|
|
387
|
+
response.foci,
|
|
388
|
+
undefined, // userAssertionHash
|
|
389
|
+
response.refresh_token_expires_in
|
|
390
|
+
);
|
|
391
|
+
|
|
392
|
+
await storage.setRefreshTokenCredential(
|
|
393
|
+
refreshTokenEntity,
|
|
394
|
+
correlationId,
|
|
395
|
+
kmsi
|
|
396
|
+
);
|
|
397
|
+
return refreshTokenEntity;
|
|
398
|
+
}
|
|
381
399
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
400
|
+
/**
|
|
401
|
+
* Helper function to generate an `AuthenticationResult` for the result.
|
|
402
|
+
* @param request
|
|
403
|
+
* @param idTokenObj
|
|
404
|
+
* @param cacheRecord
|
|
405
|
+
* @param authority
|
|
406
|
+
* @returns `AuthenticationResult`
|
|
407
|
+
*/
|
|
408
|
+
function generateAuthenticationResult(
|
|
409
|
+
request: SilentRequest,
|
|
410
|
+
cacheRecord: CacheRecord & { account: AccountEntity },
|
|
411
|
+
idTokenClaims?: TokenClaims,
|
|
412
|
+
authority?: Authority
|
|
413
|
+
): AuthenticationResult {
|
|
414
|
+
let accessToken: string = "";
|
|
415
|
+
let responseScopes: Array<string> = [];
|
|
416
|
+
let expiresOn: Date | null = null;
|
|
417
|
+
let extExpiresOn: Date | undefined;
|
|
418
|
+
|
|
419
|
+
if (cacheRecord?.accessToken) {
|
|
420
|
+
accessToken = cacheRecord.accessToken.secret;
|
|
421
|
+
responseScopes = ScopeSet.fromString(
|
|
422
|
+
cacheRecord.accessToken.target
|
|
423
|
+
).asArray();
|
|
424
|
+
// Access token expiresOn stored in seconds, converting to Date for AuthenticationResult
|
|
425
|
+
expiresOn = TimeUtils.toDateFromSeconds(
|
|
426
|
+
cacheRecord.accessToken.expiresOn
|
|
427
|
+
);
|
|
428
|
+
extExpiresOn = TimeUtils.toDateFromSeconds(
|
|
429
|
+
cacheRecord.accessToken.extendedExpiresOn
|
|
386
430
|
);
|
|
387
|
-
return refreshTokenEntity;
|
|
388
431
|
}
|
|
389
432
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
).asArray();
|
|
414
|
-
// Access token expiresOn stored in seconds, converting to Date for AuthenticationResult
|
|
415
|
-
expiresOn = TimeUtils.toDateFromSeconds(
|
|
416
|
-
cacheRecord.accessToken.expiresOn
|
|
417
|
-
);
|
|
418
|
-
extExpiresOn = TimeUtils.toDateFromSeconds(
|
|
419
|
-
cacheRecord.accessToken.extendedExpiresOn
|
|
420
|
-
);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
const accountEntity = cacheRecord.account;
|
|
424
|
-
|
|
425
|
-
return {
|
|
426
|
-
authority: authority ? authority.canonicalAuthority : "",
|
|
427
|
-
uniqueId: cacheRecord.account.localAccountId,
|
|
428
|
-
tenantId: cacheRecord.account.realm,
|
|
429
|
-
scopes: responseScopes,
|
|
430
|
-
account: AccountEntity.getAccountInfo(accountEntity),
|
|
431
|
-
idToken: cacheRecord.idToken?.secret || "",
|
|
432
|
-
idTokenClaims: idTokenClaims || {},
|
|
433
|
-
accessToken: accessToken,
|
|
434
|
-
fromCache: true,
|
|
435
|
-
expiresOn: expiresOn,
|
|
436
|
-
correlationId: request.correlationId || "",
|
|
437
|
-
requestId: "",
|
|
438
|
-
extExpiresOn: extExpiresOn,
|
|
439
|
-
familyId: cacheRecord.refreshToken?.familyId || "",
|
|
440
|
-
tokenType: cacheRecord?.accessToken?.tokenType || "",
|
|
441
|
-
state: request.state || "",
|
|
442
|
-
cloudGraphHostName: accountEntity.cloudGraphHostName || "",
|
|
443
|
-
msGraphHost: accountEntity.msGraphHost || "",
|
|
444
|
-
fromNativeBroker: false,
|
|
445
|
-
};
|
|
446
|
-
}
|
|
433
|
+
const accountEntity = cacheRecord.account;
|
|
434
|
+
|
|
435
|
+
return {
|
|
436
|
+
authority: authority ? authority.canonicalAuthority : "",
|
|
437
|
+
uniqueId: cacheRecord.account.localAccountId,
|
|
438
|
+
tenantId: cacheRecord.account.realm,
|
|
439
|
+
scopes: responseScopes,
|
|
440
|
+
account: AccountEntityUtils.getAccountInfo(accountEntity),
|
|
441
|
+
idToken: cacheRecord.idToken?.secret || "",
|
|
442
|
+
idTokenClaims: idTokenClaims || {},
|
|
443
|
+
accessToken: accessToken,
|
|
444
|
+
fromCache: true,
|
|
445
|
+
expiresOn: expiresOn,
|
|
446
|
+
correlationId: request.correlationId || "",
|
|
447
|
+
requestId: "",
|
|
448
|
+
extExpiresOn: extExpiresOn,
|
|
449
|
+
familyId: cacheRecord.refreshToken?.familyId || "",
|
|
450
|
+
tokenType: cacheRecord?.accessToken?.tokenType || "",
|
|
451
|
+
state: request.state || "",
|
|
452
|
+
cloudGraphHostName: accountEntity.cloudGraphHostName || "",
|
|
453
|
+
msGraphHost: accountEntity.msGraphHost || "",
|
|
454
|
+
fromPlatformBroker: false,
|
|
455
|
+
};
|
|
447
456
|
}
|