@firebase/auth 0.19.2 → 0.19.3-canary.ce39a1a07

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/auth-public.d.ts +9 -10
  3. package/dist/auth.d.ts +9 -10
  4. package/dist/cordova/index.js +2 -2
  5. package/dist/cordova/index.rn.d.ts +2 -0
  6. package/dist/cordova/internal.js +2 -2
  7. package/dist/cordova/{popup_redirect-c9a90ba6.js → popup_redirect-cccc2cf0.js} +10 -10
  8. package/dist/cordova/popup_redirect-cccc2cf0.js.map +1 -0
  9. package/dist/cordova/src/core/providers/facebook.d.ts +2 -2
  10. package/dist/cordova/src/core/providers/github.d.ts +2 -2
  11. package/dist/cordova/src/core/providers/google.d.ts +2 -2
  12. package/dist/cordova/src/core/providers/twitter.d.ts +2 -2
  13. package/dist/cordova/src/model/public_types.d.ts +1 -2
  14. package/dist/cordova/src/platform_react_native/persistence/react_native.d.ts +4 -10
  15. package/dist/esm2017/{index-aa9a64ed.js → index-c35b9425.js} +10 -10
  16. package/dist/esm2017/index-c35b9425.js.map +1 -0
  17. package/dist/esm2017/index.js +1 -1
  18. package/dist/esm2017/index.rn.d.ts +2 -0
  19. package/dist/esm2017/internal.js +2 -2
  20. package/dist/esm2017/src/core/providers/facebook.d.ts +2 -2
  21. package/dist/esm2017/src/core/providers/github.d.ts +2 -2
  22. package/dist/esm2017/src/core/providers/google.d.ts +2 -2
  23. package/dist/esm2017/src/core/providers/twitter.d.ts +2 -2
  24. package/dist/esm2017/src/model/public_types.d.ts +1 -2
  25. package/dist/esm2017/src/platform_react_native/persistence/react_native.d.ts +4 -10
  26. package/dist/esm5/{index-258b887f.js → index-cbc86e16.js} +10 -10
  27. package/dist/esm5/index-cbc86e16.js.map +1 -0
  28. package/dist/esm5/index.js +1 -1
  29. package/dist/esm5/index.rn.d.ts +2 -0
  30. package/dist/esm5/internal.js +2 -2
  31. package/dist/esm5/src/core/providers/facebook.d.ts +2 -2
  32. package/dist/esm5/src/core/providers/github.d.ts +2 -2
  33. package/dist/esm5/src/core/providers/google.d.ts +2 -2
  34. package/dist/esm5/src/core/providers/twitter.d.ts +2 -2
  35. package/dist/esm5/src/model/public_types.d.ts +1 -2
  36. package/dist/esm5/src/platform_react_native/persistence/react_native.d.ts +4 -10
  37. package/dist/index.rn.d.ts +2 -0
  38. package/dist/index.webworker.esm5.js +9 -9
  39. package/dist/index.webworker.esm5.js.map +1 -1
  40. package/dist/node/{index-c31cd336.js → index-1128f950.js} +10 -10
  41. package/dist/node/{index-c31cd336.js.map → index-1128f950.js.map} +1 -1
  42. package/dist/node/index.js +1 -1
  43. package/dist/node/index.rn.d.ts +2 -0
  44. package/dist/node/internal.js +1 -1
  45. package/dist/node/src/core/providers/facebook.d.ts +2 -2
  46. package/dist/node/src/core/providers/github.d.ts +2 -2
  47. package/dist/node/src/core/providers/google.d.ts +2 -2
  48. package/dist/node/src/core/providers/twitter.d.ts +2 -2
  49. package/dist/node/src/model/public_types.d.ts +1 -2
  50. package/dist/node/src/platform_react_native/persistence/react_native.d.ts +4 -10
  51. package/dist/node-esm/{index-8ad4aaf6.js → index-aea87009.js} +10 -10
  52. package/dist/node-esm/{index-8ad4aaf6.js.map → index-aea87009.js.map} +1 -1
  53. package/dist/node-esm/index.js +1 -1
  54. package/dist/node-esm/index.rn.d.ts +2 -0
  55. package/dist/node-esm/internal.js +2 -2
  56. package/dist/node-esm/src/core/providers/facebook.d.ts +2 -2
  57. package/dist/node-esm/src/core/providers/github.d.ts +2 -2
  58. package/dist/node-esm/src/core/providers/google.d.ts +2 -2
  59. package/dist/node-esm/src/core/providers/twitter.d.ts +2 -2
  60. package/dist/node-esm/src/model/public_types.d.ts +1 -2
  61. package/dist/node-esm/src/platform_react_native/persistence/react_native.d.ts +4 -10
  62. package/dist/rn/index.js +12 -11
  63. package/dist/rn/index.js.map +1 -1
  64. package/dist/rn/index.rn.d.ts +2 -0
  65. package/dist/rn/internal.js +1 -1
  66. package/dist/rn/{phone-92c70916.js → phone-9c91b099.js} +10 -10
  67. package/dist/rn/phone-9c91b099.js.map +1 -0
  68. package/dist/rn/src/core/providers/facebook.d.ts +2 -2
  69. package/dist/rn/src/core/providers/github.d.ts +2 -2
  70. package/dist/rn/src/core/providers/google.d.ts +2 -2
  71. package/dist/rn/src/core/providers/twitter.d.ts +2 -2
  72. package/dist/rn/src/model/public_types.d.ts +1 -2
  73. package/dist/rn/src/platform_react_native/persistence/react_native.d.ts +4 -10
  74. package/dist/src/core/providers/facebook.d.ts +2 -2
  75. package/dist/src/core/providers/github.d.ts +2 -2
  76. package/dist/src/core/providers/google.d.ts +2 -2
  77. package/dist/src/core/providers/twitter.d.ts +2 -2
  78. package/dist/src/model/public_types.d.ts +1 -2
  79. package/dist/src/platform_react_native/persistence/react_native.d.ts +4 -10
  80. package/package.json +6 -6
  81. package/dist/cordova/popup_redirect-c9a90ba6.js.map +0 -1
  82. package/dist/esm2017/index-aa9a64ed.js.map +0 -1
  83. package/dist/esm5/index-258b887f.js.map +0 -1
  84. package/dist/rn/phone-92c70916.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-aa9a64ed.js';
