@firebase/auth 0.21.1 → 0.21.2-20230131204242
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/CHANGELOG.md +13 -0
- package/dist/auth-public.d.ts +8 -4
- package/dist/auth.d.ts +8 -4
- package/dist/browser-cjs/index-888931f8.js +9642 -0
- package/dist/browser-cjs/index-888931f8.js.map +1 -0
- package/dist/browser-cjs/index.cordova.d.ts +32 -0
- package/dist/browser-cjs/index.d.ts +36 -0
- package/dist/browser-cjs/index.doc.d.ts +24 -0
- package/dist/browser-cjs/index.js +93 -0
- package/dist/browser-cjs/index.js.map +1 -0
- package/dist/browser-cjs/index.node.d.ts +17 -0
- package/dist/browser-cjs/index.rn.d.ts +32 -0
- package/dist/browser-cjs/index.shared.d.ts +19 -0
- package/dist/browser-cjs/index.webworker.d.ts +21 -0
- package/dist/browser-cjs/internal/index.d.ts +42 -0
- package/dist/browser-cjs/internal.js +667 -0
- package/dist/browser-cjs/internal.js.map +1 -0
- package/dist/browser-cjs/scripts/run_node_tests.d.ts +17 -0
- package/dist/browser-cjs/src/api/account_management/account.d.ts +59 -0
- package/dist/browser-cjs/src/api/account_management/account.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/account_management/email_and_password.d.ts +47 -0
- package/dist/browser-cjs/src/api/account_management/email_and_password.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/account_management/mfa.d.ts +69 -0
- package/dist/browser-cjs/src/api/account_management/mfa.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/account_management/profile.d.ts +29 -0
- package/dist/browser-cjs/src/api/account_management/profile.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/create_auth_uri.d.ts +26 -0
- package/dist/browser-cjs/src/api/authentication/create_auth_uri.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/custom_token.d.ts +26 -0
- package/dist/browser-cjs/src/api/authentication/custom_token.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/email_and_password.d.ts +76 -0
- package/dist/browser-cjs/src/api/authentication/email_and_password.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/email_link.d.ts +32 -0
- package/dist/browser-cjs/src/api/authentication/email_link.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/idp.d.ts +40 -0
- package/dist/browser-cjs/src/api/authentication/idp.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/mfa.d.ts +58 -0
- package/dist/browser-cjs/src/api/authentication/mfa.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/recaptcha.d.ts +18 -0
- package/dist/browser-cjs/src/api/authentication/recaptcha.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/sign_up.d.ts +29 -0
- package/dist/browser-cjs/src/api/authentication/sign_up.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/sms.d.ts +50 -0
- package/dist/browser-cjs/src/api/authentication/sms.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/authentication/token.d.ts +26 -0
- package/dist/browser-cjs/src/api/authentication/token.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/errors.d.ts +118 -0
- package/dist/browser-cjs/src/api/index.d.ts +69 -0
- package/dist/browser-cjs/src/api/index.test.d.ts +17 -0
- package/dist/browser-cjs/src/api/project_config/get_project_config.d.ts +25 -0
- package/dist/browser-cjs/src/api/project_config/get_project_config.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/action_code_url.d.ts +73 -0
- package/dist/browser-cjs/src/core/action_code_url.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/auth_event_manager.d.ts +34 -0
- package/dist/browser-cjs/src/core/auth/auth_event_manager.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/auth_impl.d.ts +110 -0
- package/dist/browser-cjs/src/core/auth/auth_impl.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/emulator.d.ts +42 -0
- package/dist/browser-cjs/src/core/auth/emulator.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/firebase_internal.d.ts +35 -0
- package/dist/browser-cjs/src/core/auth/firebase_internal.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/initialize.d.ts +46 -0
- package/dist/browser-cjs/src/core/auth/initialize.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/middleware.d.ts +25 -0
- package/dist/browser-cjs/src/core/auth/middleware.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/auth/register.d.ts +23 -0
- package/dist/browser-cjs/src/core/credentials/auth_credential.d.ts +75 -0
- package/dist/browser-cjs/src/core/credentials/email.d.ts +60 -0
- package/dist/browser-cjs/src/core/credentials/email.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/credentials/index.d.ts +23 -0
- package/dist/browser-cjs/src/core/credentials/oauth.d.ts +81 -0
- package/dist/browser-cjs/src/core/credentials/oauth.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/credentials/phone.d.ts +52 -0
- package/dist/browser-cjs/src/core/credentials/phone.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/credentials/saml.d.ts +52 -0
- package/dist/browser-cjs/src/core/credentials/saml.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/errors.d.ts +305 -0
- package/dist/browser-cjs/src/core/errors.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/index.d.ts +158 -0
- package/dist/browser-cjs/src/core/persistence/in_memory.d.ts +35 -0
- package/dist/browser-cjs/src/core/persistence/in_memory.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/persistence/index.d.ts +41 -0
- package/dist/browser-cjs/src/core/persistence/persistence_user_manager.d.ts +45 -0
- package/dist/browser-cjs/src/core/persistence/persistence_user_manager.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/email.d.ts +83 -0
- package/dist/browser-cjs/src/core/providers/email.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/facebook.d.ts +93 -0
- package/dist/browser-cjs/src/core/providers/facebook.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/federated.d.ts +64 -0
- package/dist/browser-cjs/src/core/providers/federated.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/github.d.ts +89 -0
- package/dist/browser-cjs/src/core/providers/github.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/google.d.ts +96 -0
- package/dist/browser-cjs/src/core/providers/google.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/oauth.d.ts +151 -0
- package/dist/browser-cjs/src/core/providers/oauth.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/saml.d.ts +62 -0
- package/dist/browser-cjs/src/core/providers/saml.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/providers/twitter.d.ts +103 -0
- package/dist/browser-cjs/src/core/providers/twitter.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/abstract_popup_redirect_operation.d.ts +44 -0
- package/dist/browser-cjs/src/core/strategies/abstract_popup_redirect_operation.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/action_code_settings.d.ts +19 -0
- package/dist/browser-cjs/src/core/strategies/action_code_settings.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/anonymous.d.ts +29 -0
- package/dist/browser-cjs/src/core/strategies/anonymous.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/credential.d.ts +58 -0
- package/dist/browser-cjs/src/core/strategies/credential.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/custom_token.d.ts +34 -0
- package/dist/browser-cjs/src/core/strategies/custom_token.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/email.d.ts +98 -0
- package/dist/browser-cjs/src/core/strategies/email.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/email_and_password.d.ts +126 -0
- package/dist/browser-cjs/src/core/strategies/email_and_password.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/email_link.d.ts +103 -0
- package/dist/browser-cjs/src/core/strategies/email_link.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/idp.d.ts +32 -0
- package/dist/browser-cjs/src/core/strategies/idp.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/strategies/redirect.d.ts +36 -0
- package/dist/browser-cjs/src/core/strategies/redirect.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/account_info.d.ts +60 -0
- package/dist/browser-cjs/src/core/user/account_info.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/additional_user_info.d.ts +31 -0
- package/dist/browser-cjs/src/core/user/additional_user_info.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/id_token_result.d.ts +48 -0
- package/dist/browser-cjs/src/core/user/id_token_result.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/invalidation.d.ts +18 -0
- package/dist/browser-cjs/src/core/user/invalidation.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/link_unlink.d.ts +30 -0
- package/dist/browser-cjs/src/core/user/link_unlink.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/proactive_refresh.d.ts +34 -0
- package/dist/browser-cjs/src/core/user/proactive_refresh.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/reauthenticate.d.ts +20 -0
- package/dist/browser-cjs/src/core/user/reauthenticate.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/reload.d.ts +27 -0
- package/dist/browser-cjs/src/core/user/reload.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/token_manager.d.ts +49 -0
- package/dist/browser-cjs/src/core/user/token_manager.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/user_credential_impl.d.ts +37 -0
- package/dist/browser-cjs/src/core/user/user_credential_impl.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/user_impl.d.ts +68 -0
- package/dist/browser-cjs/src/core/user/user_impl.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/user/user_metadata.d.ts +27 -0
- package/dist/browser-cjs/src/core/util/assert.d.ts +93 -0
- package/dist/browser-cjs/src/core/util/assert.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/browser.d.ts +50 -0
- package/dist/browser-cjs/src/core/util/browser.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/delay.d.ts +31 -0
- package/dist/browser-cjs/src/core/util/delay.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/emulator.d.ts +18 -0
- package/dist/browser-cjs/src/core/util/emulator.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/event_id.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/event_id.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/fetch_provider.d.ts +25 -0
- package/dist/browser-cjs/src/core/util/handler.d.ts +20 -0
- package/dist/browser-cjs/src/core/util/instantiator.d.ts +28 -0
- package/dist/browser-cjs/src/core/util/instantiator.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/location.d.ts +19 -0
- package/dist/browser-cjs/src/core/util/log.d.ts +22 -0
- package/dist/browser-cjs/src/core/util/navigator.d.ts +21 -0
- package/dist/browser-cjs/src/core/util/providers.d.ts +23 -0
- package/dist/browser-cjs/src/core/util/resolver.d.ts +25 -0
- package/dist/browser-cjs/src/core/util/time.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/validate_origin.d.ts +18 -0
- package/dist/browser-cjs/src/core/util/validate_origin.test.d.ts +17 -0
- package/dist/browser-cjs/src/core/util/version.d.ts +30 -0
- package/dist/browser-cjs/src/core/util/version.test.d.ts +17 -0
- package/dist/browser-cjs/src/index.d.ts +18 -0
- package/dist/browser-cjs/src/mfa/index.d.ts +18 -0
- package/dist/browser-cjs/src/mfa/mfa_assertion.d.ts +27 -0
- package/dist/browser-cjs/src/mfa/mfa_error.d.ts +35 -0
- package/dist/browser-cjs/src/mfa/mfa_info.d.ts +32 -0
- package/dist/browser-cjs/src/mfa/mfa_info.test.d.ts +17 -0
- package/dist/browser-cjs/src/mfa/mfa_resolver.d.ts +41 -0
- package/dist/browser-cjs/src/mfa/mfa_resolver.test.d.ts +17 -0
- package/dist/browser-cjs/src/mfa/mfa_session.d.ts +39 -0
- package/dist/browser-cjs/src/mfa/mfa_session.test.d.ts +17 -0
- package/dist/browser-cjs/src/mfa/mfa_user.d.ts +38 -0
- package/dist/browser-cjs/src/mfa/mfa_user.test.d.ts +17 -0
- package/dist/browser-cjs/src/model/application_verifier.d.ts +23 -0
- package/dist/browser-cjs/src/model/auth.d.ts +75 -0
- package/dist/browser-cjs/src/model/enum_maps.d.ts +97 -0
- package/dist/browser-cjs/src/model/enums.d.ts +74 -0
- package/dist/browser-cjs/src/model/id_token.d.ts +87 -0
- package/dist/browser-cjs/src/model/popup_redirect.d.ts +94 -0
- package/dist/browser-cjs/src/model/public_types.d.ts +1162 -0
- package/dist/browser-cjs/src/model/user.d.ts +83 -0
- package/dist/browser-cjs/src/platform_browser/auth.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/auth_window.d.ts +37 -0
- package/dist/browser-cjs/src/platform_browser/iframe/gapi.d.ts +19 -0
- package/dist/browser-cjs/src/platform_browser/iframe/gapi.iframes.d.ts +47 -0
- package/dist/browser-cjs/src/platform_browser/iframe/gapi.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/iframe/iframe.d.ts +18 -0
- package/dist/browser-cjs/src/platform_browser/iframe/iframe.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/index.d.ts +27 -0
- package/dist/browser-cjs/src/platform_browser/load_js.d.ts +18 -0
- package/dist/browser-cjs/src/platform_browser/load_js.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/index.d.ts +87 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/promise.d.ts +33 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/promise.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/receiver.d.ts +63 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/receiver.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/sender.d.ts +46 -0
- package/dist/browser-cjs/src/platform_browser/messagechannel/sender.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/mfa/assertions/phone.d.ts +56 -0
- package/dist/browser-cjs/src/platform_browser/mfa/assertions/phone.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/persistence/browser.d.ts +27 -0
- package/dist/browser-cjs/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/persistence/indexed_db.d.ts +33 -0
- package/dist/browser-cjs/src/platform_browser/persistence/indexed_db.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/persistence/local_storage.d.ts +25 -0
- package/dist/browser-cjs/src/platform_browser/persistence/local_storage.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/persistence/session_storage.d.ts +24 -0
- package/dist/browser-cjs/src/platform_browser/persistence/session_storage.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/popup_redirect.d.ts +24 -0
- package/dist/browser-cjs/src/platform_browser/popup_redirect.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/providers/phone.d.ts +149 -0
- package/dist/browser-cjs/src/platform_browser/providers/phone.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha.d.ts +23 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_loader.d.ts +49 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_loader.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_mock.d.ts +51 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_mock.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +90 -0
- package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_verifier.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/strategies/phone.d.ts +98 -0
- package/dist/browser-cjs/src/platform_browser/strategies/phone.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/strategies/popup.d.ts +103 -0
- package/dist/browser-cjs/src/platform_browser/strategies/popup.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/strategies/redirect.d.ts +165 -0
- package/dist/browser-cjs/src/platform_browser/strategies/redirect.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/util/popup.d.ts +24 -0
- package/dist/browser-cjs/src/platform_browser/util/popup.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_browser/util/worker.d.ts +20 -0
- package/dist/browser-cjs/src/platform_cordova/plugins.d.ts +42 -0
- package/dist/browser-cjs/src/platform_cordova/popup_redirect/events.d.ts +39 -0
- package/dist/browser-cjs/src/platform_cordova/popup_redirect/events.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_cordova/popup_redirect/popup_redirect.d.ts +24 -0
- package/dist/browser-cjs/src/platform_cordova/popup_redirect/popup_redirect.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_cordova/popup_redirect/utils.d.ts +47 -0
- package/dist/browser-cjs/src/platform_cordova/popup_redirect/utils.test.d.ts +17 -0
- package/dist/browser-cjs/src/platform_cordova/strategies/redirect.d.ts +20 -0
- package/dist/browser-cjs/src/platform_node/index.d.ts +49 -0
- package/dist/browser-cjs/src/platform_react_native/persistence/react_native.d.ts +25 -0
- package/dist/browser-cjs/src/platform_react_native/persistence/react_native.test.d.ts +17 -0
- package/dist/browser-cjs/test/helpers/api/helper.d.ts +20 -0
- package/dist/browser-cjs/test/helpers/delay.d.ts +20 -0
- package/dist/browser-cjs/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/browser-cjs/test/helpers/fake_service_worker.d.ts +22 -0
- package/dist/browser-cjs/test/helpers/id_token_response.d.ts +18 -0
- package/dist/browser-cjs/test/helpers/iframe_event.d.ts +19 -0
- package/dist/browser-cjs/test/helpers/integration/emulator_rest_helpers.d.ts +35 -0
- package/dist/browser-cjs/test/helpers/integration/helpers.d.ts +20 -0
- package/dist/browser-cjs/test/helpers/integration/settings.d.ts +23 -0
- package/dist/browser-cjs/test/helpers/jwt.d.ts +17 -0
- package/dist/browser-cjs/test/helpers/mock_auth.d.ts +42 -0
- package/dist/browser-cjs/test/helpers/mock_auth_credential.d.ts +31 -0
- package/dist/browser-cjs/test/helpers/mock_fetch.d.ts +30 -0
- package/dist/browser-cjs/test/helpers/mock_fetch.test.d.ts +17 -0
- package/dist/browser-cjs/test/helpers/mock_popup_redirect_resolver.d.ts +24 -0
- package/dist/browser-cjs/test/helpers/redirect_persistence.d.ts +24 -0
- package/dist/browser-cjs/test/helpers/timeout_stub.d.ts +34 -0
- package/dist/browser-cjs/test/integration/flows/anonymous.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/flows/custom.local.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/flows/email.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/flows/idp.local.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/flows/middleware_test_generator.d.ts +18 -0
- package/dist/browser-cjs/test/integration/flows/oob.local.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/flows/phone.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/webdriver/anonymous.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/webdriver/compat/firebaseui.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/webdriver/persistence.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/webdriver/popup.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/webdriver/redirect.test.d.ts +17 -0
- package/dist/browser-cjs/test/integration/webdriver/util/auth_driver.d.ts +46 -0
- package/dist/browser-cjs/test/integration/webdriver/util/functions.d.ts +81 -0
- package/dist/browser-cjs/test/integration/webdriver/util/idp_page.d.ts +31 -0
- package/dist/browser-cjs/test/integration/webdriver/util/js_load_condition.d.ts +25 -0
- package/dist/browser-cjs/test/integration/webdriver/util/test_runner.d.ts +19 -0
- package/dist/browser-cjs/test/integration/webdriver/util/test_server.d.ts +27 -0
- package/dist/browser-cjs/test/integration/webdriver/util/ui_page.d.ts +33 -0
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-f2a91123.js → popup_redirect-e3f41047.js} +16 -15
- package/dist/cordova/popup_redirect-e3f41047.js.map +1 -0
- package/dist/cordova/src/core/strategies/credential.d.ts +2 -1
- package/dist/cordova/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/dist/esm2017/{index-e5b3cc81.js → index-ad92feb8.js} +22 -20
- package/dist/esm2017/index-ad92feb8.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/strategies/credential.d.ts +2 -1
- package/dist/esm2017/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/dist/esm5/{index-624a9c08.js → index-b011a244.js} +16 -15
- package/dist/esm5/index-b011a244.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/strategies/credential.d.ts +2 -1
- package/dist/esm5/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/dist/index.webworker.esm5.js +9 -11
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-69e083b1.js → index-07d4f473.js} +10 -12
- package/dist/node/{index-69e083b1.js.map → index-07d4f473.js.map} +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/internal.js.map +1 -1
- package/dist/node/src/core/strategies/credential.d.ts +2 -1
- package/dist/node/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/dist/node-esm/{index-67ff6dfa.js → index-0d69afd8.js} +16 -17
- package/dist/node-esm/{index-67ff6dfa.js.map → index-0d69afd8.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/internal.js.map +1 -1
- package/dist/node-esm/src/core/strategies/credential.d.ts +2 -1
- package/dist/node-esm/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +7 -4
- package/dist/rn/internal.js.map +1 -1
- package/dist/rn/{phone-ec5655af.js → phone-92601072.js} +10 -12
- package/dist/rn/phone-92601072.js.map +1 -0
- package/dist/rn/src/core/strategies/credential.d.ts +2 -1
- package/dist/rn/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/dist/src/core/strategies/credential.d.ts +2 -1
- package/dist/src/platform_browser/strategies/redirect.d.ts +6 -3
- package/package.json +15 -7
- package/dist/cordova/popup_redirect-f2a91123.js.map +0 -1
- package/dist/esm2017/index-e5b3cc81.js.map +0 -1
- package/dist/esm5/index-624a9c08.js.map +0 -1
- package/dist/rn/phone-ec5655af.js.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Auth } from '@firebase/auth';
|
|
18
|
+
export declare function generateMiddlewareTests(authGetter: () => Auth, signIn: () => Promise<unknown>): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Auth, User, Persistence } from '@firebase/auth';
|
|
18
|
+
import { WebDriver } from 'selenium-webdriver';
|
|
19
|
+
export declare const START_FUNCTION = "startAuth";
|
|
20
|
+
/** Helper wraper around the WebDriver object */
|
|
21
|
+
export declare class AuthDriver {
|
|
22
|
+
webDriver: WebDriver;
|
|
23
|
+
start(browser: string): Promise<void>;
|
|
24
|
+
stop(): Promise<void>;
|
|
25
|
+
call<T>(fn: string, ...args: unknown[]): Promise<T>;
|
|
26
|
+
callNoWait(fn: string, ...args: unknown[]): Promise<void>;
|
|
27
|
+
getAuthSnapshot(): Promise<Auth>;
|
|
28
|
+
getUserSnapshot(): Promise<User>;
|
|
29
|
+
reset(): Promise<void>;
|
|
30
|
+
goToTestPage(): Promise<void>;
|
|
31
|
+
waitForAuthInit(): Promise<void>;
|
|
32
|
+
waitForLegacyAuthInit(): Promise<void>;
|
|
33
|
+
reinitOnRedirect(): Promise<void>;
|
|
34
|
+
pause(ms: number): Promise<void>;
|
|
35
|
+
refresh(): Promise<void>;
|
|
36
|
+
private injectConfig;
|
|
37
|
+
injectConfigAndInitAuth(): Promise<void>;
|
|
38
|
+
injectConfigAndInitLegacySDK(persistence?: Persistence['type']): Promise<void>;
|
|
39
|
+
selectPopupWindow(): Promise<void>;
|
|
40
|
+
selectMainWindow(options?: {
|
|
41
|
+
noWait?: boolean;
|
|
42
|
+
}): Promise<void>;
|
|
43
|
+
closePopup(): Promise<void>;
|
|
44
|
+
closeExtraWindows(): Promise<void>;
|
|
45
|
+
isCompatLayer(): boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/** Available in the browser. See static/anonymous.js */
|
|
18
|
+
export declare enum AnonFunction {
|
|
19
|
+
SIGN_IN_ANONYMOUSLY = "anonymous.anonymousSignIn"
|
|
20
|
+
}
|
|
21
|
+
/** Available redirect functions. See static/redirect.js */
|
|
22
|
+
export declare enum RedirectFunction {
|
|
23
|
+
IDP_REDIRECT = "redirect.idpRedirect",
|
|
24
|
+
IDP_REAUTH_REDIRECT = "redirect.idpReauthRedirect",
|
|
25
|
+
IDP_LINK_REDIRECT = "redirect.idpLinkRedirect",
|
|
26
|
+
REDIRECT_RESULT = "redirect.redirectResult",
|
|
27
|
+
GENERATE_CREDENTIAL_FROM_RESULT = "redirect.generateCredentialFromRedirectResultAndStore",
|
|
28
|
+
SIGN_IN_WITH_REDIRECT_CREDENTIAL = "redirect.signInWithRedirectCredential",
|
|
29
|
+
LINK_WITH_ERROR_CREDENTIAL = "redirect.linkWithErrorCredential",
|
|
30
|
+
CREATE_FAKE_GOOGLE_USER = "redirect.createFakeGoogleUser",
|
|
31
|
+
TRY_TO_SIGN_IN_UNVERIFIED = "redirect.tryToSignInUnverified"
|
|
32
|
+
}
|
|
33
|
+
/** Available popup functions. See static/popup.js */
|
|
34
|
+
export declare enum PopupFunction {
|
|
35
|
+
IDP_POPUP = "popup.idpPopup",
|
|
36
|
+
IDP_REAUTH_POPUP = "popup.idpReauthPopup",
|
|
37
|
+
IDP_LINK_POPUP = "popup.idpLinkPopup",
|
|
38
|
+
POPUP_RESULT = "popup.popupResult",
|
|
39
|
+
GENERATE_CREDENTIAL_FROM_RESULT = "popup.generateCredentialFromResult",
|
|
40
|
+
SIGN_IN_WITH_POPUP_CREDENTIAL = "popup.signInWithPopupCredential",
|
|
41
|
+
LINK_WITH_ERROR_CREDENTIAL = "popup.linkWithErrorCredential",
|
|
42
|
+
CREATE_FAKE_GOOGLE_USER = "popup.createFakeGoogleUser",
|
|
43
|
+
TRY_TO_SIGN_IN_UNVERIFIED = "popup.tryToSignInUnverified"
|
|
44
|
+
}
|
|
45
|
+
/** Available email functions. See static/email.js */
|
|
46
|
+
export declare enum EmailFunction {
|
|
47
|
+
CREATE_USER = "email.createUser"
|
|
48
|
+
}
|
|
49
|
+
/** Available core functions within the browser. See static/core.js */
|
|
50
|
+
export declare enum CoreFunction {
|
|
51
|
+
RESET = "core.reset",
|
|
52
|
+
AWAIT_AUTH_INIT = "core.authInit",
|
|
53
|
+
USER_SNAPSHOT = "core.userSnap",
|
|
54
|
+
AUTH_SNAPSHOT = "core.authSnap",
|
|
55
|
+
SIGN_OUT = "core.signOut",
|
|
56
|
+
AWAIT_LEGACY_AUTH_INIT = "core.legacyAuthInit",
|
|
57
|
+
LEGACY_USER_SNAPSHOT = "core.legacyUserSnap"
|
|
58
|
+
}
|
|
59
|
+
/** Available persistence functions within the browser. See static/persistence.js */
|
|
60
|
+
export declare enum PersistenceFunction {
|
|
61
|
+
CLEAR_PERSISTENCE = "persistence.clearPersistence",
|
|
62
|
+
LOCAL_STORAGE_SNAP = "persistence.localStorageSnap",
|
|
63
|
+
LOCAL_STORAGE_SET = "persistence.localStorageSet",
|
|
64
|
+
SESSION_STORAGE_SNAP = "persistence.sessionStorageSnap",
|
|
65
|
+
SESSION_STORAGE_SET = "persistence.sessionStorageSet",
|
|
66
|
+
INDEXED_DB_SNAP = "persistence.indexedDBSnap",
|
|
67
|
+
MAKE_INDEXED_DB_READONLY = "persistence.makeIndexedDBReadonly",
|
|
68
|
+
SET_PERSISTENCE_MEMORY = "persistence.setPersistenceMemory",
|
|
69
|
+
SET_PERSISTENCE_SESSION = "persistence.setPersistenceSession",
|
|
70
|
+
SET_PERSISTENCE_INDEXED_DB = "persistence.setPersistenceIndexedDB",
|
|
71
|
+
SET_PERSISTENCE_LOCAL_STORAGE = "persistence.setPersistenceLocalStorage"
|
|
72
|
+
}
|
|
73
|
+
export declare enum MiddlewareFunction {
|
|
74
|
+
ATTACH_BLOCKING_MIDDLEWARE = "middleware.attachBlockingMiddleware",
|
|
75
|
+
ATTACH_BLOCKING_MIDDLEWARE_ON_START = "middleware.attachBlockingMiddlewareOnStart"
|
|
76
|
+
}
|
|
77
|
+
/** Available firebase UI functions (only for compat tests) */
|
|
78
|
+
export declare enum UiFunction {
|
|
79
|
+
LOAD = "ui.loadUiCode",
|
|
80
|
+
START = "ui.startUi"
|
|
81
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { WebDriver } from 'selenium-webdriver';
|
|
18
|
+
export declare class IdPPage {
|
|
19
|
+
private readonly driver;
|
|
20
|
+
static PAGE_TITLE: string;
|
|
21
|
+
constructor(driver: WebDriver);
|
|
22
|
+
pageLoad(): Promise<void>;
|
|
23
|
+
clickAddAccount(): Promise<void>;
|
|
24
|
+
clickSignIn(): Promise<void>;
|
|
25
|
+
selectExistingAccountByEmail(email: string): Promise<void>;
|
|
26
|
+
fillEmail(email: string): Promise<void>;
|
|
27
|
+
fillDisplayName(displayName: string): Promise<void>;
|
|
28
|
+
fillScreenName(screenName: string): Promise<void>;
|
|
29
|
+
fillProfilePhoto(prophilePhoto: string): Promise<void>;
|
|
30
|
+
private fillInput;
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Condition } from 'selenium-webdriver';
|
|
18
|
+
/**
|
|
19
|
+
* A condition that looks for the presence of a specified function. This is
|
|
20
|
+
* used with WebDriver .wait() as a proxy for determining when the JS has
|
|
21
|
+
* finished loading in a page.
|
|
22
|
+
*/
|
|
23
|
+
export declare class JsLoadCondition extends Condition<boolean> {
|
|
24
|
+
constructor(globalValue: string);
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { AuthDriver } from './auth_driver';
|
|
18
|
+
/** Main entry point for all WebDriver tests */
|
|
19
|
+
export declare function browserDescribe(title: string, generator: (driver: AuthDriver, browser: string) => void): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/** Simple express server for serving up the static files for testing */
|
|
18
|
+
declare class AuthTestServer {
|
|
19
|
+
private app;
|
|
20
|
+
private server;
|
|
21
|
+
constructor();
|
|
22
|
+
get address(): string;
|
|
23
|
+
start(): Promise<void>;
|
|
24
|
+
stop(): void;
|
|
25
|
+
}
|
|
26
|
+
export declare const authTestServer: AuthTestServer;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { WebDriver } from 'selenium-webdriver';
|
|
18
|
+
export declare class UiPage {
|
|
19
|
+
private readonly driver;
|
|
20
|
+
constructor(driver: WebDriver);
|
|
21
|
+
clickGuestSignIn(): Promise<void>;
|
|
22
|
+
clickGoogleSignIn(): Promise<void>;
|
|
23
|
+
clickPhoneSignIn(): Promise<void>;
|
|
24
|
+
clickEmailSignIn(): Promise<void>;
|
|
25
|
+
clickSubmit(): Promise<void>;
|
|
26
|
+
enterPhoneNumber(phoneNumber: string): Promise<void>;
|
|
27
|
+
waitForCodeInputToBePresent(): Promise<void>;
|
|
28
|
+
enterPhoneCode(code: string): Promise<void>;
|
|
29
|
+
enterEmail(email: string): Promise<void>;
|
|
30
|
+
enterEmailDisplayName(name: string): Promise<void>;
|
|
31
|
+
enterPassword(name: string): Promise<void>;
|
|
32
|
+
private fillInput;
|
|
33
|
+
}
|
package/dist/cordova/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getApp, _getProvider } from '@firebase/app';
|
|
2
|
-
import { _ as _signInWithRedirect, a as _reauthenticateWithRedirect, b as _linkWithRedirect, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, d as cordovaPopupRedirectResolver } from './popup_redirect-
|
|
3
|
-
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-
|
|
2
|
+
import { _ as _signInWithRedirect, a as _reauthenticateWithRedirect, b as _linkWithRedirect, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, d as cordovaPopupRedirectResolver } from './popup_redirect-e3f41047.js';
|
|
3
|
+
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-e3f41047.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import '@firebase/util';
|
|
6
6
|
import '@firebase/component';
|
package/dist/cordova/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { af as _performApiRequest, ag as _addTidIfNecessary, ah as _createError, ai as _assert, aj as Delay, ak as _window, al as _isHttpOrHttps, am as _isWorker, an as _castAuth, J as signInWithCredential, K as linkWithCredential, ao as _assertLinkedStatus, L as reauthenticateWithCredential, ap as sendPhoneVerificationCode, aq as startEnrollPhoneMfa, ar as _link, x as PhoneAuthCredential, as as debugAssert, at as _generateEventId, au as AbstractPopupRedirectOperation, av as _assertInstanceOf, aw as _withDefaultResolver, ax as FederatedAuthProvider, ay as _fail, az as _getProjectConfig, aA as _getCurrentUrl, aB as _emulatorUrl, aC as _isChromeIOS, aD as _isFirefox, aE as _isIOSStandalone, aF as _getRedirectUrl, aG as _setWindowLocation, aH as _isMobileBrowser, aI as _isSafari, aJ as _isIOS, f as browserSessionPersistence, aK as _getRedirectResult, aL as _overrideRedirectResult, aM as AuthEventManager, aN as debugFail, aO as finalizeEnrollPhoneMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence, h as beforeAuthStateChanged, o as onIdTokenChanged, t as connectAuthEmulator } from './popup_redirect-
|
|
2
|
-
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, aS as AuthImpl, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, aU as FetchProvider, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, aV as SAMLAuthCredential, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aQ as UserImpl, ai as _assert, an as _castAuth, ay as _fail, at as _generateEventId, aT as _getClientVersion, aR as _getInstance, aK as _getRedirectResult, aL as _overrideRedirectResult, aP as _persistenceKeyName, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, aX as linkWithRedirect, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, aY as reauthenticateWithRedirect, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, aW as signInWithRedirect, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-
|
|
1
|
+
import { af as _performApiRequest, ag as _addTidIfNecessary, ah as _createError, ai as _assert, aj as Delay, ak as _window, al as _isHttpOrHttps, am as _isWorker, an as _castAuth, J as signInWithCredential, K as linkWithCredential, ao as _assertLinkedStatus, L as reauthenticateWithCredential, ap as sendPhoneVerificationCode, aq as startEnrollPhoneMfa, ar as _link, x as PhoneAuthCredential, as as debugAssert, at as _generateEventId, au as AbstractPopupRedirectOperation, av as _assertInstanceOf, aw as _withDefaultResolver, ax as FederatedAuthProvider, ay as _fail, az as _getProjectConfig, aA as _getCurrentUrl, aB as _emulatorUrl, aC as _isChromeIOS, aD as _isFirefox, aE as _isIOSStandalone, aF as _getRedirectUrl, aG as _setWindowLocation, aH as _isMobileBrowser, aI as _isSafari, aJ as _isIOS, f as browserSessionPersistence, aK as _getRedirectResult, aL as _overrideRedirectResult, aM as AuthEventManager, aN as debugFail, aO as finalizeEnrollPhoneMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence, h as beforeAuthStateChanged, o as onIdTokenChanged, t as connectAuthEmulator } from './popup_redirect-e3f41047.js';
|
|
2
|
+
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, aS as AuthImpl, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, aU as FetchProvider, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, aV as SAMLAuthCredential, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aQ as UserImpl, ai as _assert, an as _castAuth, ay as _fail, at as _generateEventId, aT as _getClientVersion, aR as _getInstance, aK as _getRedirectResult, aL as _overrideRedirectResult, aP as _persistenceKeyName, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, aX as linkWithRedirect, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, aY as reauthenticateWithRedirect, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, aW as signInWithRedirect, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-e3f41047.js';
|
|
3
3
|
import { __awaiter, __generator, __assign, __extends, __spreadArray } from 'tslib';
|
|
4
4
|
import { querystring, getModularInstance, getUA, getExperimentalSetting, getDefaultEmulatorHost } from '@firebase/util';
|
|
5
5
|
import { SDK_VERSION, getApp, _getProvider } from '@firebase/app';
|
|
@@ -6388,7 +6388,8 @@ function linkWithCredential(user, credential) {
|
|
|
6388
6388
|
*
|
|
6389
6389
|
* @remarks
|
|
6390
6390
|
* Use before operations such as {@link updatePassword} that require tokens from recent sign-in
|
|
6391
|
-
* attempts. This method can be used to recover from a `CREDENTIAL_TOO_OLD_LOGIN_AGAIN` error
|
|
6391
|
+
* attempts. This method can be used to recover from a `CREDENTIAL_TOO_OLD_LOGIN_AGAIN` error
|
|
6392
|
+
* or a `TOKEN_EXPIRED` error.
|
|
6392
6393
|
*
|
|
6393
6394
|
* @param user - The user.
|
|
6394
6395
|
* @param credential - The auth credential.
|
|
@@ -7825,11 +7826,14 @@ var MultiFactorUserImpl = /** @class */ (function () {
|
|
|
7825
7826
|
return [4 /*yield*/, this.user.getIdToken()];
|
|
7826
7827
|
case 1:
|
|
7827
7828
|
idToken = _a.sent();
|
|
7829
|
+
_a.label = 2;
|
|
7830
|
+
case 2:
|
|
7831
|
+
_a.trys.push([2, 6, , 7]);
|
|
7828
7832
|
return [4 /*yield*/, _logoutIfInvalidated(this.user, withdrawMfa(this.user.auth, {
|
|
7829
7833
|
idToken: idToken,
|
|
7830
7834
|
mfaEnrollmentId: mfaEnrollmentId
|
|
7831
7835
|
}))];
|
|
7832
|
-
case
|
|
7836
|
+
case 3:
|
|
7833
7837
|
idTokenResponse = _a.sent();
|
|
7834
7838
|
// Remove the second factor from the user's list.
|
|
7835
7839
|
this.enrolledFactors = this.enrolledFactors.filter(function (_a) {
|
|
@@ -7841,25 +7845,19 @@ var MultiFactorUserImpl = /** @class */ (function () {
|
|
|
7841
7845
|
// are now invalid), reloading the user will discover this and invalidate
|
|
7842
7846
|
// the user's state accordingly.
|
|
7843
7847
|
return [4 /*yield*/, this.user._updateTokensIfNecessary(idTokenResponse)];
|
|
7844
|
-
case
|
|
7848
|
+
case 4:
|
|
7845
7849
|
// Depending on whether the backend decided to revoke the user's session,
|
|
7846
7850
|
// the tokenResponse may be empty. If the tokens were not updated (and they
|
|
7847
7851
|
// are now invalid), reloading the user will discover this and invalidate
|
|
7848
7852
|
// the user's state accordingly.
|
|
7849
7853
|
_a.sent();
|
|
7850
|
-
_a.label = 4;
|
|
7851
|
-
case 4:
|
|
7852
|
-
_a.trys.push([4, 6, , 7]);
|
|
7853
7854
|
return [4 /*yield*/, this.user.reload()];
|
|
7854
7855
|
case 5:
|
|
7855
7856
|
_a.sent();
|
|
7856
7857
|
return [3 /*break*/, 7];
|
|
7857
7858
|
case 6:
|
|
7858
7859
|
e_1 = _a.sent();
|
|
7859
|
-
|
|
7860
|
-
throw e_1;
|
|
7861
|
-
}
|
|
7862
|
-
return [3 /*break*/, 7];
|
|
7860
|
+
throw e_1;
|
|
7863
7861
|
case 7: return [2 /*return*/];
|
|
7864
7862
|
}
|
|
7865
7863
|
});
|
|
@@ -7887,7 +7885,7 @@ function multiFactor(user) {
|
|
|
7887
7885
|
}
|
|
7888
7886
|
|
|
7889
7887
|
var name = "@firebase/auth";
|
|
7890
|
-
var version = "0.21.
|
|
7888
|
+
var version = "0.21.2-20230131204242";
|
|
7891
7889
|
|
|
7892
7890
|
/**
|
|
7893
7891
|
* @license
|
|
@@ -8908,7 +8906,8 @@ function pendingRedirectKey(auth) {
|
|
|
8908
8906
|
*
|
|
8909
8907
|
* @remarks
|
|
8910
8908
|
* To handle the results and errors for this operation, refer to {@link getRedirectResult}.
|
|
8911
|
-
* Follow the
|
|
8909
|
+
* Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
|
|
8910
|
+
* | best practices} when using {@link signInWithRedirect}.
|
|
8912
8911
|
*
|
|
8913
8912
|
* @example
|
|
8914
8913
|
* ```javascript
|
|
@@ -8976,7 +8975,8 @@ function _signInWithRedirect(auth, provider, resolver) {
|
|
|
8976
8975
|
* Reauthenticates the current user with the specified {@link OAuthProvider} using a full-page redirect flow.
|
|
8977
8976
|
* @remarks
|
|
8978
8977
|
* To handle the results and errors for this operation, refer to {@link getRedirectResult}.
|
|
8979
|
-
* Follow the
|
|
8978
|
+
* Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
|
|
8979
|
+
* | best practices} when using {@link reauthenticateWithRedirect}.
|
|
8980
8980
|
*
|
|
8981
8981
|
* @example
|
|
8982
8982
|
* ```javascript
|
|
@@ -9039,7 +9039,8 @@ function _reauthenticateWithRedirect(user, provider, resolver) {
|
|
|
9039
9039
|
* Links the {@link OAuthProvider} to the user account using a full-page redirect flow.
|
|
9040
9040
|
* @remarks
|
|
9041
9041
|
* To handle the results and errors for this operation, refer to {@link getRedirectResult}.
|
|
9042
|
-
* Follow the
|
|
9042
|
+
* Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
|
|
9043
|
+
* | best practices} when using {@link linkWithRedirect}.
|
|
9043
9044
|
*
|
|
9044
9045
|
* @example
|
|
9045
9046
|
* ```javascript
|
|
@@ -10066,4 +10067,4 @@ function generateNoEvent() {
|
|
|
10066
10067
|
}
|
|
10067
10068
|
|
|
10068
10069
|
export { signInWithEmailLink as $, ActionCodeOperation as A, FacebookAuthProvider as B, GithubAuthProvider as C, OAuthProvider as D, EmailAuthCredential as E, FactorId as F, GoogleAuthProvider as G, SAMLAuthProvider as H, signInAnonymously as I, signInWithCredential as J, linkWithCredential as K, reauthenticateWithCredential as L, signInWithCustomToken as M, sendPasswordResetEmail as N, OperationType as O, ProviderId as P, confirmPasswordReset as Q, applyActionCode as R, SignInMethod as S, TwitterAuthProvider as T, checkActionCode as U, verifyPasswordResetCode as V, createUserWithEmailAndPassword as W, signInWithEmailAndPassword as X, sendSignInLinkToEmail as Y, isSignInWithEmailLink as Z, _signInWithRedirect as _, _reauthenticateWithRedirect as a, fetchSignInMethodsForEmail as a0, sendEmailVerification as a1, verifyBeforeUpdateEmail as a2, ActionCodeURL as a3, parseActionCodeURL as a4, updateProfile as a5, updateEmail as a6, updatePassword as a7, getIdToken as a8, getIdTokenResult as a9, _getCurrentUrl as aA, _emulatorUrl as aB, _isChromeIOS as aC, _isFirefox as aD, _isIOSStandalone as aE, _getRedirectUrl as aF, _setWindowLocation as aG, _isMobileBrowser as aH, _isSafari as aI, _isIOS as aJ, _getRedirectResult as aK, _overrideRedirectResult as aL, AuthEventManager as aM, debugFail as aN, finalizeEnrollPhoneMfa as aO, _persistenceKeyName as aP, UserImpl as aQ, _getInstance as aR, AuthImpl as aS, _getClientVersion as aT, FetchProvider as aU, SAMLAuthCredential as aV, signInWithRedirect as aW, linkWithRedirect as aX, reauthenticateWithRedirect as aY, unlink as aa, getAdditionalUserInfo as ab, reload as ac, getMultiFactorResolver as ad, multiFactor as ae, _performApiRequest as af, _addTidIfNecessary as ag, _createError as ah, _assert as ai, Delay as aj, _window as ak, _isHttpOrHttps as al, _isWorker as am, _castAuth as an, _assertLinkedStatus as ao, sendPhoneVerificationCode as ap, startEnrollPhoneMfa as aq, _link$1 as ar, debugAssert as as, _generateEventId as at, AbstractPopupRedirectOperation as au, _assertInstanceOf as av, _withDefaultResolver as aw, FederatedAuthProvider as ax, _fail as ay, _getProjectConfig as az, _linkWithRedirect as b, indexedDBLocalPersistence as c, cordovaPopupRedirectResolver as d, browserLocalPersistence as e, browserSessionPersistence as f, getRedirectResult as g, beforeAuthStateChanged as h, initializeAuth as i, onAuthStateChanged as j, updateCurrentUser as k, signOut as l, deleteUser as m, debugErrorMap as n, onIdTokenChanged as o, prodErrorMap as p, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as q, registerAuth as r, setPersistence as s, connectAuthEmulator as t, useDeviceLanguage as u, AuthCredential as v, OAuthCredential as w, PhoneAuthCredential as x, inMemoryPersistence as y, EmailAuthProvider as z };
|
|
10069
|
-
//# sourceMappingURL=popup_redirect-
|
|
10070
|
+
//# sourceMappingURL=popup_redirect-e3f41047.js.map
|