@firebase/auth 1.7.1 → 1.7.2-canary.14f9da66f
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/dist/auth-public.d.ts +15 -9
- package/dist/auth.d.ts +15 -9
- package/dist/browser-cjs/{index-c3c97b2a.js → index-54229e16.js} +16 -10
- package/dist/browser-cjs/index-54229e16.js.map +1 -0
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/browser-cjs/src/core/strategies/email.d.ts +5 -3
- package/dist/browser-cjs/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/browser-cjs/src/core/user/account_info.d.ts +3 -1
- package/dist/browser-cjs/src/model/public_types.d.ts +1 -1
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-176dbc3d.js → popup_redirect-10e360b6.js} +16 -10
- package/dist/cordova/popup_redirect-10e360b6.js.map +1 -0
- package/dist/cordova/src/core/strategies/email.d.ts +5 -3
- package/dist/cordova/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/cordova/src/core/user/account_info.d.ts +3 -1
- package/dist/cordova/src/model/public_types.d.ts +1 -1
- package/dist/esm2017/{index-219c3cac.js → index-f3d1e287.js} +16 -10
- package/dist/esm2017/index-f3d1e287.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/strategies/email.d.ts +5 -3
- package/dist/esm2017/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/esm2017/src/core/user/account_info.d.ts +3 -1
- package/dist/esm2017/src/model/public_types.d.ts +1 -1
- package/dist/esm5/{index-4db3aed5.js → index-09b24b61.js} +16 -10
- package/dist/esm5/index-09b24b61.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/strategies/email.d.ts +5 -3
- package/dist/esm5/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/esm5/src/core/user/account_info.d.ts +3 -1
- package/dist/esm5/src/model/public_types.d.ts +1 -1
- package/dist/index.webworker.esm5.js +15 -9
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/core/strategies/email.d.ts +5 -3
- package/dist/node/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/node/src/core/user/account_info.d.ts +3 -1
- package/dist/node/src/model/public_types.d.ts +1 -1
- package/dist/node/{totp-82f035ef.js → totp-163ef5be.js} +16 -10
- package/dist/node/{totp-82f035ef.js.map → totp-163ef5be.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/core/strategies/email.d.ts +5 -3
- package/dist/node-esm/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/node-esm/src/core/user/account_info.d.ts +3 -1
- package/dist/node-esm/src/model/public_types.d.ts +1 -1
- package/dist/node-esm/{totp-4f5b6c4c.js → totp-2ef89a62.js} +16 -10
- package/dist/node-esm/{totp-4f5b6c4c.js.map → totp-2ef89a62.js.map} +1 -1
- package/dist/rn/{index-815db531.js → index-c43f0a1f.js} +16 -10
- package/dist/rn/index-c43f0a1f.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/src/core/strategies/email.d.ts +5 -3
- package/dist/rn/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/rn/src/core/user/account_info.d.ts +3 -1
- package/dist/rn/src/model/public_types.d.ts +1 -1
- package/dist/src/core/strategies/email.d.ts +5 -3
- package/dist/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/src/core/user/account_info.d.ts +3 -1
- package/dist/src/model/public_types.d.ts +1 -1
- package/dist/web-extension-cjs/index.js +1 -1
- package/dist/web-extension-cjs/internal.js +1 -1
- package/dist/web-extension-cjs/{register-0489fcc8.js → register-6acd3653.js} +16 -10
- package/dist/{web-extension-esm2017/register-0cfbfa94.js.map → web-extension-cjs/register-6acd3653.js.map} +1 -1
- package/dist/web-extension-cjs/src/core/strategies/email.d.ts +5 -3
- package/dist/web-extension-cjs/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/web-extension-cjs/src/core/user/account_info.d.ts +3 -1
- package/dist/web-extension-cjs/src/model/public_types.d.ts +1 -1
- package/dist/web-extension-esm2017/index.js +2 -2
- package/dist/web-extension-esm2017/internal.js +2 -2
- package/dist/web-extension-esm2017/package.json +1 -0
- package/dist/web-extension-esm2017/{register-0cfbfa94.js → register-666daa09.js} +16 -10
- package/dist/{web-extension-cjs/register-0489fcc8.js.map → web-extension-esm2017/register-666daa09.js.map} +1 -1
- package/dist/web-extension-esm2017/src/core/strategies/email.d.ts +5 -3
- package/dist/web-extension-esm2017/src/core/strategies/email_and_password.d.ts +6 -4
- package/dist/web-extension-esm2017/src/core/user/account_info.d.ts +3 -1
- package/dist/web-extension-esm2017/src/model/public_types.d.ts +1 -1
- package/package.json +6 -6
- package/dist/browser-cjs/index-c3c97b2a.js.map +0 -1
- package/dist/cordova/popup_redirect-176dbc3d.js.map +0 -1
- package/dist/esm2017/index-219c3cac.js.map +0 -1
- package/dist/esm5/index-4db3aed5.js.map +0 -1
- package/dist/rn/index-815db531.js.map +0 -1
package/dist/esm2017/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './index-
|
|
1
|
+
export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './index-f3d1e287.js';
|
|
2
2
|
import '@firebase/app';
|
|
3
3
|
import '@firebase/util';
|
|
4
4
|
import '@firebase/logger';
|
package/dist/esm2017/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { au as debugAssert, av as _isIOS, aw as _isAndroid, ax as _fail, ay as _getRedirectUrl, az as _getProjectConfig, aA as _isIOS7Or8, aB as _createError, aC as _assert, aD as AuthEventManager, aE as _getInstance, b as browserLocalPersistence, aF as _persistenceKeyName, a as browserSessionPersistence, aG as _getRedirectResult, aH as _overrideRedirectResult, aI as _clearRedirectOutcomes, aJ as _castAuth } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, aL as AuthImpl, aO as AuthPopup, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, aP as FetchProvider, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aQ as SAMLAuthCredential, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, aK as UserImpl, aC as _assert, aJ as _castAuth, ax as _fail, aN as _generateEventId, aM as _getClientVersion, aE as _getInstance, aG as _getRedirectResult, aH as _overrideRedirectResult, aF as _persistenceKeyName, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './index-
|
|
1
|
+
import { au as debugAssert, av as _isIOS, aw as _isAndroid, ax as _fail, ay as _getRedirectUrl, az as _getProjectConfig, aA as _isIOS7Or8, aB as _createError, aC as _assert, aD as AuthEventManager, aE as _getInstance, b as browserLocalPersistence, aF as _persistenceKeyName, a as browserSessionPersistence, aG as _getRedirectResult, aH as _overrideRedirectResult, aI as _clearRedirectOutcomes, aJ as _castAuth } from './index-f3d1e287.js';
|
|
2
|
+
export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, aL as AuthImpl, aO as AuthPopup, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, aP as FetchProvider, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aQ as SAMLAuthCredential, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, aK as UserImpl, aC as _assert, aJ as _castAuth, ax as _fail, aN as _generateEventId, aM as _getClientVersion, aE as _getInstance, aG as _getRedirectResult, aH as _overrideRedirectResult, aF as _persistenceKeyName, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './index-f3d1e287.js';
|
|
3
3
|
import { querystringDecode } from '@firebase/util';
|
|
4
4
|
import '@firebase/app';
|
|
5
5
|
import '@firebase/logger';
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
import { ActionCodeSettings, Auth, User } from '../../model/public_types';
|
|
18
18
|
/**
|
|
19
19
|
* Gets the list of possible sign in methods for the given email address. This method returns an
|
|
20
|
-
* empty list when
|
|
21
|
-
*
|
|
20
|
+
* empty list when
|
|
21
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
22
|
+
* is enabled, irrespective of the number of authentication methods available for the given email.
|
|
22
23
|
*
|
|
23
24
|
* @remarks
|
|
24
25
|
* This is useful to differentiate methods of sign-in for the same provider, eg.
|
|
@@ -30,7 +31,8 @@ import { ActionCodeSettings, Auth, User } from '../../model/public_types';
|
|
|
30
31
|
* @param email - The user's email address.
|
|
31
32
|
*
|
|
32
33
|
* Deprecated. Migrating off of this method is recommended as a security best-practice.
|
|
33
|
-
* Learn more in the Identity Platform documentation for
|
|
34
|
+
* Learn more in the Identity Platform documentation for
|
|
35
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}.
|
|
34
36
|
* @public
|
|
35
37
|
*/
|
|
36
38
|
export declare function fetchSignInMethodsForEmail(auth: Auth, email: string): Promise<string[]>;
|
|
@@ -18,7 +18,8 @@ import { ActionCodeInfo, ActionCodeSettings, Auth, UserCredential } from '../../
|
|
|
18
18
|
/**
|
|
19
19
|
* Sends a password reset email to the given email address. This method does not throw an error when
|
|
20
20
|
* there's no user account with the given email address and
|
|
21
|
-
*
|
|
21
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
22
|
+
* is enabled.
|
|
22
23
|
*
|
|
23
24
|
* @remarks
|
|
24
25
|
* To complete the password reset, call {@link confirmPasswordReset} with the code supplied in
|
|
@@ -116,9 +117,10 @@ export declare function createUserWithEmailAndPassword(auth: Auth, email: string
|
|
|
116
117
|
* Asynchronously signs in using an email and password.
|
|
117
118
|
*
|
|
118
119
|
* @remarks
|
|
119
|
-
* Fails with an error if the email address and password do not match.
|
|
120
|
-
*
|
|
121
|
-
* this method fails with "auth/invalid-credential" in case of an invalid
|
|
120
|
+
* Fails with an error if the email address and password do not match. When
|
|
121
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
122
|
+
* is enabled, this method fails with "auth/invalid-credential" in case of an invalid
|
|
123
|
+
* email/password.
|
|
122
124
|
*
|
|
123
125
|
* This method is not supported on {@link Auth} instances created with a
|
|
124
126
|
* {@link @firebase/app#FirebaseServerApp}.
|
|
@@ -44,7 +44,9 @@ export declare function updateProfile(user: User, { displayName, photoURL: photo
|
|
|
44
44
|
* @param user - The user.
|
|
45
45
|
* @param newEmail - The new email address.
|
|
46
46
|
*
|
|
47
|
-
* Throws "auth/operation-not-allowed" error when
|
|
47
|
+
* Throws "auth/operation-not-allowed" error when
|
|
48
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
49
|
+
* is enabled.
|
|
48
50
|
* Deprecated - Use {@link verifyBeforeUpdateEmail} instead.
|
|
49
51
|
*
|
|
50
52
|
* @public
|
|
@@ -52,7 +52,7 @@ export interface Config {
|
|
|
52
52
|
/**
|
|
53
53
|
* Interface representing reCAPTCHA parameters.
|
|
54
54
|
*
|
|
55
|
-
* See the
|
|
55
|
+
* See the {@link https://developers.google.com/recaptcha/docs/display#render_param | reCAPTCHA docs}
|
|
56
56
|
* for the list of accepted parameters. All parameters are accepted except for `sitekey`: Firebase Auth
|
|
57
57
|
* provisions a reCAPTCHA for each project and will configure the site key upon rendering.
|
|
58
58
|
*
|
|
@@ -6757,7 +6757,8 @@ function recachePasswordPolicy(auth) {
|
|
|
6757
6757
|
/**
|
|
6758
6758
|
* Sends a password reset email to the given email address. This method does not throw an error when
|
|
6759
6759
|
* there's no user account with the given email address and
|
|
6760
|
-
*
|
|
6760
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
6761
|
+
* is enabled.
|
|
6761
6762
|
*
|
|
6762
6763
|
* @remarks
|
|
6763
6764
|
* To complete the password reset, call {@link confirmPasswordReset} with the code supplied in
|
|
@@ -7003,9 +7004,10 @@ function createUserWithEmailAndPassword(auth, email, password) {
|
|
|
7003
7004
|
* Asynchronously signs in using an email and password.
|
|
7004
7005
|
*
|
|
7005
7006
|
* @remarks
|
|
7006
|
-
* Fails with an error if the email address and password do not match.
|
|
7007
|
-
*
|
|
7008
|
-
* this method fails with "auth/invalid-credential" in case of an invalid
|
|
7007
|
+
* Fails with an error if the email address and password do not match. When
|
|
7008
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
7009
|
+
* is enabled, this method fails with "auth/invalid-credential" in case of an invalid
|
|
7010
|
+
* email/password.
|
|
7009
7011
|
*
|
|
7010
7012
|
* This method is not supported on {@link Auth} instances created with a
|
|
7011
7013
|
* {@link @firebase/app#FirebaseServerApp}.
|
|
@@ -7229,8 +7231,9 @@ function createAuthUri(auth, request) {
|
|
|
7229
7231
|
*/
|
|
7230
7232
|
/**
|
|
7231
7233
|
* Gets the list of possible sign in methods for the given email address. This method returns an
|
|
7232
|
-
* empty list when
|
|
7233
|
-
*
|
|
7234
|
+
* empty list when
|
|
7235
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
7236
|
+
* is enabled, irrespective of the number of authentication methods available for the given email.
|
|
7234
7237
|
*
|
|
7235
7238
|
* @remarks
|
|
7236
7239
|
* This is useful to differentiate methods of sign-in for the same provider, eg.
|
|
@@ -7242,7 +7245,8 @@ function createAuthUri(auth, request) {
|
|
|
7242
7245
|
* @param email - The user's email address.
|
|
7243
7246
|
*
|
|
7244
7247
|
* Deprecated. Migrating off of this method is recommended as a security best-practice.
|
|
7245
|
-
* Learn more in the Identity Platform documentation for
|
|
7248
|
+
* Learn more in the Identity Platform documentation for
|
|
7249
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}.
|
|
7246
7250
|
* @public
|
|
7247
7251
|
*/
|
|
7248
7252
|
function fetchSignInMethodsForEmail(auth, email) {
|
|
@@ -7500,7 +7504,9 @@ function updateProfile(user, _a) {
|
|
|
7500
7504
|
* @param user - The user.
|
|
7501
7505
|
* @param newEmail - The new email address.
|
|
7502
7506
|
*
|
|
7503
|
-
* Throws "auth/operation-not-allowed" error when
|
|
7507
|
+
* Throws "auth/operation-not-allowed" error when
|
|
7508
|
+
* {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
|
|
7509
|
+
* is enabled.
|
|
7504
7510
|
* Deprecated - Use {@link verifyBeforeUpdateEmail} instead.
|
|
7505
7511
|
*
|
|
7506
7512
|
* @public
|
|
@@ -12474,7 +12480,7 @@ function _isEmptyString(input) {
|
|
|
12474
12480
|
}
|
|
12475
12481
|
|
|
12476
12482
|
var name = "@firebase/auth";
|
|
12477
|
-
var version = "1.7.
|
|
12483
|
+
var version = "1.7.2-canary.14f9da66f";
|
|
12478
12484
|
|
|
12479
12485
|
/**
|
|
12480
12486
|
* @license
|
|
@@ -12761,4 +12767,4 @@ _setExternalJSProvider({
|
|
|
12761
12767
|
registerAuth("Browser" /* ClientPlatform.BROWSER */);
|
|
12762
12768
|
|
|
12763
12769
|
export { TwitterAuthProvider as $, ActionCodeOperation as A, updateCurrentUser as B, signOut as C, revokeAccessToken as D, deleteUser as E, FactorId as F, debugErrorMap as G, prodErrorMap as H, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as I, initializeAuth as J, connectAuthEmulator as K, AuthCredential as L, EmailAuthCredential as M, OAuthCredential as N, OperationType as O, PhoneAuthProvider as P, PhoneAuthCredential as Q, RecaptchaVerifier as R, SignInMethod as S, TotpMultiFactorGenerator as T, inMemoryPersistence as U, EmailAuthProvider as V, FacebookAuthProvider as W, GoogleAuthProvider as X, GithubAuthProvider as Y, OAuthProvider as Z, SAMLAuthProvider as _, browserSessionPersistence as a, signInAnonymously as a0, signInWithCredential as a1, linkWithCredential as a2, reauthenticateWithCredential as a3, signInWithCustomToken as a4, sendPasswordResetEmail as a5, confirmPasswordReset as a6, applyActionCode as a7, checkActionCode as a8, verifyPasswordResetCode as a9, _isIOS7Or8 as aA, _assert as aB, _createError as aC, AuthEventManager as aD, _getInstance as aE, _persistenceKeyName as aF, _clearRedirectOutcomes as aG, _getRedirectResult as aH, _overrideRedirectResult as aI, _castAuth as aJ, UserImpl as aK, AuthImpl as aL, _getClientVersion as aM, _generateEventId as aN, AuthPopup as aO, FetchProvider as aP, SAMLAuthCredential as aQ, createUserWithEmailAndPassword as aa, signInWithEmailAndPassword as ab, sendSignInLinkToEmail as ac, isSignInWithEmailLink as ad, signInWithEmailLink as ae, fetchSignInMethodsForEmail as af, sendEmailVerification as ag, verifyBeforeUpdateEmail as ah, ActionCodeURL as ai, parseActionCodeURL as aj, updateProfile as ak, updateEmail as al, updatePassword as am, getIdToken as an, getIdTokenResult as ao, unlink as ap, getAdditionalUserInfo as aq, reload as ar, getMultiFactorResolver as as, multiFactor as at, _isIOS as au, _isAndroid as av, _fail as aw, _getRedirectUrl as ax, debugAssert as ay, _getProjectConfig as az, browserLocalPersistence as b, signInWithPopup as c, linkWithPopup as d, reauthenticateWithPopup as e, signInWithRedirect as f, linkWithRedirect as g, reauthenticateWithRedirect as h, indexedDBLocalPersistence as i, getRedirectResult as j, browserPopupRedirectResolver as k, linkWithPhoneNumber as l, PhoneMultiFactorGenerator as m, TotpSecret as n, getAuth as o, ProviderId as p, setPersistence as q, reauthenticateWithPhoneNumber as r, signInWithPhoneNumber as s, initializeRecaptchaConfig as t, updatePhoneNumber as u, validatePassword as v, onIdTokenChanged as w, beforeAuthStateChanged as x, onAuthStateChanged as y, useDeviceLanguage as z };
|
|
12764
|
-
//# sourceMappingURL=index-
|
|
12770
|
+
//# sourceMappingURL=index-09b24b61.js.map
|