@azure/msal-browser 5.6.3 → 5.8.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 +0 -1
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +2 -3
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +2 -2
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +6 -6
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.d.ts +3 -2
- package/dist/cache/CacheKeys.d.ts.map +1 -1
- package/dist/cache/CacheKeys.mjs +5 -4
- 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/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.d.ts +7 -0
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +2 -1
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts +16 -0
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +174 -25
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +2 -3
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +2 -2
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +6 -6
- 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.d.ts +3 -2
- package/dist/custom-auth-path/cache/CacheKeys.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +5 -4
- 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/LocalStorage.mjs +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/config/Configuration.d.ts +7 -0
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +2 -1
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +16 -0
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +174 -25
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +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/UserAccountAttributes.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +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 +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.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +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.mjs +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.mjs +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.mjs +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.mjs +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.mjs +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 +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.mjs +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 +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 +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.mjs +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.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +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 +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 +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +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 +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +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 +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.mjs +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.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +3 -4
- package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +3 -3
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +48 -29
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +6 -2
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +6 -2
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +14 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +45 -3
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +49 -17
- 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.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +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 +5 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
- package/dist/custom-auth-path/redirect_bridge/index.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +3 -2
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +6 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +8 -3
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.d.ts.map +1 -1
- package/dist/error/NativeAuthError.mjs +3 -4
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +3 -3
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +48 -29
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +6 -2
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +6 -2
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts +14 -0
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +45 -3
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +49 -17
- 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.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +5 -1
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.d.ts +3 -2
- package/dist/redirect-bridge/cache/CacheKeys.d.ts.map +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
- package/dist/redirect-bridge/config/Configuration.d.ts +7 -0
- package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/controllers/StandardController.d.ts +16 -0
- package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/redirect-bridge/error/NativeAuthError.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +3 -3
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts +14 -0
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
- package/dist/redirect-bridge/protocol/Authorize.d.ts.map +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.d.ts.map +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +11 -7
- package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +6 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +7 -3
- package/dist/redirect-bridge/utils/BrowserConstants.mjs.map +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
- package/dist/redirect_bridge/index.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +1 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +3 -2
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +6 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +10 -3
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +49 -17
- package/lib/custom-auth-path/msal-custom-auth.cjs +418 -164
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +2 -4
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +3 -2
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +7 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +16 -0
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +3 -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.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +14 -0
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +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.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +6 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/lib/log-strings-mapping.json +49 -17
- package/lib/msal-browser.cjs +427 -169
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +427 -169
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +734 -0
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -0
- package/lib/redirect-bridge/msal-redirect-bridge.js +24 -16
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts +48 -0
- package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts +247 -0
- package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts +79 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/AccountManager.d.ts +24 -0
- package/lib/redirect-bridge/types/cache/AccountManager.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts +58 -0
- package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts +364 -0
- package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts +16 -0
- package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CacheKeys.d.ts +15 -0
- package/lib/redirect-bridge/types/cache/CacheKeys.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CookieStorage.d.ts +23 -0
- package/lib/redirect-bridge/types/cache/CookieStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts +57 -0
- package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/EncryptedData.d.ts +8 -0
- package/lib/redirect-bridge/types/cache/EncryptedData.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts +33 -0
- package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts +42 -0
- package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/LocalStorage.d.ts +51 -0
- package/lib/redirect-bridge/types/cache/LocalStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts +16 -0
- package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/SessionStorage.d.ts +14 -0
- package/lib/redirect-bridge/types/cache/SessionStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/TokenCache.d.ts +20 -0
- package/lib/redirect-bridge/types/cache/TokenCache.d.ts.map +1 -0
- package/lib/redirect-bridge/types/config/Configuration.d.ts +198 -0
- package/lib/redirect-bridge/types/config/Configuration.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/IController.d.ts +3 -0
- package/lib/redirect-bridge/types/controllers/IController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts +159 -0
- package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/StandardController.d.ts +398 -0
- package/lib/redirect-bridge/types/controllers/StandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts +73 -0
- package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts +96 -0
- package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts +77 -0
- package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts +9 -0
- package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts +32 -0
- package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/index.d.ts +84 -0
- package/lib/redirect-bridge/types/custom_auth/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/encode/Base64Decode.d.ts +15 -0
- package/lib/redirect-bridge/types/encode/Base64Decode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/encode/Base64Encode.d.ts +20 -0
- package/lib/redirect-bridge/types/encode/Base64Encode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts +12 -0
- package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts +53 -0
- package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts +11 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NativeAuthError.d.ts +27 -0
- package/lib/redirect-bridge/types/error/NativeAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts +5 -0
- package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts +6 -0
- package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventHandler.d.ts +49 -0
- package/lib/redirect-bridge/types/event/EventHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventMessage.d.ts +41 -0
- package/lib/redirect-bridge/types/event/EventMessage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventType.d.ts +24 -0
- package/lib/redirect-bridge/types/event/EventType.d.ts.map +1 -0
- package/lib/redirect-bridge/types/index.d.ts +73 -0
- package/lib/redirect-bridge/types/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts +77 -0
- package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
- package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts +106 -0
- package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts +77 -0
- package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts +17 -0
- package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts +57 -0
- package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts +76 -0
- package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts +33 -0
- package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts +17 -0
- package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AccountInfo.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/AccountInfo.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AuthBridge.d.ts +9 -0
- package/lib/redirect-bridge/types/naa/AuthBridge.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AuthResult.d.ts +7 -0
- package/lib/redirect-bridge/types/naa/AuthResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts +4 -0
- package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeError.d.ts +10 -0
- package/lib/redirect-bridge/types/naa/BridgeError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts +69 -0
- package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts +8 -0
- package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts +12 -0
- package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts +11 -0
- package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/InitContext.d.ts +9 -0
- package/lib/redirect-bridge/types/naa/InitContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/TokenRequest.d.ts +21 -0
- package/lib/redirect-bridge/types/naa/TokenRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/TokenResponse.d.ts +14 -0
- package/lib/redirect-bridge/types/naa/TokenResponse.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts +17 -0
- package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts +23 -0
- package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts +13 -0
- package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts.map +1 -0
- package/lib/redirect-bridge/types/network/FetchClient.d.ts +21 -0
- package/lib/redirect-bridge/types/network/FetchClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts +43 -0
- package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
- package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/packageMetadata.d.ts +3 -0
- package/lib/redirect-bridge/types/packageMetadata.d.ts.map +1 -0
- package/lib/redirect-bridge/types/protocol/Authorize.d.ts +102 -0
- package/lib/redirect-bridge/types/protocol/Authorize.d.ts.map +1 -0
- package/lib/redirect-bridge/types/redirect_bridge/index.d.ts +16 -0
- package/lib/redirect-bridge/types/redirect_bridge/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts +27 -0
- package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts +15 -0
- package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts +24 -0
- package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts +11 -0
- package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts +10 -0
- package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/PopupRequest.d.ts +25 -0
- package/lib/redirect-bridge/types/request/PopupRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts +16 -0
- package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/RedirectRequest.d.ts +16 -0
- package/lib/redirect-bridge/types/request/RedirectRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/RequestHelpers.d.ts +28 -0
- package/lib/redirect-bridge/types/request/RequestHelpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/SilentRequest.d.ts +52 -0
- package/lib/redirect-bridge/types/request/SilentRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts +6 -0
- package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts +5 -0
- package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/response/ResponseHandler.d.ts +8 -0
- package/lib/redirect-bridge/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts +19 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts +140 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts +42 -0
- package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts +182 -0
- package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts +12 -0
- package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts +111 -0
- package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/Helpers.d.ts +7 -0
- package/lib/redirect-bridge/types/utils/Helpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts +13 -0
- package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +2 -4
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/CacheKeys.d.ts +3 -2
- package/lib/types/cache/CacheKeys.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +7 -0
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +16 -0
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/lib/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +3 -3
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts +14 -0
- package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/redirect_bridge/index.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +1 -0
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +6 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +1 -1
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +1 -1
- package/src/cache/BrowserCacheManager.ts +5 -5
- package/src/cache/CacheKeys.ts +3 -2
- package/src/config/Configuration.ts +8 -0
- package/src/controllers/StandardController.ts +290 -39
- package/src/custom_auth/UserAccountAttributes.ts +1 -0
- package/src/error/NativeAuthError.ts +1 -2
- package/src/interaction_client/PlatformAuthInteractionClient.ts +82 -37
- package/src/interaction_client/PopupClient.ts +10 -0
- package/src/interaction_client/RedirectClient.ts +10 -0
- package/src/interaction_client/SilentIframeClient.ts +123 -20
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +8 -0
- package/src/redirect_bridge/index.ts +12 -5
- package/src/telemetry/BrowserPerformanceEvents.ts +3 -0
- package/src/telemetry/BrowserRootPerformanceEvents.ts +7 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ICrypto, IPerformanceClient, Logger, ShrOptions, SignedHttpRequest, SignedHttpRequestParameters } from "@azure/msal-common/browser";
|
|
2
|
+
export type CachedKeyPair = {
|
|
3
|
+
publicKey: CryptoKey;
|
|
4
|
+
privateKey: CryptoKey;
|
|
5
|
+
requestMethod?: string;
|
|
6
|
+
requestUri?: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* This class implements MSAL's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
|
|
10
|
+
* implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
|
|
11
|
+
*/
|
|
12
|
+
export declare class CryptoOps implements ICrypto {
|
|
13
|
+
private logger;
|
|
14
|
+
/**
|
|
15
|
+
* CryptoOps can be used in contexts outside a PCA instance,
|
|
16
|
+
* meaning there won't be a performance manager available.
|
|
17
|
+
*/
|
|
18
|
+
private performanceClient;
|
|
19
|
+
private static POP_KEY_USAGES;
|
|
20
|
+
private static EXTRACTABLE;
|
|
21
|
+
private cache;
|
|
22
|
+
constructor(logger: Logger, performanceClient?: IPerformanceClient, skipValidateSubtleCrypto?: boolean);
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new random GUID - used to populate state and nonce.
|
|
25
|
+
* @returns string (GUID)
|
|
26
|
+
*/
|
|
27
|
+
createNewGuid(): string;
|
|
28
|
+
/**
|
|
29
|
+
* Encodes input string to base64.
|
|
30
|
+
* @param input
|
|
31
|
+
*/
|
|
32
|
+
base64Encode(input: string): string;
|
|
33
|
+
/**
|
|
34
|
+
* Decodes input string from base64.
|
|
35
|
+
* @param input
|
|
36
|
+
*/
|
|
37
|
+
base64Decode(input: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* Encodes input string to base64 URL safe string.
|
|
40
|
+
* @param input
|
|
41
|
+
*/
|
|
42
|
+
base64UrlEncode(input: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* Stringifies and base64Url encodes input public key
|
|
45
|
+
* @param inputKid
|
|
46
|
+
* @returns Base64Url encoded public key
|
|
47
|
+
*/
|
|
48
|
+
encodeKid(inputKid: string): string;
|
|
49
|
+
/**
|
|
50
|
+
* Generates a keypair, stores it and returns a thumbprint
|
|
51
|
+
* @param request
|
|
52
|
+
*/
|
|
53
|
+
getPublicKeyThumbprint(request: SignedHttpRequestParameters): Promise<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Removes cryptographic keypair from key store matching the keyId passed in
|
|
56
|
+
* @param kid
|
|
57
|
+
* @param correlationId
|
|
58
|
+
*/
|
|
59
|
+
removeTokenBindingKey(kid: string, correlationId: string): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Removes all cryptographic keys from IndexedDB storage
|
|
62
|
+
* @param correlationId
|
|
63
|
+
*/
|
|
64
|
+
clearKeystore(correlationId: string): Promise<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Signs the given object as a jwt payload with private key retrieved by given kid.
|
|
67
|
+
* @param payload
|
|
68
|
+
* @param kid
|
|
69
|
+
*/
|
|
70
|
+
signJwt(payload: SignedHttpRequest, kid: string, shrOptions?: ShrOptions, correlationId?: string): Promise<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the SHA-256 hash of an input string
|
|
73
|
+
* @param plainText
|
|
74
|
+
*/
|
|
75
|
+
hashString(plainText: string): Promise<string>;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=CryptoOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoOps.d.ts","sourceRoot":"","sources":["../../../../src/crypto/CryptoOps.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,OAAO,EACP,kBAAkB,EAElB,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,2BAA2B,EAC9B,MAAM,4BAA4B,CAAC;AAepC,MAAM,MAAM,aAAa,GAAG;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,qBAAa,SAAU,YAAW,OAAO;IACrC,OAAO,CAAC,MAAM,CAAS;IAEvB;;;OAGG;IACH,OAAO,CAAC,iBAAiB,CAAiC;IAE1D,OAAO,CAAC,MAAM,CAAC,cAAc,CAAuC;IACpE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAiB;IAC3C,OAAO,CAAC,KAAK,CAAoC;gBAG7C,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,kBAAkB,EACtC,wBAAwB,CAAC,EAAE,OAAO;IAWtC;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInC;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInC;;;OAGG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAItC;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAInC;;;OAGG;IACG,sBAAsB,CACxB,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,MAAM,CAAC;IAyDlB;;;;OAIG;IACG,qBAAqB,CACvB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC;IAUhB;;;OAGG;IACG,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IA4B5D;;;;OAIG;IACG,OAAO,CACT,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,UAAU,EACvB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC;IA6DlB;;;OAGG;IACG,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGvD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPerformanceClient, Logger, PkceCodes } from "@azure/msal-common/browser";
|
|
2
|
+
/**
|
|
3
|
+
* This file defines APIs to generate PKCE codes and code verifiers.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Generates PKCE Codes. See the RFC for more information: https://tools.ietf.org/html/rfc7636
|
|
7
|
+
*/
|
|
8
|
+
export declare function generatePkceCodes(performanceClient: IPerformanceClient, logger: Logger, correlationId: string): Promise<PkceCodes>;
|
|
9
|
+
//# sourceMappingURL=PkceGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PkceGenerator.d.ts","sourceRoot":"","sources":["../../../../src/crypto/PkceGenerator.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,kBAAkB,EAClB,MAAM,EACN,SAAS,EAGZ,MAAM,4BAA4B,CAAC;AAYpC;;GAEG;AAEH;;GAEG;AACH,wBAAsB,iBAAiB,CACnC,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,SAAS,CAAC,CAmBpB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LoggerOptions, SignedHttpRequestParameters } from "@azure/msal-common/browser";
|
|
2
|
+
export type SignedHttpRequestOptions = {
|
|
3
|
+
loggerOptions: LoggerOptions;
|
|
4
|
+
};
|
|
5
|
+
export declare class SignedHttpRequest {
|
|
6
|
+
private popTokenGenerator;
|
|
7
|
+
private cryptoOps;
|
|
8
|
+
private shrParameters;
|
|
9
|
+
private logger;
|
|
10
|
+
constructor(shrParameters: SignedHttpRequestParameters, shrOptions?: SignedHttpRequestOptions);
|
|
11
|
+
/**
|
|
12
|
+
* Generates and caches a keypair for the given request options.
|
|
13
|
+
* @returns Public key digest, which should be sent to the token issuer.
|
|
14
|
+
*/
|
|
15
|
+
generatePublicKeyThumbprint(): Promise<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Generates a signed http request for the given payload with the given key.
|
|
18
|
+
* @param payload Payload to sign (e.g. access token)
|
|
19
|
+
* @param publicKeyThumbprint Public key digest (from generatePublicKeyThumbprint API)
|
|
20
|
+
* @param claims Additional claims to include/override in the signed JWT
|
|
21
|
+
* @returns Pop token signed with the corresponding private key
|
|
22
|
+
*/
|
|
23
|
+
signRequest(payload: string, publicKeyThumbprint: string, claims?: object): Promise<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Removes cached keys from browser for given public key thumbprint
|
|
26
|
+
* @param publicKeyThumbprint Public key digest (from generatePublicKeyThumbprint API)
|
|
27
|
+
* @param correlationId
|
|
28
|
+
* @returns If keys are properly deleted
|
|
29
|
+
*/
|
|
30
|
+
removeKeys(publicKeyThumbprint: string, correlationId: string): Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=SignedHttpRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignedHttpRequest.d.ts","sourceRoot":"","sources":["../../../../src/crypto/SignedHttpRequest.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,aAAa,EAEb,2BAA2B,EAE9B,MAAM,4BAA4B,CAAC;AAGpC,MAAM,MAAM,wBAAwB,GAAG;IACnC,aAAa,EAAE,aAAa,CAAC;CAChC,CAAC;AAEF,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,SAAS,CAAY;IAC7B,OAAO,CAAC,aAAa,CAA8B;IACnD,OAAO,CAAC,MAAM,CAAS;gBAGnB,aAAa,EAAE,2BAA2B,EAC1C,UAAU,CAAC,EAAE,wBAAwB;IAYzC;;;OAGG;IACG,2BAA2B,IAAI,OAAO,CAAC,MAAM,CAAC;IAQpD;;;;;;OAMG;IACG,WAAW,CACb,OAAO,EAAE,MAAM,EACf,mBAAmB,EAAE,MAAM,EAC3B,MAAM,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC;IASlB;;;;;OAKG;IACG,UAAU,CACZ,mBAAmB,EAAE,MAAM,EAC3B,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC;CAMnB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UserAccountAttributes } from "./UserAccountAttributes.js";
|
|
2
|
+
export type CustomAuthActionInputs = {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
};
|
|
5
|
+
export type AccountRetrievalInputs = CustomAuthActionInputs;
|
|
6
|
+
export type SignInInputs = CustomAuthActionInputs & {
|
|
7
|
+
username: string;
|
|
8
|
+
password?: string;
|
|
9
|
+
scopes?: Array<string>;
|
|
10
|
+
claims?: string;
|
|
11
|
+
};
|
|
12
|
+
export type SignUpInputs = CustomAuthActionInputs & {
|
|
13
|
+
username: string;
|
|
14
|
+
password?: string;
|
|
15
|
+
attributes?: UserAccountAttributes;
|
|
16
|
+
};
|
|
17
|
+
export type ResetPasswordInputs = CustomAuthActionInputs & {
|
|
18
|
+
username: string;
|
|
19
|
+
};
|
|
20
|
+
export type AccessTokenRetrievalInputs = {
|
|
21
|
+
forceRefresh: boolean;
|
|
22
|
+
scopes?: Array<string>;
|
|
23
|
+
claims?: string;
|
|
24
|
+
};
|
|
25
|
+
export type SignInWithContinuationTokenInputs = {
|
|
26
|
+
scopes?: Array<string>;
|
|
27
|
+
claims?: string;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=CustomAuthActionInputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthActionInputs.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/CustomAuthActionInputs.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,MAAM,sBAAsB,GAAG;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG,sBAAsB,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,sBAAsB,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,GAAG;IACvD,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC5C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const GrantType: {
|
|
2
|
+
readonly PASSWORD: "password";
|
|
3
|
+
readonly OOB: "oob";
|
|
4
|
+
readonly CONTINUATION_TOKEN: "continuation_token";
|
|
5
|
+
readonly REDIRECT: "redirect";
|
|
6
|
+
readonly ATTRIBUTES: "attributes";
|
|
7
|
+
readonly MFA_OOB: "mfa_oob";
|
|
8
|
+
};
|
|
9
|
+
export declare const ChallengeType: {
|
|
10
|
+
readonly PASSWORD: "password";
|
|
11
|
+
readonly OOB: "oob";
|
|
12
|
+
readonly REDIRECT: "redirect";
|
|
13
|
+
readonly PREVERIFIED: "preverified";
|
|
14
|
+
};
|
|
15
|
+
export declare const DefaultScopes: readonly ["openid", "profile", "offline_access"];
|
|
16
|
+
export declare const HttpHeaderKeys: {
|
|
17
|
+
readonly CONTENT_TYPE: "Content-Type";
|
|
18
|
+
readonly X_MS_REQUEST_ID: "x-ms-request-id";
|
|
19
|
+
};
|
|
20
|
+
export declare const DefaultPackageInfo: {
|
|
21
|
+
readonly SKU: "msal.browser";
|
|
22
|
+
readonly VERSION: "5.8.0";
|
|
23
|
+
readonly OS: "";
|
|
24
|
+
readonly CPU: "";
|
|
25
|
+
};
|
|
26
|
+
export declare const ResetPasswordPollStatus: {
|
|
27
|
+
readonly IN_PROGRESS: "in_progress";
|
|
28
|
+
readonly SUCCEEDED: "succeeded";
|
|
29
|
+
readonly FAILED: "failed";
|
|
30
|
+
readonly NOT_STARTED: "not_started";
|
|
31
|
+
};
|
|
32
|
+
export declare const DefaultCustomAuthApiCodeLength = -1;
|
|
33
|
+
export declare const DefaultCustomAuthApiCodeResendIntervalInSec = 300;
|
|
34
|
+
export declare const PasswordResetPollingTimeoutInMs = 300000;
|
|
35
|
+
//# sourceMappingURL=CustomAuthConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthConstants.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/CustomAuthConstants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,eAAO,MAAM,aAAa,kDAIhB,CAAC;AAEX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,2CAA2C,MAAM,CAAC;AAC/D,eAAO,MAAM,+BAA+B,SAAS,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { GetAccountResult } from "./get_account/auth_flow/result/GetAccountResult.js";
|
|
2
|
+
import { SignInResult } from "./sign_in/auth_flow/result/SignInResult.js";
|
|
3
|
+
import { SignUpResult } from "./sign_up/auth_flow/result/SignUpResult.js";
|
|
4
|
+
import { ICustomAuthPublicClientApplication } from "./ICustomAuthPublicClientApplication.js";
|
|
5
|
+
import { AccountRetrievalInputs, SignInInputs, SignUpInputs, ResetPasswordInputs } from "./CustomAuthActionInputs.js";
|
|
6
|
+
import { CustomAuthConfiguration } from "./configuration/CustomAuthConfiguration.js";
|
|
7
|
+
import { ResetPasswordStartResult } from "./reset_password/auth_flow/result/ResetPasswordStartResult.js";
|
|
8
|
+
import { PublicClientApplication } from "../app/PublicClientApplication.js";
|
|
9
|
+
export declare class CustomAuthPublicClientApplication extends PublicClientApplication implements ICustomAuthPublicClientApplication {
|
|
10
|
+
private readonly customAuthController;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a new instance of a PublicClientApplication with the given configuration and controller to start Native authentication flows
|
|
13
|
+
* @param {CustomAuthConfiguration} config - A configuration object for the PublicClientApplication instance
|
|
14
|
+
* @returns {Promise<ICustomAuthPublicClientApplication>} - A promise that resolves to a CustomAuthPublicClientApplication instance
|
|
15
|
+
*/
|
|
16
|
+
static create(config: CustomAuthConfiguration): Promise<ICustomAuthPublicClientApplication>;
|
|
17
|
+
private constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Gets the current account from the browser cache.
|
|
20
|
+
* @param {AccountRetrievalInputs} accountRetrievalInputs?:AccountRetrievalInputs
|
|
21
|
+
* @returns {GetAccountResult} - The result of the get account operation
|
|
22
|
+
*/
|
|
23
|
+
getCurrentAccount(accountRetrievalInputs?: AccountRetrievalInputs): GetAccountResult;
|
|
24
|
+
/**
|
|
25
|
+
* Initiates the sign-in flow.
|
|
26
|
+
* This method results in sign-in completion, or extra actions (password, code, etc.) required to complete the sign-in.
|
|
27
|
+
* Create result with error details if any exception thrown.
|
|
28
|
+
* @param {SignInInputs} signInInputs - Inputs for the sign-in flow
|
|
29
|
+
* @returns {Promise<SignInResult>} - A promise that resolves to SignInResult
|
|
30
|
+
*/
|
|
31
|
+
signIn(signInInputs: SignInInputs): Promise<SignInResult>;
|
|
32
|
+
/**
|
|
33
|
+
* Initiates the sign-up flow.
|
|
34
|
+
* This method results in sign-up completion, or extra actions (password, code, etc.) required to complete the sign-up.
|
|
35
|
+
* Create result with error details if any exception thrown.
|
|
36
|
+
* @param {SignUpInputs} signUpInputs
|
|
37
|
+
* @returns {Promise<SignUpResult>} - A promise that resolves to SignUpResult
|
|
38
|
+
*/
|
|
39
|
+
signUp(signUpInputs: SignUpInputs): Promise<SignUpResult>;
|
|
40
|
+
/**
|
|
41
|
+
* Initiates the reset password flow.
|
|
42
|
+
* This method results in triggering extra action (submit code) to complete the reset password.
|
|
43
|
+
* Create result with error details if any exception thrown.
|
|
44
|
+
* @param {ResetPasswordInputs} resetPasswordInputs - Inputs for the reset password flow
|
|
45
|
+
* @returns {Promise<ResetPasswordStartResult>} - A promise that resolves to ResetPasswordStartResult
|
|
46
|
+
*/
|
|
47
|
+
resetPassword(resetPasswordInputs: ResetPasswordInputs): Promise<ResetPasswordStartResult>;
|
|
48
|
+
/**
|
|
49
|
+
* Validates the configuration to ensure it is a valid CustomAuthConfiguration object.
|
|
50
|
+
* @param {CustomAuthConfiguration} config - The configuration object for the PublicClientApplication.
|
|
51
|
+
* @returns {void}
|
|
52
|
+
*/
|
|
53
|
+
private static validateConfig;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CustomAuthPublicClientApplication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthPublicClientApplication.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/CustomAuthPublicClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAG1E,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAGzG,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAO5E,qBAAa,iCACT,SAAQ,uBACR,YAAW,kCAAkC;IAE7C,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAgC;IAErE;;;;OAIG;WACU,MAAM,CACf,MAAM,EAAE,uBAAuB,GAChC,OAAO,CAAC,kCAAkC,CAAC;IAiB9C,OAAO;IASP;;;;OAIG;IACH,iBAAiB,CACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB;IAMnB;;;;;;OAMG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAIzD;;;;;;OAMG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAIzD;;;;;;OAMG;IACH,aAAa,CACT,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC;IAIpC;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;CAoChC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { GetAccountResult } from "./get_account/auth_flow/result/GetAccountResult.js";
|
|
2
|
+
import { SignInResult } from "./sign_in/auth_flow/result/SignInResult.js";
|
|
3
|
+
import { SignUpResult } from "./sign_up/auth_flow/result/SignUpResult.js";
|
|
4
|
+
import { AccountRetrievalInputs, ResetPasswordInputs, SignInInputs, SignUpInputs } from "./CustomAuthActionInputs.js";
|
|
5
|
+
import { ResetPasswordStartResult } from "./reset_password/auth_flow/result/ResetPasswordStartResult.js";
|
|
6
|
+
import { IPublicClientApplication } from "../app/IPublicClientApplication.js";
|
|
7
|
+
export interface ICustomAuthPublicClientApplication extends IPublicClientApplication {
|
|
8
|
+
/**
|
|
9
|
+
* Gets the current account from the cache.
|
|
10
|
+
* @param {AccountRetrievalInputs} accountRetrievalInputs - Inputs for getting the current cached account
|
|
11
|
+
* @returns {GetAccountResult} The result of the operation
|
|
12
|
+
*/
|
|
13
|
+
getCurrentAccount(accountRetrievalInputs?: AccountRetrievalInputs): GetAccountResult;
|
|
14
|
+
/**
|
|
15
|
+
* Initiates the sign-in flow.
|
|
16
|
+
* @param {SignInInputs} signInInputs - Inputs for the sign-in flow
|
|
17
|
+
* @returns {Promise<SignInResult>} A promise that resolves to SignInResult
|
|
18
|
+
*/
|
|
19
|
+
signIn(signInInputs: SignInInputs): Promise<SignInResult>;
|
|
20
|
+
/**
|
|
21
|
+
* Initiates the sign-up flow.
|
|
22
|
+
* @param {SignUpInputs} signUpInputs - Inputs for the sign-up flow
|
|
23
|
+
* @returns {Promise<SignUpResult>} A promise that resolves to SignUpResult
|
|
24
|
+
*/
|
|
25
|
+
signUp(signUpInputs: SignUpInputs): Promise<SignUpResult>;
|
|
26
|
+
/**
|
|
27
|
+
* Initiates the reset password flow.
|
|
28
|
+
* @param {ResetPasswordInputs} resetPasswordInputs - Inputs for the reset password flow
|
|
29
|
+
* @returns {Promise<ResetPasswordStartResult>} A promise that resolves to ResetPasswordStartResult
|
|
30
|
+
*/
|
|
31
|
+
resetPassword(resetPasswordInputs: ResetPasswordInputs): Promise<ResetPasswordStartResult>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=ICustomAuthPublicClientApplication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICustomAuthPublicClientApplication.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/ICustomAuthPublicClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EACH,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,MAAM,WAAW,kCACb,SAAQ,wBAAwB;IAChC;;;;OAIG;IACH,iBAAiB,CACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB,CAAC;IAEpB;;;;OAIG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAE1D;;;;OAIG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAE1D;;;;OAIG;IACH,aAAa,CACT,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type UserAccountAttributes = Record<string, string> & {
|
|
2
|
+
city?: string;
|
|
3
|
+
country?: string;
|
|
4
|
+
displayName?: string;
|
|
5
|
+
flatusername?: string;
|
|
6
|
+
givenName?: string;
|
|
7
|
+
jobTitle?: string;
|
|
8
|
+
postalCode?: string;
|
|
9
|
+
state?: string;
|
|
10
|
+
streetAddress?: string;
|
|
11
|
+
surname?: string;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=UserAccountAttributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserAccountAttributes.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/UserAccountAttributes.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BrowserConfiguration, Configuration } from "../../config/Configuration.js";
|
|
2
|
+
export type CustomAuthOptions = {
|
|
3
|
+
challengeTypes?: Array<string>;
|
|
4
|
+
authApiProxyUrl: string;
|
|
5
|
+
customAuthApiQueryParams?: Record<string, string>;
|
|
6
|
+
capabilities?: Array<string>;
|
|
7
|
+
};
|
|
8
|
+
export type CustomAuthConfiguration = Configuration & {
|
|
9
|
+
customAuth: CustomAuthOptions;
|
|
10
|
+
};
|
|
11
|
+
export type CustomAuthBrowserConfiguration = BrowserConfiguration & {
|
|
12
|
+
customAuth: CustomAuthOptions;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=CustomAuthConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/configuration/CustomAuthConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,oBAAoB,EACpB,aAAa,EAChB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG;IAClD,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,GAAG;IAChE,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GetAccountResult } from "../get_account/auth_flow/result/GetAccountResult.js";
|
|
2
|
+
import { SignInResult } from "../sign_in/auth_flow/result/SignInResult.js";
|
|
3
|
+
import { SignUpResult } from "../sign_up/auth_flow/result/SignUpResult.js";
|
|
4
|
+
import { AccountRetrievalInputs, SignInInputs, SignUpInputs, ResetPasswordInputs } from "../CustomAuthActionInputs.js";
|
|
5
|
+
import { CustomAuthOperatingContext } from "../operating_context/CustomAuthOperatingContext.js";
|
|
6
|
+
import { ICustomAuthStandardController } from "./ICustomAuthStandardController.js";
|
|
7
|
+
import { ResetPasswordStartResult } from "../reset_password/auth_flow/result/ResetPasswordStartResult.js";
|
|
8
|
+
import { ICustomAuthApiClient } from "../core/network_client/custom_auth_api/ICustomAuthApiClient.js";
|
|
9
|
+
import { StandardController } from "../../controllers/StandardController.js";
|
|
10
|
+
export declare class CustomAuthStandardController extends StandardController implements ICustomAuthStandardController {
|
|
11
|
+
private readonly signInClient;
|
|
12
|
+
private readonly signUpClient;
|
|
13
|
+
private readonly resetPasswordClient;
|
|
14
|
+
private readonly jitClient;
|
|
15
|
+
private readonly mfaClient;
|
|
16
|
+
private readonly cacheClient;
|
|
17
|
+
private readonly customAuthConfig;
|
|
18
|
+
private readonly authority;
|
|
19
|
+
constructor(operatingContext: CustomAuthOperatingContext, customAuthApiClient?: ICustomAuthApiClient);
|
|
20
|
+
getCurrentAccount(accountRetrievalInputs?: AccountRetrievalInputs): GetAccountResult;
|
|
21
|
+
signIn(signInInputs: SignInInputs): Promise<SignInResult>;
|
|
22
|
+
signUp(signUpInputs: SignUpInputs): Promise<SignUpResult>;
|
|
23
|
+
resetPassword(resetPasswordInputs: ResetPasswordInputs): Promise<ResetPasswordStartResult>;
|
|
24
|
+
private getCorrelationId;
|
|
25
|
+
private ensureUserNotSignedIn;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=CustomAuthStandardController.d.ts.map
|
package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EAEtB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAgB1G,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAmBtG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAK7E,qBAAa,4BACT,SAAQ,kBACR,YAAW,6BAA6B;IAExC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsB;IAC1D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAY;IACtC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA8B;IAC1D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;IAClE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;gBAQ5C,gBAAgB,EAAE,0BAA0B,EAC5C,mBAAmB,CAAC,EAAE,oBAAoB;IA+D9C,iBAAiB,CACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB;IAqCb,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAiOzD,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAkHzD,aAAa,CACf,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC;IAsDpC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;CAWhC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GetAccountResult } from "../get_account/auth_flow/result/GetAccountResult.js";
|
|
2
|
+
import { SignInResult } from "../sign_in/auth_flow/result/SignInResult.js";
|
|
3
|
+
import { SignUpResult } from "../sign_up/auth_flow/result/SignUpResult.js";
|
|
4
|
+
import { AccountRetrievalInputs, ResetPasswordInputs, SignInInputs, SignUpInputs } from "../CustomAuthActionInputs.js";
|
|
5
|
+
import { ResetPasswordStartResult } from "../reset_password/auth_flow/result/ResetPasswordStartResult.js";
|
|
6
|
+
import { IController } from "../../controllers/IController.js";
|
|
7
|
+
export interface ICustomAuthStandardController extends IController {
|
|
8
|
+
getCurrentAccount(accountRetrievalInputs?: AccountRetrievalInputs): GetAccountResult;
|
|
9
|
+
signIn(signInInputs: SignInInputs): Promise<SignInResult>;
|
|
10
|
+
signUp(signUpInputs: SignUpInputs): Promise<SignUpResult>;
|
|
11
|
+
resetPassword(resetPasswordInputs: ResetPasswordInputs): Promise<ResetPasswordStartResult>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ICustomAuthStandardController.d.ts.map
|
package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/controller/ICustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EACH,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAK/D,MAAM,WAAW,6BAA8B,SAAQ,WAAW;IAM9D,iBAAiB,CACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB,CAAC;IAOpB,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAO1D,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAO1D,aAAa,CACT,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Authority, INetworkModule, IPerformanceClient, Logger } from "@azure/msal-common/browser";
|
|
2
|
+
import { BrowserConfiguration } from "../../config/Configuration.js";
|
|
3
|
+
import { BrowserCacheManager } from "../../cache/BrowserCacheManager.js";
|
|
4
|
+
/**
|
|
5
|
+
* Authority class which can be used to create an authority object for Custom Auth features.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CustomAuthAuthority extends Authority {
|
|
8
|
+
private customAuthProxyDomain?;
|
|
9
|
+
/**
|
|
10
|
+
* Constructor for the Custom Auth Authority.
|
|
11
|
+
* @param authority - The authority URL for the authority.
|
|
12
|
+
* @param networkInterface - The network interface implementation to make requests.
|
|
13
|
+
* @param cacheManager - The cache manager.
|
|
14
|
+
* @param authorityOptions - The options for the authority.
|
|
15
|
+
* @param logger - The logger for the authority.
|
|
16
|
+
* @param customAuthProxyDomain - The custom auth proxy domain.
|
|
17
|
+
*/
|
|
18
|
+
constructor(authority: string, config: BrowserConfiguration, networkInterface: INetworkModule, cacheManager: BrowserCacheManager, logger: Logger, performanceClient: IPerformanceClient, customAuthProxyDomain?: string | undefined);
|
|
19
|
+
/**
|
|
20
|
+
* Gets the custom auth endpoint.
|
|
21
|
+
* The open id configuration doesn't have the correct endpoint for the auth APIs.
|
|
22
|
+
* We need to generate the endpoint manually based on the authority URL.
|
|
23
|
+
* @returns The custom auth endpoint
|
|
24
|
+
*/
|
|
25
|
+
getCustomAuthApiDomain(): string;
|
|
26
|
+
getPreferredCache(): string;
|
|
27
|
+
get tokenEndpoint(): string;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=CustomAuthAuthority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthAuthority.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/CustomAuthAuthority.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,SAAS,EAET,cAAc,EACd,kBAAkB,EAClB,MAAM,EACT,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,SAAS;IAiB1C,OAAO,CAAC,qBAAqB,CAAC;IAhBlC;;;;;;;;OAQG;gBAEC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,oBAAoB,EAC5B,gBAAgB,EAAE,cAAc,EAChC,YAAY,EAAE,mBAAmB,EACjC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EAC7B,qBAAqB,CAAC,oBAAQ;IAqD1C;;;;;OAKG;IACH,sBAAsB,IAAI,MAAM;IAUvB,iBAAiB,IAAI,MAAM;IAIpC,IAAa,aAAa,IAAI,MAAM,CAOnC;CACJ"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CustomAuthError } from "../error/CustomAuthError.js";
|
|
2
|
+
/**
|
|
3
|
+
* Base class for all auth flow errors.
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class AuthFlowErrorBase {
|
|
6
|
+
errorData: CustomAuthError;
|
|
7
|
+
constructor(errorData: CustomAuthError);
|
|
8
|
+
protected isUserNotFoundError(): boolean;
|
|
9
|
+
protected isUserInvalidError(): boolean;
|
|
10
|
+
protected isUnsupportedChallengeTypeError(): boolean;
|
|
11
|
+
protected isPasswordIncorrectError(): boolean;
|
|
12
|
+
protected isInvalidCodeError(): boolean;
|
|
13
|
+
protected isRedirectError(): boolean;
|
|
14
|
+
protected isInvalidNewPasswordError(): boolean;
|
|
15
|
+
protected isUserAlreadyExistsError(): boolean;
|
|
16
|
+
protected isAttributeRequiredError(): boolean;
|
|
17
|
+
protected isAttributeValidationFailedError(): boolean;
|
|
18
|
+
protected isNoCachedAccountFoundError(): boolean;
|
|
19
|
+
protected isTokenExpiredError(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @todo verify the password change required error can be detected once the MFA is in place.
|
|
22
|
+
* This error will be raised during signin and refresh tokens when calling /token endpoint.
|
|
23
|
+
*/
|
|
24
|
+
protected isPasswordResetRequiredError(): boolean;
|
|
25
|
+
protected isInvalidInputError(): boolean;
|
|
26
|
+
protected isVerificationContactBlockedError(): boolean;
|
|
27
|
+
}
|
|
28
|
+
export declare abstract class AuthActionErrorBase extends AuthFlowErrorBase {
|
|
29
|
+
/**
|
|
30
|
+
* Checks if the error is due to the expired continuation token.
|
|
31
|
+
* @returns {boolean} True if the error is due to the expired continuation token, false otherwise.
|
|
32
|
+
*/
|
|
33
|
+
isTokenExpired(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Check if client app supports the challenge type configured in Entra.
|
|
36
|
+
* @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
|
|
37
|
+
*/
|
|
38
|
+
isRedirectRequired(): boolean;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=AuthFlowErrorBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthFlowErrorBase.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;GAEG;AACH,8BAAsB,iBAAiB;IAChB,SAAS,EAAE,eAAe;gBAA1B,SAAS,EAAE,eAAe;IAE7C,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAIxC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAYvC,SAAS,CAAC,+BAA+B,IAAI,OAAO;IAYpD,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAa7C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAavC,SAAS,CAAC,eAAe,IAAI,OAAO;IAIpC,SAAS,CAAC,yBAAyB,IAAI,OAAO;IAiB9C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,gCAAgC,IAAI,OAAO;IAYrD,SAAS,CAAC,2BAA2B,IAAI,OAAO;IAIhD,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAOxC;;;OAGG;IACH,SAAS,CAAC,4BAA4B,IAAI,OAAO;IAQjD,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAQxC,SAAS,CAAC,iCAAiC,IAAI,OAAO;CAQzD;AAED,8BAAsB,mBAAoB,SAAQ,iBAAiB;IAC/D;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CustomAuthError } from "../error/CustomAuthError.js";
|
|
2
|
+
import { AuthFlowErrorBase } from "./AuthFlowErrorBase.js";
|
|
3
|
+
import { AuthFlowStateBase } from "./AuthFlowState.js";
|
|
4
|
+
export declare abstract class AuthFlowResultBase<TState extends AuthFlowStateBase, TError extends AuthFlowErrorBase, TData = void> {
|
|
5
|
+
state: TState;
|
|
6
|
+
data?: TData | undefined;
|
|
7
|
+
constructor(state: TState, data?: TData | undefined);
|
|
8
|
+
error?: TError;
|
|
9
|
+
protected static createErrorData(error: unknown): CustomAuthError;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AuthFlowResultBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthFlowResultBase.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowResultBase.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAQvD,8BAAsB,kBAAkB,CACpC,MAAM,SAAS,iBAAiB,EAChC,MAAM,SAAS,iBAAiB,EAChC,KAAK,GAAG,IAAI;IAOO,KAAK,EAAE,MAAM;IAAS,IAAI,CAAC;gBAA3B,KAAK,EAAE,MAAM,EAAS,IAAI,CAAC,mBAAO;IAKrD,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe;CA4BpE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CustomAuthBrowserConfiguration } from "../../configuration/CustomAuthConfiguration.js";
|
|
2
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
3
|
+
export interface AuthFlowActionRequiredStateParameters {
|
|
4
|
+
correlationId: string;
|
|
5
|
+
logger: Logger;
|
|
6
|
+
config: CustomAuthBrowserConfiguration;
|
|
7
|
+
continuationToken?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Base class for the state of an authentication flow.
|
|
11
|
+
*/
|
|
12
|
+
export declare abstract class AuthFlowStateBase {
|
|
13
|
+
/**
|
|
14
|
+
* The type of the state.
|
|
15
|
+
*/
|
|
16
|
+
abstract stateType: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Base class for the action requried state in an authentication flow.
|
|
20
|
+
*/
|
|
21
|
+
export declare abstract class AuthFlowActionRequiredStateBase<TParameter extends AuthFlowActionRequiredStateParameters> extends AuthFlowStateBase {
|
|
22
|
+
protected readonly stateParameters: TParameter;
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new instance of AuthFlowActionRequiredStateBase.
|
|
25
|
+
* @param stateParameters The parameters for the auth state.
|
|
26
|
+
*/
|
|
27
|
+
constructor(stateParameters: TParameter);
|
|
28
|
+
protected ensureCodeIsValid(code: string, codeLength: number): void;
|
|
29
|
+
protected ensurePasswordIsNotEmpty(password: string): void;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=AuthFlowState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthFlowState.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowState.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAIpD,MAAM,WAAW,qCAAqC;IAClD,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,8BAA8B,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,8BAAsB,iBAAiB;IACnC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,8BAAsB,+BAA+B,CACjD,UAAU,SAAS,qCAAqC,CAC1D,SAAQ,iBAAiB;IAKX,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,UAAU;IAJ1D;;;OAGG;gBAC4B,eAAe,EAAE,UAAU;IAS1D,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAiBnE,SAAS,CAAC,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAa7D"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const SIGN_IN_CODE_REQUIRED_STATE_TYPE = "SignInCodeRequiredState";
|
|
2
|
+
export declare const SIGN_IN_PASSWORD_REQUIRED_STATE_TYPE = "SignInPasswordRequiredState";
|
|
3
|
+
export declare const SIGN_IN_CONTINUATION_STATE_TYPE = "SignInContinuationState";
|
|
4
|
+
export declare const SIGN_IN_COMPLETED_STATE_TYPE = "SignInCompletedState";
|
|
5
|
+
export declare const SIGN_IN_FAILED_STATE_TYPE = "SignInFailedState";
|
|
6
|
+
export declare const SIGN_UP_CODE_REQUIRED_STATE_TYPE = "SignUpCodeRequiredState";
|
|
7
|
+
export declare const SIGN_UP_PASSWORD_REQUIRED_STATE_TYPE = "SignUpPasswordRequiredState";
|
|
8
|
+
export declare const SIGN_UP_ATTRIBUTES_REQUIRED_STATE_TYPE = "SignUpAttributesRequiredState";
|
|
9
|
+
export declare const SIGN_UP_COMPLETED_STATE_TYPE = "SignUpCompletedState";
|
|
10
|
+
export declare const SIGN_UP_FAILED_STATE_TYPE = "SignUpFailedState";
|
|
11
|
+
export declare const RESET_PASSWORD_CODE_REQUIRED_STATE_TYPE = "ResetPasswordCodeRequiredState";
|
|
12
|
+
export declare const RESET_PASSWORD_PASSWORD_REQUIRED_STATE_TYPE = "ResetPasswordPasswordRequiredState";
|
|
13
|
+
export declare const RESET_PASSWORD_COMPLETED_STATE_TYPE = "ResetPasswordCompletedState";
|
|
14
|
+
export declare const RESET_PASSWORD_FAILED_STATE_TYPE = "ResetPasswordFailedState";
|
|
15
|
+
export declare const GET_ACCOUNT_COMPLETED_STATE_TYPE = "GetAccountCompletedState";
|
|
16
|
+
export declare const GET_ACCOUNT_FAILED_STATE_TYPE = "GetAccountFailedState";
|
|
17
|
+
export declare const GET_ACCESS_TOKEN_COMPLETED_STATE_TYPE = "GetAccessTokenCompletedState";
|
|
18
|
+
export declare const GET_ACCESS_TOKEN_FAILED_STATE_TYPE = "GetAccessTokenFailedState";
|
|
19
|
+
export declare const SIGN_OUT_COMPLETED_STATE_TYPE = "SignOutCompletedState";
|
|
20
|
+
export declare const SIGN_OUT_FAILED_STATE_TYPE = "SignOutFailedState";
|
|
21
|
+
export declare const MFA_AWAITING_STATE_TYPE = "MfaAwaitingState";
|
|
22
|
+
export declare const MFA_VERIFICATION_REQUIRED_STATE_TYPE = "MfaVerificationRequiredState";
|
|
23
|
+
export declare const MFA_COMPLETED_STATE_TYPE = "MfaCompletedState";
|
|
24
|
+
export declare const MFA_FAILED_STATE_TYPE = "MfaFailedState";
|
|
25
|
+
export declare const AUTH_METHOD_REGISTRATION_REQUIRED_STATE_TYPE = "AuthMethodRegistrationRequiredState";
|
|
26
|
+
export declare const AUTH_METHOD_VERIFICATION_REQUIRED_STATE_TYPE = "AuthMethodVerificationRequiredState";
|
|
27
|
+
export declare const AUTH_METHOD_REGISTRATION_COMPLETED_STATE_TYPE = "AuthMethodRegistrationCompletedState";
|
|
28
|
+
export declare const AUTH_METHOD_REGISTRATION_FAILED_STATE_TYPE = "AuthMethodRegistrationFailedState";
|
|
29
|
+
//# sourceMappingURL=AuthFlowStateTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthFlowStateTypes.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/auth_flow/AuthFlowStateTypes.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gCAAgC,4BAA4B,CAAC;AAC1E,eAAO,MAAM,oCAAoC,gCAChB,CAAC;AAClC,eAAO,MAAM,+BAA+B,4BAA4B,CAAC;AACzE,eAAO,MAAM,4BAA4B,yBAAyB,CAAC;AACnE,eAAO,MAAM,yBAAyB,sBAAsB,CAAC;AAG7D,eAAO,MAAM,gCAAgC,4BAA4B,CAAC;AAC1E,eAAO,MAAM,oCAAoC,gCAChB,CAAC;AAClC,eAAO,MAAM,sCAAsC,kCAChB,CAAC;AACpC,eAAO,MAAM,4BAA4B,yBAAyB,CAAC;AACnE,eAAO,MAAM,yBAAyB,sBAAsB,CAAC;AAG7D,eAAO,MAAM,uCAAuC,mCAChB,CAAC;AACrC,eAAO,MAAM,2CAA2C,uCAChB,CAAC;AACzC,eAAO,MAAM,mCAAmC,gCACf,CAAC;AAClC,eAAO,MAAM,gCAAgC,6BAA6B,CAAC;AAG3E,eAAO,MAAM,gCAAgC,6BAA6B,CAAC;AAC3E,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AAGrE,eAAO,MAAM,qCAAqC,iCAChB,CAAC;AACnC,eAAO,MAAM,kCAAkC,8BAA8B,CAAC;AAG9E,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AACrE,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAG/D,eAAO,MAAM,uBAAuB,qBAAqB,CAAC;AAC1D,eAAO,MAAM,oCAAoC,iCACf,CAAC;AACnC,eAAO,MAAM,wBAAwB,sBAAsB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAGtD,eAAO,MAAM,4CAA4C,wCAChB,CAAC;AAC1C,eAAO,MAAM,4CAA4C,wCAChB,CAAC;AAC1C,eAAO,MAAM,6CAA6C,yCAChB,CAAC;AAC3C,eAAO,MAAM,0CAA0C,sCAChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AuthenticationMethod } from "../../network_client/custom_auth_api/types/ApiResponseTypes.js";
|
|
2
|
+
/**
|
|
3
|
+
* Details for an authentication method to be registered.
|
|
4
|
+
*/
|
|
5
|
+
export interface AuthMethodDetails {
|
|
6
|
+
/**
|
|
7
|
+
* The authentication method type to register.
|
|
8
|
+
*/
|
|
9
|
+
authMethodType: AuthenticationMethod;
|
|
10
|
+
/**
|
|
11
|
+
* The verification contact (email, phone number) for the authentication method.
|
|
12
|
+
*/
|
|
13
|
+
verificationContact: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AuthMethodDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodDetails.d.ts","sourceRoot":"","sources":["../../../../../../../src/custom_auth/core/auth_flow/jit/AuthMethodDetails.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAEtG;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,cAAc,EAAE,oBAAoB,CAAC;IAErC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AuthActionErrorBase } from "../../AuthFlowErrorBase.js";
|
|
2
|
+
/**
|
|
3
|
+
* Error that occurred during authentication method challenge request.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AuthMethodRegistrationChallengeMethodError extends AuthActionErrorBase {
|
|
6
|
+
/**
|
|
7
|
+
* Checks if the input for auth method registration is incorrect.
|
|
8
|
+
* @returns true if the input is incorrect, false otherwise.
|
|
9
|
+
*/
|
|
10
|
+
isInvalidInput(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Checks if the error is due to the verification contact (e.g., phone number or email) being blocked. Consider using a different email/phone number or a different authentication method.
|
|
13
|
+
* @returns true if the error is due to the verification contact being blocked, false otherwise.
|
|
14
|
+
*/
|
|
15
|
+
isVerificationContactBlocked(): boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Error that occurred during authentication method challenge submission.
|
|
19
|
+
*/
|
|
20
|
+
export declare class AuthMethodRegistrationSubmitChallengeError extends AuthActionErrorBase {
|
|
21
|
+
/**
|
|
22
|
+
* Checks if the submitted challenge code is incorrect.
|
|
23
|
+
* @returns true if the challenge code is incorrect, false otherwise.
|
|
24
|
+
*/
|
|
25
|
+
isIncorrectChallenge(): boolean;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=AuthMethodRegistrationError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthMethodRegistrationError.d.ts","sourceRoot":"","sources":["../../../../../../../../src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;GAEG;AACH,qBAAa,0CAA2C,SAAQ,mBAAmB;IAC/E;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,4BAA4B,IAAI,OAAO;CAG1C;AAED;;GAEG;AACH,qBAAa,0CAA2C,SAAQ,mBAAmB;IAC/E;;;OAGG;IACH,oBAAoB,IAAI,OAAO;CAGlC"}
|