@firebase/auth 0.18.3 → 0.19.0-canary.0b3ca78eb
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 +16 -0
- package/dist/auth-public.d.ts +28 -19
- package/dist/auth.d.ts +29 -20
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/index.rn.d.ts +3 -0
- package/dist/cordova/internal.js +7 -3
- package/dist/cordova/internal.js.map +1 -1
- package/dist/cordova/{popup_redirect-f608cd47.js → popup_redirect-680c56fc.js} +54 -33
- package/dist/cordova/popup_redirect-680c56fc.js.map +1 -0
- package/dist/cordova/src/core/errors.d.ts +2 -2
- package/dist/cordova/src/core/strategies/abstract_popup_redirect_operation.d.ts +1 -1
- package/dist/cordova/src/mfa/mfa_error.d.ts +4 -5
- package/dist/cordova/src/model/public_types.d.ts +25 -19
- package/dist/cordova/src/platform_browser/persistence/browser.d.ts +4 -3
- package/dist/cordova/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/cordova/src/platform_browser/strategies/phone.d.ts +3 -0
- package/dist/cordova/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/esm2017/{index-f41a0691.js → index-100be16e.js} +43 -25
- package/dist/esm2017/index-100be16e.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/index.rn.d.ts +3 -0
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/errors.d.ts +2 -2
- package/dist/esm2017/src/core/strategies/abstract_popup_redirect_operation.d.ts +1 -1
- package/dist/esm2017/src/mfa/mfa_error.d.ts +4 -5
- package/dist/esm2017/src/model/public_types.d.ts +25 -19
- package/dist/esm2017/src/platform_browser/persistence/browser.d.ts +4 -3
- package/dist/esm2017/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/esm2017/src/platform_browser/strategies/phone.d.ts +3 -0
- package/dist/esm2017/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/esm5/{index-fd8b7af5.js → index-4c58d8b7.js} +59 -34
- package/dist/esm5/index-4c58d8b7.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/index.rn.d.ts +3 -0
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/errors.d.ts +2 -2
- package/dist/esm5/src/core/strategies/abstract_popup_redirect_operation.d.ts +1 -1
- package/dist/esm5/src/mfa/mfa_error.d.ts +4 -5
- package/dist/esm5/src/model/public_types.d.ts +25 -19
- package/dist/esm5/src/platform_browser/persistence/browser.d.ts +4 -3
- package/dist/esm5/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/esm5/src/platform_browser/strategies/phone.d.ts +3 -0
- package/dist/esm5/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/index.rn.d.ts +3 -0
- package/dist/index.webworker.esm5.js +25 -23
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-358613ec.js → index-8505a33c.js} +26 -24
- package/dist/node/index-8505a33c.js.map +1 -0
- package/dist/node/index.js +1 -1
- package/dist/node/index.rn.d.ts +3 -0
- package/dist/node/internal.js +29 -10
- package/dist/node/internal.js.map +1 -1
- package/dist/node/src/core/errors.d.ts +2 -2
- package/dist/node/src/core/strategies/abstract_popup_redirect_operation.d.ts +1 -1
- package/dist/node/src/mfa/mfa_error.d.ts +4 -5
- package/dist/node/src/model/public_types.d.ts +25 -19
- package/dist/node/src/platform_browser/persistence/browser.d.ts +4 -3
- package/dist/node/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/node/src/platform_browser/strategies/phone.d.ts +3 -0
- package/dist/node/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/node-esm/index-4b759c81.js +6031 -0
- package/dist/node-esm/index-4b759c81.js.map +1 -0
- package/dist/node-esm/index.cordova.d.ts +32 -0
- package/dist/node-esm/index.d.ts +36 -0
- package/dist/node-esm/index.doc.d.ts +24 -0
- package/dist/node-esm/index.js +8 -0
- package/dist/node-esm/index.js.map +1 -0
- package/dist/node-esm/index.node.d.ts +17 -0
- package/dist/node-esm/index.rn.d.ts +30 -0
- package/dist/node-esm/index.shared.d.ts +19 -0
- package/dist/node-esm/index.webworker.d.ts +21 -0
- package/dist/node-esm/internal/index.d.ts +41 -0
- package/dist/node-esm/internal.js +1455 -0
- package/dist/node-esm/internal.js.map +1 -0
- package/dist/node-esm/package.json +1 -0
- package/dist/node-esm/scripts/run_node_tests.d.ts +17 -0
- package/dist/node-esm/src/api/account_management/account.d.ts +59 -0
- package/dist/node-esm/src/api/account_management/account.test.d.ts +17 -0
- package/dist/node-esm/src/api/account_management/email_and_password.d.ts +47 -0
- package/dist/node-esm/src/api/account_management/email_and_password.test.d.ts +17 -0
- package/dist/node-esm/src/api/account_management/mfa.d.ts +69 -0
- package/dist/node-esm/src/api/account_management/mfa.test.d.ts +17 -0
- package/dist/node-esm/src/api/account_management/profile.d.ts +29 -0
- package/dist/node-esm/src/api/account_management/profile.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/create_auth_uri.d.ts +26 -0
- package/dist/node-esm/src/api/authentication/create_auth_uri.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/custom_token.d.ts +26 -0
- package/dist/node-esm/src/api/authentication/custom_token.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/email_and_password.d.ts +76 -0
- package/dist/node-esm/src/api/authentication/email_and_password.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/email_link.d.ts +32 -0
- package/dist/node-esm/src/api/authentication/email_link.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/idp.d.ts +40 -0
- package/dist/node-esm/src/api/authentication/idp.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/mfa.d.ts +58 -0
- package/dist/node-esm/src/api/authentication/mfa.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/recaptcha.d.ts +18 -0
- package/dist/node-esm/src/api/authentication/recaptcha.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/sign_up.d.ts +29 -0
- package/dist/node-esm/src/api/authentication/sign_up.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/sms.d.ts +50 -0
- package/dist/node-esm/src/api/authentication/sms.test.d.ts +17 -0
- package/dist/node-esm/src/api/authentication/token.d.ts +26 -0
- package/dist/node-esm/src/api/authentication/token.test.d.ts +17 -0
- package/dist/node-esm/src/api/errors.d.ts +118 -0
- package/dist/node-esm/src/api/index.d.ts +67 -0
- package/dist/node-esm/src/api/index.test.d.ts +17 -0
- package/dist/node-esm/src/api/project_config/get_project_config.d.ts +25 -0
- package/dist/node-esm/src/api/project_config/get_project_config.test.d.ts +17 -0
- package/dist/node-esm/src/core/action_code_url.d.ts +73 -0
- package/dist/node-esm/src/core/action_code_url.test.d.ts +17 -0
- package/dist/node-esm/src/core/auth/auth_event_manager.d.ts +34 -0
- package/dist/node-esm/src/core/auth/auth_event_manager.test.d.ts +17 -0
- package/dist/node-esm/src/core/auth/auth_impl.d.ts +106 -0
- package/dist/node-esm/src/core/auth/auth_impl.test.d.ts +17 -0
- package/dist/node-esm/src/core/auth/emulator.d.ts +42 -0
- package/dist/node-esm/src/core/auth/emulator.test.d.ts +17 -0
- package/dist/node-esm/src/core/auth/firebase_internal.d.ts +35 -0
- package/dist/node-esm/src/core/auth/firebase_internal.test.d.ts +17 -0
- package/dist/node-esm/src/core/auth/initialize.d.ts +46 -0
- package/dist/node-esm/src/core/auth/initialize.test.d.ts +17 -0
- package/dist/node-esm/src/core/auth/register.d.ts +23 -0
- package/dist/node-esm/src/core/credentials/auth_credential.d.ts +75 -0
- package/dist/node-esm/src/core/credentials/email.d.ts +60 -0
- package/dist/node-esm/src/core/credentials/email.test.d.ts +17 -0
- package/dist/node-esm/src/core/credentials/index.d.ts +23 -0
- package/dist/node-esm/src/core/credentials/oauth.d.ts +81 -0
- package/dist/node-esm/src/core/credentials/oauth.test.d.ts +17 -0
- package/dist/node-esm/src/core/credentials/phone.d.ts +52 -0
- package/dist/node-esm/src/core/credentials/phone.test.d.ts +17 -0
- package/dist/node-esm/src/core/credentials/saml.d.ts +52 -0
- package/dist/node-esm/src/core/credentials/saml.test.d.ts +17 -0
- package/dist/node-esm/src/core/errors.d.ts +299 -0
- package/dist/node-esm/src/core/errors.test.d.ts +17 -0
- package/dist/node-esm/src/core/index.d.ts +141 -0
- package/dist/node-esm/src/core/persistence/in_memory.d.ts +35 -0
- package/dist/node-esm/src/core/persistence/in_memory.test.d.ts +17 -0
- package/dist/node-esm/src/core/persistence/index.d.ts +41 -0
- package/dist/node-esm/src/core/persistence/persistence_user_manager.d.ts +45 -0
- package/dist/node-esm/src/core/persistence/persistence_user_manager.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/email.d.ts +83 -0
- package/dist/node-esm/src/core/providers/email.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/facebook.d.ts +93 -0
- package/dist/node-esm/src/core/providers/facebook.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/federated.d.ts +64 -0
- package/dist/node-esm/src/core/providers/federated.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/github.d.ts +89 -0
- package/dist/node-esm/src/core/providers/github.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/google.d.ts +96 -0
- package/dist/node-esm/src/core/providers/google.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/oauth.d.ts +151 -0
- package/dist/node-esm/src/core/providers/oauth.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/saml.d.ts +62 -0
- package/dist/node-esm/src/core/providers/saml.test.d.ts +17 -0
- package/dist/node-esm/src/core/providers/twitter.d.ts +103 -0
- package/dist/node-esm/src/core/providers/twitter.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/abstract_popup_redirect_operation.d.ts +44 -0
- package/dist/node-esm/src/core/strategies/abstract_popup_redirect_operation.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/action_code_settings.d.ts +19 -0
- package/dist/node-esm/src/core/strategies/action_code_settings.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/anonymous.d.ts +29 -0
- package/dist/node-esm/src/core/strategies/anonymous.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/credential.d.ts +57 -0
- package/dist/node-esm/src/core/strategies/credential.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/custom_token.d.ts +34 -0
- package/dist/node-esm/src/core/strategies/custom_token.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/email.d.ts +98 -0
- package/dist/node-esm/src/core/strategies/email.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/email_and_password.d.ts +126 -0
- package/dist/node-esm/src/core/strategies/email_and_password.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/email_link.d.ts +103 -0
- package/dist/node-esm/src/core/strategies/email_link.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/idp.d.ts +32 -0
- package/dist/node-esm/src/core/strategies/idp.test.d.ts +17 -0
- package/dist/node-esm/src/core/strategies/redirect.d.ts +35 -0
- package/dist/node-esm/src/core/strategies/redirect.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/account_info.d.ts +60 -0
- package/dist/node-esm/src/core/user/account_info.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/additional_user_info.d.ts +31 -0
- package/dist/node-esm/src/core/user/additional_user_info.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/id_token_result.d.ts +48 -0
- package/dist/node-esm/src/core/user/id_token_result.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/invalidation.d.ts +18 -0
- package/dist/node-esm/src/core/user/invalidation.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/link_unlink.d.ts +30 -0
- package/dist/node-esm/src/core/user/link_unlink.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/proactive_refresh.d.ts +34 -0
- package/dist/node-esm/src/core/user/proactive_refresh.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/reauthenticate.d.ts +20 -0
- package/dist/node-esm/src/core/user/reauthenticate.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/reload.d.ts +27 -0
- package/dist/node-esm/src/core/user/reload.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/token_manager.d.ts +49 -0
- package/dist/node-esm/src/core/user/token_manager.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/user_credential_impl.d.ts +37 -0
- package/dist/node-esm/src/core/user/user_credential_impl.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/user_impl.d.ts +68 -0
- package/dist/node-esm/src/core/user/user_impl.test.d.ts +17 -0
- package/dist/node-esm/src/core/user/user_metadata.d.ts +27 -0
- package/dist/node-esm/src/core/util/assert.d.ts +93 -0
- package/dist/node-esm/src/core/util/assert.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/browser.d.ts +50 -0
- package/dist/node-esm/src/core/util/browser.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/delay.d.ts +31 -0
- package/dist/node-esm/src/core/util/delay.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/emulator.d.ts +18 -0
- package/dist/node-esm/src/core/util/emulator.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/event_id.d.ts +17 -0
- package/dist/node-esm/src/core/util/event_id.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/fetch_provider.d.ts +25 -0
- package/dist/node-esm/src/core/util/handler.d.ts +20 -0
- package/dist/node-esm/src/core/util/instantiator.d.ts +28 -0
- package/dist/node-esm/src/core/util/instantiator.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/location.d.ts +19 -0
- package/dist/node-esm/src/core/util/log.d.ts +22 -0
- package/dist/node-esm/src/core/util/navigator.d.ts +21 -0
- package/dist/node-esm/src/core/util/providers.d.ts +23 -0
- package/dist/node-esm/src/core/util/resolver.d.ts +25 -0
- package/dist/node-esm/src/core/util/time.d.ts +17 -0
- package/dist/node-esm/src/core/util/validate_origin.d.ts +18 -0
- package/dist/node-esm/src/core/util/validate_origin.test.d.ts +17 -0
- package/dist/node-esm/src/core/util/version.d.ts +30 -0
- package/dist/node-esm/src/core/util/version.test.d.ts +17 -0
- package/dist/node-esm/src/index.d.ts +18 -0
- package/dist/node-esm/src/mfa/index.d.ts +18 -0
- package/dist/node-esm/src/mfa/mfa_assertion.d.ts +27 -0
- package/dist/node-esm/src/mfa/mfa_error.d.ts +35 -0
- package/dist/node-esm/src/mfa/mfa_info.d.ts +32 -0
- package/dist/node-esm/src/mfa/mfa_info.test.d.ts +17 -0
- package/dist/node-esm/src/mfa/mfa_resolver.d.ts +41 -0
- package/dist/node-esm/src/mfa/mfa_resolver.test.d.ts +17 -0
- package/dist/node-esm/src/mfa/mfa_session.d.ts +37 -0
- package/dist/node-esm/src/mfa/mfa_session.test.d.ts +17 -0
- package/dist/node-esm/src/mfa/mfa_user.d.ts +38 -0
- package/dist/node-esm/src/mfa/mfa_user.test.d.ts +17 -0
- package/dist/node-esm/src/model/application_verifier.d.ts +23 -0
- package/dist/node-esm/src/model/auth.d.ts +75 -0
- package/dist/node-esm/src/model/enum_maps.d.ts +97 -0
- package/dist/node-esm/src/model/enums.d.ts +74 -0
- package/dist/node-esm/src/model/id_token.d.ts +84 -0
- package/dist/node-esm/src/model/popup_redirect.d.ts +92 -0
- package/dist/node-esm/src/model/public_types.d.ts +1139 -0
- package/dist/node-esm/src/model/user.d.ts +79 -0
- package/dist/node-esm/src/platform_browser/auth.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/auth_window.d.ts +37 -0
- package/dist/node-esm/src/platform_browser/iframe/gapi.d.ts +19 -0
- package/dist/node-esm/src/platform_browser/iframe/gapi.iframes.d.ts +47 -0
- package/dist/node-esm/src/platform_browser/iframe/gapi.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/iframe/iframe.d.ts +18 -0
- package/dist/node-esm/src/platform_browser/iframe/iframe.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/index.d.ts +27 -0
- package/dist/node-esm/src/platform_browser/load_js.d.ts +18 -0
- package/dist/node-esm/src/platform_browser/load_js.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/messagechannel/index.d.ts +87 -0
- package/dist/node-esm/src/platform_browser/messagechannel/promise.d.ts +33 -0
- package/dist/node-esm/src/platform_browser/messagechannel/promise.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/messagechannel/receiver.d.ts +63 -0
- package/dist/node-esm/src/platform_browser/messagechannel/receiver.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/messagechannel/sender.d.ts +46 -0
- package/dist/node-esm/src/platform_browser/messagechannel/sender.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/mfa/assertions/phone.d.ts +56 -0
- package/dist/node-esm/src/platform_browser/mfa/assertions/phone.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/persistence/browser.d.ts +27 -0
- package/dist/node-esm/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/persistence/indexed_db.d.ts +33 -0
- package/dist/node-esm/src/platform_browser/persistence/indexed_db.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/persistence/local_storage.d.ts +25 -0
- package/dist/node-esm/src/platform_browser/persistence/local_storage.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/persistence/session_storage.d.ts +24 -0
- package/dist/node-esm/src/platform_browser/persistence/session_storage.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/popup_redirect.d.ts +24 -0
- package/dist/node-esm/src/platform_browser/popup_redirect.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/providers/phone.d.ts +149 -0
- package/dist/node-esm/src/platform_browser/providers/phone.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha.d.ts +23 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_loader.d.ts +44 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_loader.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_mock.d.ts +51 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_mock.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +94 -0
- package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_verifier.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/strategies/phone.d.ts +98 -0
- package/dist/node-esm/src/platform_browser/strategies/phone.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/strategies/popup.d.ts +103 -0
- package/dist/node-esm/src/platform_browser/strategies/popup.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/strategies/redirect.d.ts +156 -0
- package/dist/node-esm/src/platform_browser/strategies/redirect.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/util/popup.d.ts +24 -0
- package/dist/node-esm/src/platform_browser/util/popup.test.d.ts +17 -0
- package/dist/node-esm/src/platform_browser/util/worker.d.ts +20 -0
- package/dist/node-esm/src/platform_cordova/plugins.d.ts +42 -0
- package/dist/node-esm/src/platform_cordova/popup_redirect/events.d.ts +39 -0
- package/dist/node-esm/src/platform_cordova/popup_redirect/events.test.d.ts +17 -0
- package/dist/node-esm/src/platform_cordova/popup_redirect/popup_redirect.d.ts +24 -0
- package/dist/node-esm/src/platform_cordova/popup_redirect/popup_redirect.test.d.ts +17 -0
- package/dist/node-esm/src/platform_cordova/popup_redirect/utils.d.ts +47 -0
- package/dist/node-esm/src/platform_cordova/popup_redirect/utils.test.d.ts +17 -0
- package/dist/node-esm/src/platform_cordova/strategies/redirect.d.ts +20 -0
- package/dist/node-esm/src/platform_node/index.d.ts +49 -0
- package/dist/node-esm/src/platform_react_native/persistence/react_native.d.ts +31 -0
- package/dist/node-esm/src/platform_react_native/persistence/react_native.test.d.ts +17 -0
- package/dist/node-esm/test/helpers/api/helper.d.ts +20 -0
- package/dist/node-esm/test/helpers/delay.d.ts +20 -0
- package/dist/node-esm/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/node-esm/test/helpers/fake_service_worker.d.ts +22 -0
- package/dist/node-esm/test/helpers/id_token_response.d.ts +18 -0
- package/dist/node-esm/test/helpers/iframe_event.d.ts +19 -0
- package/dist/node-esm/test/helpers/integration/emulator_rest_helpers.d.ts +35 -0
- package/dist/node-esm/test/helpers/integration/helpers.d.ts +20 -0
- package/dist/node-esm/test/helpers/integration/settings.d.ts +23 -0
- package/dist/node-esm/test/helpers/jwt.d.ts +17 -0
- package/dist/node-esm/test/helpers/mock_auth.d.ts +37 -0
- package/dist/node-esm/test/helpers/mock_auth_credential.d.ts +31 -0
- package/dist/node-esm/test/helpers/mock_fetch.d.ts +30 -0
- package/dist/node-esm/test/helpers/mock_fetch.test.d.ts +17 -0
- package/dist/node-esm/test/helpers/mock_popup_redirect_resolver.d.ts +24 -0
- package/dist/node-esm/test/helpers/redirect_persistence.d.ts +24 -0
- package/dist/node-esm/test/helpers/timeout_stub.d.ts +34 -0
- package/dist/node-esm/test/integration/flows/anonymous.test.d.ts +17 -0
- package/dist/node-esm/test/integration/flows/custom.local.test.d.ts +17 -0
- package/dist/node-esm/test/integration/flows/email.test.d.ts +17 -0
- package/dist/node-esm/test/integration/flows/idp.local.test.d.ts +17 -0
- package/dist/node-esm/test/integration/flows/oob.local.test.d.ts +17 -0
- package/dist/node-esm/test/integration/flows/phone.test.d.ts +17 -0
- package/dist/node-esm/test/integration/webdriver/anonymous.test.d.ts +17 -0
- package/dist/node-esm/test/integration/webdriver/compat/firebaseui.test.d.ts +17 -0
- package/dist/node-esm/test/integration/webdriver/persistence.test.d.ts +17 -0
- package/dist/node-esm/test/integration/webdriver/popup.test.d.ts +17 -0
- package/dist/node-esm/test/integration/webdriver/redirect.test.d.ts +17 -0
- package/dist/node-esm/test/integration/webdriver/util/auth_driver.d.ts +46 -0
- package/dist/node-esm/test/integration/webdriver/util/functions.d.ts +77 -0
- package/dist/node-esm/test/integration/webdriver/util/idp_page.d.ts +31 -0
- package/dist/node-esm/test/integration/webdriver/util/js_load_condition.d.ts +25 -0
- package/dist/node-esm/test/integration/webdriver/util/test_runner.d.ts +19 -0
- package/dist/node-esm/test/integration/webdriver/util/test_server.d.ts +27 -0
- package/dist/node-esm/test/integration/webdriver/util/ui_page.d.ts +33 -0
- package/dist/rn/index.js +70 -64
- package/dist/rn/index.js.map +1 -1
- package/dist/rn/index.rn.d.ts +3 -0
- package/dist/rn/internal.js +338 -1465
- package/dist/rn/internal.js.map +1 -1
- package/dist/rn/{enum_maps-81db3ff6.js → phone-fe0b5242.js} +1195 -34
- package/dist/rn/phone-fe0b5242.js.map +1 -0
- package/dist/rn/src/core/errors.d.ts +2 -2
- package/dist/rn/src/core/strategies/abstract_popup_redirect_operation.d.ts +1 -1
- package/dist/rn/src/mfa/mfa_error.d.ts +4 -5
- package/dist/rn/src/model/public_types.d.ts +25 -19
- package/dist/rn/src/platform_browser/persistence/browser.d.ts +4 -3
- package/dist/rn/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/rn/src/platform_browser/strategies/phone.d.ts +3 -0
- package/dist/rn/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/dist/src/core/errors.d.ts +2 -2
- package/dist/src/core/strategies/abstract_popup_redirect_operation.d.ts +1 -1
- package/dist/src/mfa/mfa_error.d.ts +4 -5
- package/dist/src/model/public_types.d.ts +25 -19
- package/dist/src/platform_browser/persistence/browser.d.ts +4 -3
- package/dist/src/platform_browser/persistence/browser.test.d.ts +17 -0
- package/dist/src/platform_browser/strategies/phone.d.ts +3 -0
- package/dist/test/helpers/erroring_unavailable_persistence.d.ts +36 -0
- package/package.json +31 -9
- package/dist/cordova/popup_redirect-f608cd47.js.map +0 -1
- package/dist/esm2017/index-f41a0691.js.map +0 -1
- package/dist/esm5/index-fd8b7af5.js.map +0 -1
- package/dist/node/index-358613ec.js.map +0 -1
- package/dist/rn/enum_maps-81db3ff6.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @firebase/auth
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b6f30c24f`](https://github.com/firebase/firebase-js-sdk/commit/b6f30c24fdf096ac4e8bdba32b9c1380903a7507) [#5617](https://github.com/firebase/firebase-js-sdk/pull/5617) (fixes [#5610](https://github.com/firebase/firebase-js-sdk/issues/5610)) - Fix behavior on subsequent calls to `getRedirectResult()`
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`69ff8eb54`](https://github.com/firebase/firebase-js-sdk/commit/69ff8eb549e49de51cae11a04bce023bb6e1fc02) [#5616](https://github.com/firebase/firebase-js-sdk/pull/5616) - Fix the public `AuthError` typing, and update the `MultiFactorError` implementation to follow the new standard (all fields listed under `customData`)
|
|
12
|
+
|
|
13
|
+
* [`2429ac105`](https://github.com/firebase/firebase-js-sdk/commit/2429ac105b0aeb15eb8c362665448c209887bada) [#5633](https://github.com/firebase/firebase-js-sdk/pull/5633) (fixes [#5631](https://github.com/firebase/firebase-js-sdk/issues/5631)) - Add the attribute `aria-hidden="true"` to the embedded iframe
|
|
14
|
+
|
|
15
|
+
- [`4594d3fd6`](https://github.com/firebase/firebase-js-sdk/commit/4594d3fd6c7f7680b877aa2017ba35084ef6af96) [#5673](https://github.com/firebase/firebase-js-sdk/pull/5673) - Export Phone sign in functionality in React Native entrypoint (except for RecaptchaVerifier)
|
|
16
|
+
|
|
17
|
+
* [`6dacc2400`](https://github.com/firebase/firebase-js-sdk/commit/6dacc2400fdcf4432ed1977ca1eb148da6db3fc5) [#5635](https://github.com/firebase/firebase-js-sdk/pull/5635) (fixes [#5618](https://github.com/firebase/firebase-js-sdk/issues/5618)) - Make the library resilient against localStorage and sessionStorage permissions errors
|
|
18
|
+
|
|
3
19
|
## 0.18.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/auth-public.d.ts
CHANGED
|
@@ -445,21 +445,24 @@ export declare class AuthCredential {
|
|
|
445
445
|
* @public
|
|
446
446
|
*/
|
|
447
447
|
export declare interface AuthError extends FirebaseError {
|
|
448
|
-
/**
|
|
449
|
-
readonly
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
448
|
+
/** Details about the Firebase Auth error. */
|
|
449
|
+
readonly customData: {
|
|
450
|
+
/** The name of the Firebase App which triggered this error. */
|
|
451
|
+
readonly appName: string;
|
|
452
|
+
/** The email address of the user's account, used for sign-in and linking. */
|
|
453
|
+
readonly email?: string;
|
|
454
|
+
/** The phone number of the user's account, used for sign-in and linking. */
|
|
455
|
+
readonly phoneNumber?: string;
|
|
456
|
+
/**
|
|
457
|
+
* The tenant ID being used for sign-in and linking.
|
|
458
|
+
*
|
|
459
|
+
* @remarks
|
|
460
|
+
* If you use {@link signInWithRedirect} to sign in,
|
|
461
|
+
* you have to set the tenant ID on the {@link Auth} instance again as the tenant ID is not persisted
|
|
462
|
+
* after redirection.
|
|
463
|
+
*/
|
|
464
|
+
readonly tenantId?: string;
|
|
465
|
+
};
|
|
463
466
|
}
|
|
464
467
|
|
|
465
468
|
/* Excluded from this release type: AuthErrorCode */
|
|
@@ -1687,10 +1690,13 @@ export declare interface MultiFactorAssertion {
|
|
|
1687
1690
|
* @public
|
|
1688
1691
|
*/
|
|
1689
1692
|
export declare interface MultiFactorError extends AuthError {
|
|
1690
|
-
/**
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1693
|
+
/** Details about the MultiFactorError. */
|
|
1694
|
+
readonly customData: AuthError['customData'] & {
|
|
1695
|
+
/**
|
|
1696
|
+
* The type of operation (sign-in, linking, or re-authentication) that raised the error.
|
|
1697
|
+
*/
|
|
1698
|
+
readonly operationType: typeof OperationType[keyof typeof OperationType];
|
|
1699
|
+
};
|
|
1694
1700
|
}
|
|
1695
1701
|
|
|
1696
1702
|
/**
|
|
@@ -2987,6 +2993,9 @@ export declare function signInWithEmailLink(auth: Auth, email: string, emailLink
|
|
|
2987
2993
|
*
|
|
2988
2994
|
* For abuse prevention, this method also requires a {@link ApplicationVerifier}.
|
|
2989
2995
|
* This SDK includes a reCAPTCHA-based implementation, {@link RecaptchaVerifier}.
|
|
2996
|
+
* This function can work on other platforms that do not support the
|
|
2997
|
+
* {@link RecaptchaVerifier} (like React Native), but you need to use a
|
|
2998
|
+
* third-party {@link ApplicationVerifier} implementation.
|
|
2990
2999
|
*
|
|
2991
3000
|
* @example
|
|
2992
3001
|
* ```javascript
|
package/dist/auth.d.ts
CHANGED
|
@@ -474,21 +474,24 @@ export declare class AuthCredential {
|
|
|
474
474
|
* @public
|
|
475
475
|
*/
|
|
476
476
|
export declare interface AuthError extends FirebaseError {
|
|
477
|
-
/**
|
|
478
|
-
readonly
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
477
|
+
/** Details about the Firebase Auth error. */
|
|
478
|
+
readonly customData: {
|
|
479
|
+
/** The name of the Firebase App which triggered this error. */
|
|
480
|
+
readonly appName: string;
|
|
481
|
+
/** The email address of the user's account, used for sign-in and linking. */
|
|
482
|
+
readonly email?: string;
|
|
483
|
+
/** The phone number of the user's account, used for sign-in and linking. */
|
|
484
|
+
readonly phoneNumber?: string;
|
|
485
|
+
/**
|
|
486
|
+
* The tenant ID being used for sign-in and linking.
|
|
487
|
+
*
|
|
488
|
+
* @remarks
|
|
489
|
+
* If you use {@link signInWithRedirect} to sign in,
|
|
490
|
+
* you have to set the tenant ID on the {@link Auth} instance again as the tenant ID is not persisted
|
|
491
|
+
* after redirection.
|
|
492
|
+
*/
|
|
493
|
+
readonly tenantId?: string;
|
|
494
|
+
};
|
|
492
495
|
}
|
|
493
496
|
|
|
494
497
|
/**
|
|
@@ -746,7 +749,7 @@ declare interface AuthErrorParams extends GenericAuthErrorParams {
|
|
|
746
749
|
};
|
|
747
750
|
[AuthErrorCode.MFA_REQUIRED]: {
|
|
748
751
|
appName: AppName;
|
|
749
|
-
|
|
752
|
+
_serverResponse: IdTokenMfaResponse;
|
|
750
753
|
};
|
|
751
754
|
[AuthErrorCode.INVALID_CORDOVA_CONFIGURATION]: {
|
|
752
755
|
appName: AppName;
|
|
@@ -2002,10 +2005,13 @@ export declare interface MultiFactorAssertion {
|
|
|
2002
2005
|
* @public
|
|
2003
2006
|
*/
|
|
2004
2007
|
export declare interface MultiFactorError extends AuthError {
|
|
2005
|
-
/**
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2008
|
+
/** Details about the MultiFactorError. */
|
|
2009
|
+
readonly customData: AuthError['customData'] & {
|
|
2010
|
+
/**
|
|
2011
|
+
* The type of operation (sign-in, linking, or re-authentication) that raised the error.
|
|
2012
|
+
*/
|
|
2013
|
+
readonly operationType: typeof OperationType[keyof typeof OperationType];
|
|
2014
|
+
};
|
|
2009
2015
|
}
|
|
2010
2016
|
|
|
2011
2017
|
/**
|
|
@@ -3389,6 +3395,9 @@ declare interface SignInWithIdpResponse extends IdTokenResponse {
|
|
|
3389
3395
|
*
|
|
3390
3396
|
* For abuse prevention, this method also requires a {@link ApplicationVerifier}.
|
|
3391
3397
|
* This SDK includes a reCAPTCHA-based implementation, {@link RecaptchaVerifier}.
|
|
3398
|
+
* This function can work on other platforms that do not support the
|
|
3399
|
+
* {@link RecaptchaVerifier} (like React Native), but you need to use a
|
|
3400
|
+
* third-party {@link ApplicationVerifier} implementation.
|
|
3392
3401
|
*
|
|
3393
3402
|
* @example
|
|
3394
3403
|
* ```javascript
|
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, a2 as ActionCodeURL, t as AuthCredential, n as AuthErrorCodes, E as EmailAuthCredential, y as EmailAuthProvider, z as FacebookAuthProvider, F as FactorId, B as GithubAuthProvider, G as GoogleAuthProvider, v as OAuthCredential, C as OAuthProvider, O as OperationType, w as PhoneAuthCredential, P as ProviderId, D as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, Q as applyActionCode, e as browserLocalPersistence, f as browserSessionPersistence, R as checkActionCode, N as confirmPasswordReset, q as connectAuthEmulator, d as cordovaPopupRedirectResolver, V as createUserWithEmailAndPassword, m as debugErrorMap, l as deleteUser, $ as fetchSignInMethodsForEmail, aa as getAdditionalUserInfo, a7 as getIdToken, a8 as getIdTokenResult, ac as getMultiFactorResolver, g as getRedirectResult, x as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Y as isSignInWithEmailLink, J as linkWithCredential, ad as multiFactor, h as onAuthStateChanged, o as onIdTokenChanged, a3 as parseActionCodeURL, p as prodErrorMap, K as reauthenticateWithCredential, ab as reload, a0 as sendEmailVerification, M as sendPasswordResetEmail, X as sendSignInLinkToEmail, s as setPersistence, H as signInAnonymously, I as signInWithCredential, L as signInWithCustomToken, W as signInWithEmailAndPassword, Z as signInWithEmailLink, k as signOut, a9 as unlink, j as updateCurrentUser, a5 as updateEmail, a6 as updatePassword, a4 as updateProfile, u as useDeviceLanguage, a1 as verifyBeforeUpdateEmail, U 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-680c56fc.js';
|
|
3
|
+
export { A as ActionCodeOperation, a2 as ActionCodeURL, t as AuthCredential, n as AuthErrorCodes, E as EmailAuthCredential, y as EmailAuthProvider, z as FacebookAuthProvider, F as FactorId, B as GithubAuthProvider, G as GoogleAuthProvider, v as OAuthCredential, C as OAuthProvider, O as OperationType, w as PhoneAuthCredential, P as ProviderId, D as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, Q as applyActionCode, e as browserLocalPersistence, f as browserSessionPersistence, R as checkActionCode, N as confirmPasswordReset, q as connectAuthEmulator, d as cordovaPopupRedirectResolver, V as createUserWithEmailAndPassword, m as debugErrorMap, l as deleteUser, $ as fetchSignInMethodsForEmail, aa as getAdditionalUserInfo, a7 as getIdToken, a8 as getIdTokenResult, ac as getMultiFactorResolver, g as getRedirectResult, x as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Y as isSignInWithEmailLink, J as linkWithCredential, ad as multiFactor, h as onAuthStateChanged, o as onIdTokenChanged, a3 as parseActionCodeURL, p as prodErrorMap, K as reauthenticateWithCredential, ab as reload, a0 as sendEmailVerification, M as sendPasswordResetEmail, X as sendSignInLinkToEmail, s as setPersistence, H as signInAnonymously, I as signInWithCredential, L as signInWithCustomToken, W as signInWithEmailAndPassword, Z as signInWithEmailLink, k as signOut, a9 as unlink, j as updateCurrentUser, a5 as updateEmail, a6 as updatePassword, a4 as updateProfile, u as useDeviceLanguage, a1 as verifyBeforeUpdateEmail, U as verifyPasswordResetCode } from './popup_redirect-680c56fc.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import '@firebase/util';
|
|
6
6
|
import '@firebase/component';
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
import { FirebaseApp } from '@firebase/app';
|
|
18
18
|
import { Auth, Persistence } from './src/model/public_types';
|
|
19
19
|
export * from './index.shared';
|
|
20
|
+
export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
|
|
21
|
+
export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
|
|
22
|
+
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
|
|
20
23
|
/**
|
|
21
24
|
* An implementation of {@link Persistence} of type 'LOCAL' for use in React
|
|
22
25
|
* Native environments.
|
package/dist/cordova/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ae as _performApiRequest, af as _addTidIfNecessary, ag as _createError, ah as _assert, ai as Delay, aj as _window, ak as _isHttpOrHttps, al as _isWorker, am as _castAuth, I as signInWithCredential, an as sendPhoneVerificationCode, ao as startEnrollPhoneMfa, J as linkWithCredential, ap as _assertLinkedStatus, K as reauthenticateWithCredential, aq as _link, w as PhoneAuthCredential, ar as debugAssert, as as _generateEventId, at as AbstractPopupRedirectOperation, au as _assertInstanceOf, av as _withDefaultResolver, aw as FederatedAuthProvider, ax as _fail, ay as _getProjectConfig, az as _getCurrentUrl, aA as _emulatorUrl, aB as _isChromeIOS, aC as _isFirefox, aD as _isIOSStandalone, aE as _isMobileBrowser, aF as _isSafari, aG as _isIOS, f as browserSessionPersistence, aH as _getRedirectResult, aI as _getRedirectUrl, aJ as _setWindowLocation, aK as AuthEventManager, aL as debugFail, aM as finalizeEnrollPhoneMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence } from './popup_redirect-
|
|
2
|
-
export { A as ActionCodeOperation, a2 as ActionCodeURL, t as AuthCredential, n as AuthErrorCodes, aQ as AuthImpl, E as EmailAuthCredential, y as EmailAuthProvider, z as FacebookAuthProvider, F as FactorId, aS as FetchProvider, B as GithubAuthProvider, G as GoogleAuthProvider, v as OAuthCredential, C as OAuthProvider, O as OperationType, w as PhoneAuthCredential, P as ProviderId, aT as SAMLAuthCredential, D as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aO as UserImpl, ah as _assert, am as _castAuth, ax as _fail, as as _generateEventId, aR as _getClientVersion, aP as _getInstance, aH as _getRedirectResult, aN as _persistenceKeyName, Q as applyActionCode, e as browserLocalPersistence, f as browserSessionPersistence, R as checkActionCode, N as confirmPasswordReset, q as connectAuthEmulator, d as cordovaPopupRedirectResolver, V as createUserWithEmailAndPassword, m as debugErrorMap, l as deleteUser, $ as fetchSignInMethodsForEmail, aa as getAdditionalUserInfo, a7 as getIdToken, a8 as getIdTokenResult, ac as getMultiFactorResolver, g as getRedirectResult, x as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Y as isSignInWithEmailLink, J as linkWithCredential, aV as linkWithRedirect, ad as multiFactor, h as onAuthStateChanged, o as onIdTokenChanged, a3 as parseActionCodeURL, p as prodErrorMap, K as reauthenticateWithCredential, aW as reauthenticateWithRedirect, ab as reload, a0 as sendEmailVerification, M as sendPasswordResetEmail, X as sendSignInLinkToEmail, s as setPersistence, H as signInAnonymously, I as signInWithCredential, L as signInWithCustomToken, W as signInWithEmailAndPassword, Z as signInWithEmailLink, aU as signInWithRedirect, k as signOut, a9 as unlink, j as updateCurrentUser, a5 as updateEmail, a6 as updatePassword, a4 as updateProfile, u as useDeviceLanguage, a1 as verifyBeforeUpdateEmail, U as verifyPasswordResetCode } from './popup_redirect-
|
|
1
|
+
import { ae as _performApiRequest, af as _addTidIfNecessary, ag as _createError, ah as _assert, ai as Delay, aj as _window, ak as _isHttpOrHttps, al as _isWorker, am as _castAuth, I as signInWithCredential, an as sendPhoneVerificationCode, ao as startEnrollPhoneMfa, J as linkWithCredential, ap as _assertLinkedStatus, K as reauthenticateWithCredential, aq as _link, w as PhoneAuthCredential, ar as debugAssert, as as _generateEventId, at as AbstractPopupRedirectOperation, au as _assertInstanceOf, av as _withDefaultResolver, aw as FederatedAuthProvider, ax as _fail, ay as _getProjectConfig, az as _getCurrentUrl, aA as _emulatorUrl, aB as _isChromeIOS, aC as _isFirefox, aD as _isIOSStandalone, aE as _isMobileBrowser, aF as _isSafari, aG as _isIOS, f as browserSessionPersistence, aH as _getRedirectResult, aI as _getRedirectUrl, aJ as _setWindowLocation, aK as AuthEventManager, aL as debugFail, aM as finalizeEnrollPhoneMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence } from './popup_redirect-680c56fc.js';
|
|
2
|
+
export { A as ActionCodeOperation, a2 as ActionCodeURL, t as AuthCredential, n as AuthErrorCodes, aQ as AuthImpl, E as EmailAuthCredential, y as EmailAuthProvider, z as FacebookAuthProvider, F as FactorId, aS as FetchProvider, B as GithubAuthProvider, G as GoogleAuthProvider, v as OAuthCredential, C as OAuthProvider, O as OperationType, w as PhoneAuthCredential, P as ProviderId, aT as SAMLAuthCredential, D as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aO as UserImpl, ah as _assert, am as _castAuth, ax as _fail, as as _generateEventId, aR as _getClientVersion, aP as _getInstance, aH as _getRedirectResult, aN as _persistenceKeyName, Q as applyActionCode, e as browserLocalPersistence, f as browserSessionPersistence, R as checkActionCode, N as confirmPasswordReset, q as connectAuthEmulator, d as cordovaPopupRedirectResolver, V as createUserWithEmailAndPassword, m as debugErrorMap, l as deleteUser, $ as fetchSignInMethodsForEmail, aa as getAdditionalUserInfo, a7 as getIdToken, a8 as getIdTokenResult, ac as getMultiFactorResolver, g as getRedirectResult, x as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Y as isSignInWithEmailLink, J as linkWithCredential, aV as linkWithRedirect, ad as multiFactor, h as onAuthStateChanged, o as onIdTokenChanged, a3 as parseActionCodeURL, p as prodErrorMap, K as reauthenticateWithCredential, aW as reauthenticateWithRedirect, ab as reload, a0 as sendEmailVerification, M as sendPasswordResetEmail, X as sendSignInLinkToEmail, s as setPersistence, H as signInAnonymously, I as signInWithCredential, L as signInWithCustomToken, W as signInWithEmailAndPassword, Z as signInWithEmailLink, aU as signInWithRedirect, k as signOut, a9 as unlink, j as updateCurrentUser, a5 as updateEmail, a6 as updatePassword, a4 as updateProfile, u as useDeviceLanguage, a1 as verifyBeforeUpdateEmail, U as verifyPasswordResetCode } from './popup_redirect-680c56fc.js';
|
|
3
3
|
import { __awaiter, __generator, __assign, __extends, __spreadArray } from 'tslib';
|
|
4
4
|
import { querystring, getModularInstance, getUA } from '@firebase/util';
|
|
5
5
|
import { SDK_VERSION, getApp, _getProvider } from '@firebase/app';
|
|
@@ -637,6 +637,9 @@ var ConfirmationResultImpl = /** @class */ (function () {
|
|
|
637
637
|
*
|
|
638
638
|
* For abuse prevention, this method also requires a {@link ApplicationVerifier}.
|
|
639
639
|
* This SDK includes a reCAPTCHA-based implementation, {@link RecaptchaVerifier}.
|
|
640
|
+
* This function can work on other platforms that do not support the
|
|
641
|
+
* {@link RecaptchaVerifier} (like React Native), but you need to use a
|
|
642
|
+
* third-party {@link ApplicationVerifier} implementation.
|
|
640
643
|
*
|
|
641
644
|
* @example
|
|
642
645
|
* ```javascript
|
|
@@ -1461,7 +1464,8 @@ var IFRAME_ATTRIBUTES = {
|
|
|
1461
1464
|
top: '-100px',
|
|
1462
1465
|
width: '1px',
|
|
1463
1466
|
height: '1px'
|
|
1464
|
-
}
|
|
1467
|
+
},
|
|
1468
|
+
'aria-hidden': 'true'
|
|
1465
1469
|
};
|
|
1466
1470
|
// Map from apiHost to endpoint ID for passing into iframe. In current SDK, apiHost can be set to
|
|
1467
1471
|
// anything (not from a list of endpoints with IDs as in legacy), so this is the closest we can get.
|