1
+ export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-c35b9425.js';
2
2
  import '@firebase/util';
3
3
  import '@firebase/app';
4
4
  import 'tslib';
@@ -16,6 +16,7 @@
16
16
  */
17
17
  import { FirebaseApp } from '@firebase/app';
18
18
  import { Auth, Persistence } from './src/model/public_types';
19
+ import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
19
20
  export * from './index.shared';
20
21
  export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
21
22
  export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
@@ -27,4 +28,5 @@ export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions
27
28
  * @public
28
29
  */
29
30
  export declare const reactNativeLocalPersistence: Persistence;
31
+ export { getReactNativePersistence };
30
32
  export declare function getAuth(app?: FirebaseApp): Auth;
@@ -1,5 +1,5 @@
1
- import { ao as _isIOS7Or8, ap as debugAssert, aq as _isIOS, ar as _isAndroid, as as _fail, at as _getRedirectUrl, au as _getProjectConfig, av as _createError, aw as _assert, ax as _getInstance, b as browserLocalPersistence, ay as _persistenceKeyName, az as AuthEventManager, a as browserSessionPersistence, aA as _getRedirectResult, aB as _clearRedirectOutcomes, aC as _castAuth } from './index-aa9a64ed.js';
2
- export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aE as AuthImpl, aH as AuthPopup, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aI as FetchProvider, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aJ as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aD as UserImpl, aw as _assert, aC as _castAuth, as as _fail, aG as _generateEventId, aF as _getClientVersion, ax as _getInstance, aA as _getRedirectResult, ay as _persistenceKeyName, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-aa9a64ed.js';
1
+ import { ao as _isIOS7Or8, ap as debugAssert, aq as _isIOS, ar as _isAndroid, as as _fail, at as _getRedirectUrl, au as _getProjectConfig, av as _createError, aw as _assert, ax as _getInstance, b as browserLocalPersistence, ay as _persistenceKeyName, az as AuthEventManager, a as browserSessionPersistence, aA as _getRedirectResult, aB as _clearRedirectOutcomes, aC as _castAuth } from './index-c35b9425.js';
2
+ export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aE as AuthImpl, aH as AuthPopup, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aI as FetchProvider, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aJ as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aD as UserImpl, aw as _assert, aC as _castAuth, as as _fail, aG as _generateEventId, aF as _getClientVersion, ax as _getInstance, aA as _getRedirectResult, ay as _persistenceKeyName, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-c35b9425.js';
3
3
  import { querystringDecode } from '@firebase/util';
4
4
  import '@firebase/app';
5
5
  import 'tslib';
@@ -36,7 +36,7 @@ import { BaseOAuthProvider } from './oauth';
36
36
  * // This is the signed-in user
37
37
  * const user = result.user;
38
38
  * // This gives you a Facebook Access Token.
39
- * const credential = provider.credentialFromResult(auth, result);
39
+ * const credential = FacebookAuthProvider.credentialFromResult(result);
40
40
  * const token = credential.accessToken;
41
41
  * }
42
42
  * ```
@@ -51,7 +51,7 @@ import { BaseOAuthProvider } from './oauth';
51
51
  * // The signed-in user info.
52
52
  * const user = result.user;
53
53
  * // This gives you a Facebook Access Token.
54
- * const credential = provider.credentialFromResult(auth, result);
54
+ * const credential = FacebookAuthProvider.credentialFromResult(result);
55
55
  * const token = credential.accessToken;
56
56
  * ```
57
57
  *
@@ -40,7 +40,7 @@ import { BaseOAuthProvider } from './oauth';
40
40
  * // This is the signed-in user
41
41
  * const user = result.user;
42
42
  * // This gives you a Github Access Token.
43
- * const credential = provider.credentialFromResult(auth, result);
43
+ * const credential = GithubAuthProvider.credentialFromResult(result);
44
44
  * const token = credential.accessToken;
45
45
  * }
46
46
  * ```
@@ -55,7 +55,7 @@ import { BaseOAuthProvider } from './oauth';
55
55
  * // The signed-in user info.
56
56
  * const user = result.user;
57
57
  * // This gives you a Github Access Token.
58
- * const credential = provider.credentialFromResult(auth, result);
58
+ * const credential = GithubAuthProvider.credentialFromResult(result);
59
59
  * const token = credential.accessToken;
60
60
  * ```
61
61
  * @public
@@ -37,7 +37,7 @@ import { BaseOAuthProvider } from './oauth';
37
37
  * // This is the signed-in user
38
38
  * const user = result.user;
39
39
  * // This gives you a Google Access Token.
40
- * const credential = provider.credentialFromResult(auth, result);
40
+ * const credential = GoogleAuthProvider.credentialFromResult(result);
41
41
  * const token = credential.accessToken;
42
42
  * }
43
43
  * ```
@@ -53,7 +53,7 @@ import { BaseOAuthProvider } from './oauth';
53
53
  * // The signed-in user info.
54
54
  * const user = result.user;
55
55
  * // This gives you a Google Access Token.
56
- * const credential = provider.credentialFromResult(auth, result);
56
+ * const credential = GoogleAuthProvider.credentialFromResult(result);
57
57
  * const token = credential.accessToken;
58
58
  * ```
59
59
  *
@@ -51,7 +51,7 @@ import { BaseOAuthProvider } from './oauth';
51
51
  * // This is the signed-in user
52
52
  * const user = result.user;
53
53
  * // This gives you a Twitter Access Token and Secret.
54
- * const credential = provider.credentialFromResult(auth, result);
54
+ * const credential = TwitterAuthProvider.credentialFromResult(result);
55
55
  * const token = credential.accessToken;
56
56
  * const secret = credential.secret;
57
57
  * }
@@ -66,7 +66,7 @@ import { BaseOAuthProvider } from './oauth';
66
66
  * // The signed-in user info.
67
67
  * const user = result.user;
68
68
  * // This gives you a Twitter Access Token and Secret.
69
- * const credential = provider.credentialFromResult(auth, result);
69
+ * const credential = TwitterAuthProvider.credentialFromResult(result);
70
70
  * const token = credential.accessToken;
71
71
  * const secret = credential.secret;
72
72
  * ```
@@ -934,8 +934,7 @@ export interface User extends UserInfo {
934
934
  toJSON(): object;
935
935
  }
936
936
  /**
937
- * A structure containing a {@link User}, an {@link AuthCredential}, the {@link OperationType},
938
- * and any additional user information that was returned from the identity provider.
937
+ * A structure containing a {@link User}, the {@link OperationType}, and the provider ID.
939
938
  *
940
939
  * @remarks
941
940
  * `operationType` could be {@link OperationType}.SIGN_IN for a sign-in operation,
@@ -16,16 +16,10 @@
16
16
  */
17
17
  import { Persistence, ReactNativeAsyncStorage } from '../../model/public_types';
18
18
  /**
19
- * Returns a persistence class that wraps AsyncStorage imported from
20
- * `react-native` or `@react-native-community/async-storage`.
19
+ * Returns a persistence object that wraps AsyncStorage imported from
20
+ * `react-native` or `@react-native-community/async-storage`, and can
21
+ * be used in the persistence dependency field in {@link initializeAuth}.
21
22
  *
22
- * Creates a "new"-able subclass on the fly that has an empty constructor.
23
- *
24
- * In the _getInstance() implementation (see src/core/persistence/index.ts),
25
- * we expect each "externs.Persistence" object passed to us by the user to
26
- * be able to be instantiated (as a class) using "new". That function also
27
- * expects the constructor to be empty. Since ReactNativeStorage requires the
28
- * underlying storage layer, we need to be able to create subclasses
29
- * (closures, esentially) that have the storage layer but empty constructor.
23
+ * @public
30
24
  */
31
25
  export declare function getReactNativePersistence(storage: ReactNativeAsyncStorage): Persistence;
@@ -4276,7 +4276,7 @@ var OAuthProvider = /** @class */ (function (_super) {
4276
4276
  * // This is the signed-in user
4277
4277
  * const user = result.user;
4278
4278
  * // This gives you a Facebook Access Token.
4279
- * const credential = provider.credentialFromResult(auth, result);
4279
+ * const credential = FacebookAuthProvider.credentialFromResult(result);
4280
4280
  * const token = credential.accessToken;
4281
4281
  * }
4282
4282
  * ```
@@ -4291,7 +4291,7 @@ var OAuthProvider = /** @class */ (function (_super) {
4291
4291
  * // The signed-in user info.
4292
4292
  * const user = result.user;
4293
4293
  * // This gives you a Facebook Access Token.
4294
- * const credential = provider.credentialFromResult(auth, result);
4294
+ * const credential = FacebookAuthProvider.credentialFromResult(result);
4295
4295
  * const token = credential.accessToken;
4296
4296
  * ```
4297
4297
  *
@@ -4395,7 +4395,7 @@ var FacebookAuthProvider = /** @class */ (function (_super) {
4395
4395
  * // This is the signed-in user
4396
4396
  * const user = result.user;
4397
4397
  * // This gives you a Google Access Token.
4398
- * const credential = provider.credentialFromResult(auth, result);
4398
+ * const credential = GoogleAuthProvider.credentialFromResult(result);
4399
4399
  * const token = credential.accessToken;
4400
4400
  * }
4401
4401
  * ```
@@ -4411,7 +4411,7 @@ var FacebookAuthProvider = /** @class */ (function (_super) {
4411
4411
  * // The signed-in user info.
4412
4412
  * const user = result.user;
4413
4413
  * // This gives you a Google Access Token.
4414
- * const credential = provider.credentialFromResult(auth, result);
4414
+ * const credential = GoogleAuthProvider.credentialFromResult(result);
4415
4415
  * const token = credential.accessToken;
4416
4416
  * ```
4417
4417
  *
@@ -4524,7 +4524,7 @@ var GoogleAuthProvider = /** @class */ (function (_super) {
4524
4524
  * // This is the signed-in user
4525
4525
  * const user = result.user;
4526
4526
  * // This gives you a Github Access Token.
4527
- * const credential = provider.credentialFromResult(auth, result);
4527
+ * const credential = GithubAuthProvider.credentialFromResult(result);
4528
4528
  * const token = credential.accessToken;
4529
4529
  * }
4530
4530
  * ```
@@ -4539,7 +4539,7 @@ var GoogleAuthProvider = /** @class */ (function (_super) {
4539
4539
  * // The signed-in user info.
4540
4540
  * const user = result.user;
4541
4541
  * // This gives you a Github Access Token.
4542
- * const credential = provider.credentialFromResult(auth, result);
4542
+ * const credential = GithubAuthProvider.credentialFromResult(result);
4543
4543
  * const token = credential.accessToken;
4544
4544
  * ```
4545
4545
  * @public
@@ -4814,7 +4814,7 @@ var SAMLAuthProvider = /** @class */ (function (_super) {
4814
4814
  * // This is the signed-in user
4815
4815
  * const user = result.user;
4816
4816
  * // This gives you a Twitter Access Token and Secret.
4817
- * const credential = provider.credentialFromResult(auth, result);
4817
+ * const credential = TwitterAuthProvider.credentialFromResult(result);
4818
4818
  * const token = credential.accessToken;
4819
4819
  * const secret = credential.secret;
4820
4820
  * }
@@ -4829,7 +4829,7 @@ var SAMLAuthProvider = /** @class */ (function (_super) {
4829
4829
  * // The signed-in user info.
4830
4830
  * const user = result.user;
4831
4831
  * // This gives you a Twitter Access Token and Secret.
4832
- * const credential = provider.credentialFromResult(auth, result);
4832
+ * const credential = TwitterAuthProvider.credentialFromResult(result);
4833
4833
  * const token = credential.accessToken;
4834
4834
  * const secret = credential.secret;
4835
4835
  * ```
@@ -10833,7 +10833,7 @@ var PhoneMultiFactorGenerator = /** @class */ (function () {
10833
10833
  }());
10834
10834
 
10835
10835
  var name = "@firebase/auth";
10836
- var version = "0.19.2";
10836
+ var version = "0.19.3-canary.ce39a1a07";
10837
10837
 
10838
10838
  /**
10839
10839
  * @license
@@ -11038,4 +11038,4 @@ function getAuth(app) {
11038
11038
  registerAuth("Browser" /* BROWSER */);
11039
11039
 
11040
11040
  export { sendPasswordResetEmail as $, ActionCodeOperation as A, prodErrorMap as B, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as C, initializeAuth as D, connectAuthEmulator as E, FactorId as F, AuthCredential as G, EmailAuthCredential as H, OAuthCredential as I, PhoneAuthCredential as J, inMemoryPersistence as K, EmailAuthProvider as L, FacebookAuthProvider as M, GoogleAuthProvider as N, OperationType as O, PhoneAuthProvider as P, GithubAuthProvider as Q, RecaptchaVerifier as R, SignInMethod as S, OAuthProvider as T, SAMLAuthProvider as U, TwitterAuthProvider as V, signInAnonymously as W, signInWithCredential as X, linkWithCredential as Y, reauthenticateWithCredential as Z, signInWithCustomToken as _, browserSessionPersistence as a, confirmPasswordReset as a0, applyActionCode as a1, checkActionCode as a2, verifyPasswordResetCode as a3, createUserWithEmailAndPassword as a4, signInWithEmailAndPassword as a5, sendSignInLinkToEmail as a6, isSignInWithEmailLink as a7, signInWithEmailLink as a8, fetchSignInMethodsForEmail as a9, _clearRedirectOutcomes as aA, _getRedirectResult as aB, _castAuth as aC, UserImpl as aD, AuthImpl as aE, _getClientVersion as aF, _generateEventId as aG, AuthPopup as aH, FetchProvider as aI, SAMLAuthCredential as aJ, sendEmailVerification as aa, verifyBeforeUpdateEmail as ab, ActionCodeURL as ac, parseActionCodeURL as ad, updateProfile as ae, updateEmail as af, updatePassword as ag, getIdToken as ah, getIdTokenResult as ai, unlink as aj, getAdditionalUserInfo as ak, reload as al, getMultiFactorResolver as am, multiFactor as an, _isAndroid as ao, _isIOS7Or8 as ap, _isIOS as aq, _fail as ar, _getRedirectUrl as as, debugAssert as at, _getProjectConfig as au, _createError as av, _assert as aw, AuthEventManager as ax, _getInstance as ay, _persistenceKeyName 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, getAuth as n, ProviderId as o, setPersistence as p, onIdTokenChanged as q, reauthenticateWithPhoneNumber as r, signInWithPhoneNumber as s, onAuthStateChanged as t, updatePhoneNumber as u, useDeviceLanguage as v, updateCurrentUser as w, signOut as x, deleteUser as y, debugErrorMap as z };
11041
- //# sourceMappingURL=index-258b887f.js.map
11041
+ //# sourceMappingURL=index-cbc86e16.js.map