@react-native-firebase/auth 24.1.1 → 25.0.1

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 (216) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/android/src/main/java/io/invertase/firebase/auth/ReactNativeFirebaseAuthModule.java +16 -4
  3. package/dist/module/ActionCodeURL.js +140 -0
  4. package/dist/module/ActionCodeURL.js.map +1 -0
  5. package/{lib → dist/module}/ConfirmationResult.js +4 -5
  6. package/dist/module/ConfirmationResult.js.map +1 -0
  7. package/{lib → dist/module}/MultiFactorResolver.js +14 -5
  8. package/dist/module/MultiFactorResolver.js.map +1 -0
  9. package/{lib → dist/module}/PhoneAuthListener.js +52 -75
  10. package/dist/module/PhoneAuthListener.js.map +1 -0
  11. package/dist/module/PhoneAuthState.js +25 -0
  12. package/dist/module/PhoneAuthState.js.map +1 -0
  13. package/dist/module/PhoneMultiFactorGenerator.js +39 -0
  14. package/dist/module/PhoneMultiFactorGenerator.js.map +1 -0
  15. package/{lib → dist/module}/Settings.js +3 -7
  16. package/dist/module/Settings.js.map +1 -0
  17. package/{lib → dist/module}/TotpMultiFactorGenerator.js +20 -15
  18. package/dist/module/TotpMultiFactorGenerator.js.map +1 -0
  19. package/{lib → dist/module}/TotpSecret.js +7 -5
  20. package/dist/module/TotpSecret.js.map +1 -0
  21. package/dist/module/User.js +245 -0
  22. package/dist/module/User.js.map +1 -0
  23. package/dist/module/constants.js +54 -0
  24. package/dist/module/constants.js.map +1 -0
  25. package/dist/module/credentials/AuthCredential.js +51 -0
  26. package/dist/module/credentials/AuthCredential.js.map +1 -0
  27. package/dist/module/credentials/EmailAuthCredential.js +51 -0
  28. package/dist/module/credentials/EmailAuthCredential.js.map +1 -0
  29. package/dist/module/credentials/OAuthCredential.js +84 -0
  30. package/dist/module/credentials/OAuthCredential.js.map +1 -0
  31. package/dist/module/credentials/PhoneAuthCredential.js +50 -0
  32. package/dist/module/credentials/PhoneAuthCredential.js.map +1 -0
  33. package/{lib/providers/GoogleAuthProvider.js → dist/module/credentials/index.js} +7 -19
  34. package/dist/module/credentials/index.js.map +1 -0
  35. package/{lib → dist/module}/getMultiFactorResolver.js +5 -8
  36. package/dist/module/getMultiFactorResolver.js.map +1 -0
  37. package/{lib/providers/FacebookAuthProvider.js → dist/module/index.js} +11 -18
  38. package/dist/module/index.js.map +1 -0
  39. package/dist/module/modular.js +793 -0
  40. package/dist/module/modular.js.map +1 -0
  41. package/{lib → dist/module}/multiFactor.js +16 -14
  42. package/dist/module/multiFactor.js.map +1 -0
  43. package/dist/module/namespaced.js +522 -0
  44. package/dist/module/namespaced.js.map +1 -0
  45. package/dist/module/package.json +1 -0
  46. package/dist/module/password-policy/PasswordPolicyImpl.js +103 -0
  47. package/dist/module/password-policy/PasswordPolicyImpl.js.map +1 -0
  48. package/{lib → dist/module}/password-policy/PasswordPolicyMixin.js +14 -16
  49. package/dist/module/password-policy/PasswordPolicyMixin.js.map +1 -0
  50. package/{lib → dist/module}/password-policy/passwordPolicyApi.js +18 -12
  51. package/dist/module/password-policy/passwordPolicyApi.js.map +1 -0
  52. package/{lib → dist/module}/providers/AppleAuthProvider.js +14 -7
  53. package/dist/module/providers/AppleAuthProvider.js.map +1 -0
  54. package/{lib → dist/module}/providers/EmailAuthProvider.js +10 -25
  55. package/dist/module/providers/EmailAuthProvider.js.map +1 -0
  56. package/dist/module/providers/FacebookAuthProvider.js +56 -0
  57. package/dist/module/providers/FacebookAuthProvider.js.map +1 -0
  58. package/dist/module/providers/GithubAuthProvider.js +49 -0
  59. package/dist/module/providers/GithubAuthProvider.js.map +1 -0
  60. package/dist/module/providers/GoogleAuthProvider.js +57 -0
  61. package/dist/module/providers/GoogleAuthProvider.js.map +1 -0
  62. package/dist/module/providers/OAuthProvider.js +116 -0
  63. package/dist/module/providers/OAuthProvider.js.map +1 -0
  64. package/{lib → dist/module}/providers/OIDCAuthProvider.js +15 -7
  65. package/dist/module/providers/OIDCAuthProvider.js.map +1 -0
  66. package/dist/module/providers/PhoneAuthProvider.js +87 -0
  67. package/dist/module/providers/PhoneAuthProvider.js.map +1 -0
  68. package/dist/module/providers/TwitterAuthProvider.js +50 -0
  69. package/dist/module/providers/TwitterAuthProvider.js.map +1 -0
  70. package/dist/module/types/auth.js +43 -0
  71. package/dist/module/types/auth.js.map +1 -0
  72. package/dist/module/types/internal.js +4 -0
  73. package/dist/module/types/internal.js.map +1 -0
  74. package/dist/module/types/namespaced.js +62 -0
  75. package/dist/module/types/namespaced.js.map +1 -0
  76. package/dist/module/version.js +5 -0
  77. package/dist/module/version.js.map +1 -0
  78. package/dist/module/web/RNFBAuthModule.android.js +5 -0
  79. package/dist/module/web/RNFBAuthModule.android.js.map +1 -0
  80. package/dist/module/web/RNFBAuthModule.ios.js +5 -0
  81. package/dist/module/web/RNFBAuthModule.ios.js.map +1 -0
  82. package/{lib → dist/module}/web/RNFBAuthModule.js +104 -321
  83. package/dist/module/web/RNFBAuthModule.js.map +1 -0
  84. package/dist/typescript/lib/ActionCodeURL.d.ts +41 -0
  85. package/dist/typescript/lib/ActionCodeURL.d.ts.map +1 -0
  86. package/dist/typescript/lib/ConfirmationResult.d.ts +10 -0
  87. package/dist/typescript/lib/ConfirmationResult.d.ts.map +1 -0
  88. package/dist/typescript/lib/MultiFactorResolver.d.ts +24 -0
  89. package/dist/typescript/lib/MultiFactorResolver.d.ts.map +1 -0
  90. package/dist/typescript/lib/PhoneAuthListener.d.ts +34 -0
  91. package/dist/typescript/lib/PhoneAuthListener.d.ts.map +1 -0
  92. package/dist/typescript/lib/PhoneAuthState.d.ts +7 -0
  93. package/dist/typescript/lib/PhoneAuthState.d.ts.map +1 -0
  94. package/dist/typescript/lib/PhoneMultiFactorGenerator.d.ts +7 -0
  95. package/dist/typescript/lib/PhoneMultiFactorGenerator.d.ts.map +1 -0
  96. package/dist/typescript/lib/Settings.d.ts +13 -0
  97. package/dist/typescript/lib/Settings.d.ts.map +1 -0
  98. package/dist/typescript/lib/TotpMultiFactorGenerator.d.ts +11 -0
  99. package/dist/typescript/lib/TotpMultiFactorGenerator.d.ts.map +1 -0
  100. package/dist/typescript/lib/TotpSecret.d.ts +33 -0
  101. package/dist/typescript/lib/TotpSecret.d.ts.map +1 -0
  102. package/dist/typescript/lib/User.d.ts +51 -0
  103. package/dist/typescript/lib/User.d.ts.map +1 -0
  104. package/dist/typescript/lib/constants.d.ts +35 -0
  105. package/dist/typescript/lib/constants.d.ts.map +1 -0
  106. package/dist/typescript/lib/credentials/AuthCredential.d.ts +12 -0
  107. package/dist/typescript/lib/credentials/AuthCredential.d.ts.map +1 -0
  108. package/dist/typescript/lib/credentials/EmailAuthCredential.d.ts +8 -0
  109. package/dist/typescript/lib/credentials/EmailAuthCredential.d.ts.map +1 -0
  110. package/dist/typescript/lib/credentials/OAuthCredential.d.ts +22 -0
  111. package/dist/typescript/lib/credentials/OAuthCredential.d.ts.map +1 -0
  112. package/dist/typescript/lib/credentials/PhoneAuthCredential.d.ts +8 -0
  113. package/dist/typescript/lib/credentials/PhoneAuthCredential.d.ts.map +1 -0
  114. package/dist/typescript/lib/credentials/index.d.ts +5 -0
  115. package/dist/typescript/lib/credentials/index.d.ts.map +1 -0
  116. package/dist/typescript/lib/getMultiFactorResolver.d.ts +19 -0
  117. package/dist/typescript/lib/getMultiFactorResolver.d.ts.map +1 -0
  118. package/dist/typescript/lib/index.d.ts +8 -0
  119. package/dist/typescript/lib/index.d.ts.map +1 -0
  120. package/dist/typescript/lib/modular.d.ts +370 -0
  121. package/dist/typescript/lib/modular.d.ts.map +1 -0
  122. package/dist/typescript/lib/multiFactor.d.ts +26 -0
  123. package/dist/typescript/lib/multiFactor.d.ts.map +1 -0
  124. package/dist/typescript/lib/namespaced.d.ts +12 -0
  125. package/dist/typescript/lib/namespaced.d.ts.map +1 -0
  126. package/dist/typescript/lib/password-policy/PasswordPolicyImpl.d.ts +19 -0
  127. package/dist/typescript/lib/password-policy/PasswordPolicyImpl.d.ts.map +1 -0
  128. package/dist/typescript/lib/password-policy/PasswordPolicyMixin.d.ts +11 -0
  129. package/dist/typescript/lib/password-policy/PasswordPolicyMixin.d.ts.map +1 -0
  130. package/dist/typescript/lib/password-policy/passwordPolicyApi.d.ts +10 -0
  131. package/dist/typescript/lib/password-policy/passwordPolicyApi.d.ts.map +1 -0
  132. package/dist/typescript/lib/providers/AppleAuthProvider.d.ts +16 -0
  133. package/dist/typescript/lib/providers/AppleAuthProvider.d.ts.map +1 -0
  134. package/dist/typescript/lib/providers/EmailAuthProvider.d.ts +11 -0
  135. package/dist/typescript/lib/providers/EmailAuthProvider.d.ts.map +1 -0
  136. package/dist/typescript/lib/providers/FacebookAuthProvider.d.ts +19 -0
  137. package/dist/typescript/lib/providers/FacebookAuthProvider.d.ts.map +1 -0
  138. package/dist/typescript/lib/providers/GithubAuthProvider.d.ts +15 -0
  139. package/dist/typescript/lib/providers/GithubAuthProvider.d.ts.map +1 -0
  140. package/dist/typescript/lib/providers/GoogleAuthProvider.d.ts +21 -0
  141. package/dist/typescript/lib/providers/GoogleAuthProvider.d.ts.map +1 -0
  142. package/dist/typescript/lib/providers/OAuthProvider.d.ts +33 -0
  143. package/dist/typescript/lib/providers/OAuthProvider.d.ts.map +1 -0
  144. package/dist/typescript/lib/providers/OIDCAuthProvider.d.ts +16 -0
  145. package/dist/typescript/lib/providers/OIDCAuthProvider.d.ts.map +1 -0
  146. package/dist/typescript/lib/providers/PhoneAuthProvider.d.ts +16 -0
  147. package/dist/typescript/lib/providers/PhoneAuthProvider.d.ts.map +1 -0
  148. package/dist/typescript/lib/providers/TwitterAuthProvider.d.ts +15 -0
  149. package/dist/typescript/lib/providers/TwitterAuthProvider.d.ts.map +1 -0
  150. package/dist/typescript/lib/types/auth.d.ts +305 -0
  151. package/dist/typescript/lib/types/auth.d.ts.map +1 -0
  152. package/dist/typescript/lib/types/internal.d.ts +293 -0
  153. package/dist/typescript/lib/types/internal.d.ts.map +1 -0
  154. package/dist/typescript/lib/types/namespaced.d.ts +2185 -0
  155. package/dist/typescript/lib/types/namespaced.d.ts.map +1 -0
  156. package/dist/typescript/lib/version.d.ts +2 -0
  157. package/dist/typescript/lib/version.d.ts.map +1 -0
  158. package/dist/typescript/lib/web/RNFBAuthModule.android.d.ts +3 -0
  159. package/dist/typescript/lib/web/RNFBAuthModule.android.d.ts.map +1 -0
  160. package/dist/typescript/lib/web/RNFBAuthModule.d.ts +406 -0
  161. package/dist/typescript/lib/web/RNFBAuthModule.d.ts.map +1 -0
  162. package/dist/typescript/lib/web/RNFBAuthModule.ios.d.ts +3 -0
  163. package/dist/typescript/lib/web/RNFBAuthModule.ios.d.ts.map +1 -0
  164. package/dist/typescript/package.json +1 -0
  165. package/ios/RNFBAuth/RNFBAuthModule.m +4 -2
  166. package/lib/ActionCodeURL.ts +174 -0
  167. package/lib/ConfirmationResult.ts +42 -0
  168. package/lib/MultiFactorResolver.ts +51 -0
  169. package/lib/PhoneAuthListener.ts +312 -0
  170. package/lib/PhoneAuthState.ts +22 -0
  171. package/lib/{PhoneMultiFactorGenerator.js → PhoneMultiFactorGenerator.ts} +8 -2
  172. package/lib/Settings.ts +59 -0
  173. package/lib/TotpMultiFactorGenerator.ts +78 -0
  174. package/lib/TotpSecret.ts +71 -0
  175. package/lib/{User.js → User.ts} +127 -83
  176. package/lib/constants.ts +55 -0
  177. package/lib/credentials/AuthCredential.ts +55 -0
  178. package/lib/credentials/EmailAuthCredential.ts +70 -0
  179. package/lib/credentials/OAuthCredential.ts +113 -0
  180. package/lib/credentials/PhoneAuthCredential.ts +66 -0
  181. package/lib/{providers/GithubAuthProvider.js → credentials/index.ts} +4 -19
  182. package/lib/getMultiFactorResolver.ts +40 -0
  183. package/lib/{providers/TwitterAuthProvider.js → index.ts} +14 -19
  184. package/lib/modular.ts +1172 -0
  185. package/lib/multiFactor.ts +83 -0
  186. package/lib/namespaced.ts +846 -0
  187. package/lib/password-policy/{PasswordPolicyImpl.js → PasswordPolicyImpl.ts} +37 -19
  188. package/lib/password-policy/PasswordPolicyMixin.ts +83 -0
  189. package/lib/password-policy/passwordPolicyApi.ts +60 -0
  190. package/lib/providers/AppleAuthProvider.ts +44 -0
  191. package/lib/providers/EmailAuthProvider.ts +42 -0
  192. package/lib/providers/FacebookAuthProvider.ts +58 -0
  193. package/lib/providers/GithubAuthProvider.ts +51 -0
  194. package/lib/providers/GoogleAuthProvider.ts +60 -0
  195. package/lib/providers/OAuthProvider.ts +150 -0
  196. package/lib/providers/OIDCAuthProvider.ts +49 -0
  197. package/lib/providers/PhoneAuthProvider.ts +161 -0
  198. package/lib/providers/TwitterAuthProvider.ts +52 -0
  199. package/lib/types/auth.ts +393 -0
  200. package/lib/types/internal.ts +475 -0
  201. package/lib/{index.d.ts → types/namespaced.ts} +52 -41
  202. package/lib/version.ts +2 -0
  203. package/lib/web/RNFBAuthModule.ts +1359 -0
  204. package/package.json +41 -9
  205. package/plugin/tsconfig.tsbuildinfo +1 -1
  206. package/tsconfig.json +26 -0
  207. package/tsdoc.json +22 -0
  208. package/typedoc.json +9 -2
  209. package/lib/index.js +0 -572
  210. package/lib/modular/index.d.ts +0 -801
  211. package/lib/modular/index.js +0 -651
  212. package/lib/providers/OAuthProvider.js +0 -70
  213. package/lib/providers/PhoneAuthProvider.js +0 -52
  214. package/lib/version.js +0 -2
  215. /package/lib/web/{RNFBAuthModule.android.js → RNFBAuthModule.android.ts} +0 -0
  216. /package/lib/web/{RNFBAuthModule.ios.js → RNFBAuthModule.ios.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaced.d.ts","sourceRoot":"","sources":["../../../../lib/types/namespaced.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;;;GAGG;AAEH,MAAM,CAAC,OAAO,WAAW,iBAAi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U,mBAAmB,CAAC;QAC5B,OAAO,+BAA+B,GAAG,mBAAmB,CAAC,+BAA+B,CAAC;QAC7F,UAAU,MAAM;YACd,IAAI,EAAE,+BAA+B,CAAC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;SAC5F;QACD,UAAU,WAAW;YACnB,IAAI,IAAI,iBAAiB,CAAC,MAAM,CAAC;SAClC;KACF;CACF"}
@@ -0,0 +1,2 @@
1
+ export declare const version = "25.0.1";
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../lib/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+ export default _default;
3
+ //# sourceMappingURL=RNFBAuthModule.android.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RNFBAuthModule.android.d.ts","sourceRoot":"","sources":["../../../../lib/web/RNFBAuthModule.android.ts"],"names":[],"mappings":";AACA,wBAAkB"}
@@ -0,0 +1,406 @@
1
+ import * as firebaseAuthModule from '@react-native-firebase/app/dist/module/internal/web/firebaseAuth';
2
+ import type { ActionCodeSettings, MultiFactorError, MultiFactorResolver } from '@react-native-firebase/app/dist/module/internal/web/firebaseAuth';
3
+ type UserInfoObject = {
4
+ providerId: string;
5
+ uid: string;
6
+ displayName: string | null;
7
+ email: string | null;
8
+ photoURL: string | null;
9
+ phoneNumber: string | null;
10
+ };
11
+ type MultiFactorInfoObject = {
12
+ displayName?: string | null;
13
+ enrollmentTime: string;
14
+ factorId: string;
15
+ uid: string;
16
+ phoneNumber?: string | null;
17
+ };
18
+ type UserMetadataObject = {
19
+ creationTime: string | null;
20
+ lastSignInTime: string | null;
21
+ };
22
+ type UserObject = UserInfoObject & {
23
+ emailVerified: boolean;
24
+ isAnonymous: boolean;
25
+ tenantId: string | null;
26
+ providerData: UserInfoObject[];
27
+ metadata: UserMetadataObject;
28
+ multiFactor: {
29
+ enrolledFactors: MultiFactorInfoObject[];
30
+ };
31
+ };
32
+ type AuthResultObject = {
33
+ user: UserObject;
34
+ additionalUserInfo: {
35
+ isNewUser: boolean;
36
+ profile: Record<string, unknown> | null;
37
+ providerId: string | null;
38
+ username?: string | null;
39
+ } | null;
40
+ };
41
+ /**
42
+ * This is a 'NativeModule' for the web platform.
43
+ * Methods here are identical to the ones found in
44
+ * the native android/ios modules e.g. `@ReactMethod` annotated
45
+ * java methods on Android.
46
+ */
47
+ declare const _default: {
48
+ useUserAccessGroup(): Promise<void>;
49
+ configureAuthDomain(): Promise<never>;
50
+ getCustomAuthDomain(): Promise<never>;
51
+ /**
52
+ * Create a new auth state listener instance for a given app.
53
+ * @param {string} appName - The name of the app to get the auth instance for.
54
+ * @returns {Promise<void>} - Void promise.
55
+ */
56
+ addAuthStateListener(appName: string): Promise<void> | undefined;
57
+ /**
58
+ * Remove an auth state listener instance for a given app.
59
+ * @param {string} appName - The name of the app to get the auth instance for.
60
+ * @returns {Promise<void>} - Void promise.
61
+ */
62
+ removeAuthStateListener(appName: string): void;
63
+ /**
64
+ * Create a new ID token listener instance for a given app.
65
+ * @param {string} appName - The name of the app to get the auth instance for.
66
+ * @returns {Promise<void>} - Void promise.
67
+ */
68
+ addIdTokenListener(appName: string): Promise<void> | undefined;
69
+ /**
70
+ * Remove an ID token listener instance for a given app.
71
+ * @param {string} appName - The name of the app to get the auth instance for.
72
+ * @returns {Promise<void>} - Void promise.
73
+ */
74
+ removeIdTokenListener(appName: string): void;
75
+ forceRecaptchaFlowForTesting(): Promise<never>;
76
+ setAutoRetrievedSmsCodeForPhoneNumber(): Promise<never>;
77
+ setAppVerificationDisabledForTesting(): Promise<never>;
78
+ /**
79
+ * Sign out the current user.
80
+ * @param {string} appName - The name of the app to get the auth instance for.
81
+ * @returns {Promise<void>} - Void promise.
82
+ */
83
+ signOut(appName: string): Promise<null>;
84
+ /**
85
+ * Sign in anonymously.
86
+ * @param {*} appName - The name of the app to get the auth instance for.
87
+ * @returns
88
+ */
89
+ signInAnonymously(appName: string): Promise<AuthResultObject>;
90
+ /**
91
+ * Sign in with email and password.
92
+ * @param {string} appName - The name of the app to get the auth instance for.
93
+ * @param {string} email - The email to sign in with.
94
+ * @param {string} password - The password to sign in with.
95
+ * @returns {Promise<object>} - The result of the sign in.
96
+ */
97
+ createUserWithEmailAndPassword(appName: string, email: string, password: string): Promise<AuthResultObject>;
98
+ /**
99
+ * Sign in with email and password.
100
+ * @param {string} appName - The name of the app to get the auth instance for.
101
+ * @param {string} email - The email to sign in with.
102
+ * @param {string} password - The password to sign in with.
103
+ * @returns {Promise<object>} - The result of the sign in.
104
+ */
105
+ signInWithEmailAndPassword(appName: string, email: string, password: string): Promise<AuthResultObject>;
106
+ /**
107
+ * Check if a sign in with email link is valid
108
+ * @param {string} appName - The name of the app to get the auth instance for.
109
+ * @param {string} emailLink - The email link to sign in with.
110
+ * @returns {Promise<boolean>} - Whether the link is a valid sign in with email link.
111
+ */
112
+ isSignInWithEmailLink(appName: string, emailLink: string): Promise<boolean>;
113
+ /**
114
+ * Sign in with email link.
115
+ * @param {string} appName - The name of the app to get the auth instance for.
116
+ * @param {string} email - The email to sign in with.
117
+ * @param {string} emailLink - The email link to sign in with.
118
+ * @returns {Promise<object>} - The result of the sign in.
119
+ */
120
+ signInWithEmailLink(appName: string, email: string, emailLink: string): Promise<AuthResultObject>;
121
+ /**
122
+ * Sign in with a custom token.
123
+ * @param {string} appName - The name of the app to get the auth instance for.
124
+ * @param {string} token - The token to sign in with.
125
+ * @returns {Promise<object>} - The result of the sign in.
126
+ */
127
+ signInWithCustomToken(appName: string, token: string): Promise<AuthResultObject>;
128
+ /**
129
+ * Not implemented on web.
130
+ */
131
+ revokeToken(): Promise<null>;
132
+ /**
133
+ * Send a password reset email.
134
+ * @param {string} appName - The name of the app to get the auth instance for.
135
+ * @param {string} email - The email to send the password reset email to.
136
+ * @param {ActionCodeSettings} settings - The settings to use for the password reset email.
137
+ * @returns {Promise<null>}
138
+ */
139
+ sendPasswordResetEmail(appName: string, email: string, settings?: ActionCodeSettings): Promise<null>;
140
+ /**
141
+ * Send a sign in link to an email.
142
+ * @param {string} appName - The name of the app to get the auth instance for.
143
+ * @param {string} email - The email to send the password reset email to.
144
+ * @param {ActionCodeSettings} settings - The settings to use for the password reset email.
145
+ * @returns {Promise<null>}
146
+ */
147
+ sendSignInLinkToEmail(appName: string, email: string, settings: ActionCodeSettings): Promise<null>;
148
+ /**
149
+ * Delete the current user.
150
+ * @param {string} appName - The name of the app to get the auth instance for.
151
+ * @returns {Promise<null>}
152
+ */
153
+ delete(appName: string): Promise<null>;
154
+ /**
155
+ * Reload the current user.
156
+ * @param {string} appName - The name of the app to get the auth instance for.
157
+ * @returns {Promise<object>} - The current user object.
158
+ */
159
+ reload(appName: string): Promise<UserObject | null>;
160
+ /**
161
+ * Send a verification email to the current user.
162
+ * @param {string} appName - The name of the app to get the auth instance for.
163
+ * @param {ActionCodeSettings} actionCodeSettings - The settings to use for the email verification.
164
+ * @returns {Promise<object>} - The current user object.
165
+ */
166
+ sendEmailVerification(appName: string, actionCodeSettings?: ActionCodeSettings | null): Promise<UserObject | null>;
167
+ /**
168
+ * Verify the email before updating it.
169
+ * @param {string} appName - The name of the app to get the auth instance for.
170
+ * @param {string} email - The email to verify.
171
+ * @param {ActionCodeSettings} actionCodeSettings - The settings to use for the email verification.
172
+ * @returns {Promise<object>} - The current user object.
173
+ */
174
+ verifyBeforeUpdateEmail(appName: string, email: string, actionCodeSettings?: ActionCodeSettings | null): Promise<UserObject | null>;
175
+ /**
176
+ * Update the current user's email.
177
+ * @param {string} appName - The name of the app to get the auth instance for.
178
+ * @param {string} email - The email to update.
179
+ * @returns {Promise<object>} - The current user object.
180
+ */
181
+ updateEmail(appName: string, email: string): Promise<UserObject | null>;
182
+ /**
183
+ * Update the current user's password.
184
+ * @param {string} appName - The name of the app to get the auth instance for.
185
+ * @param {string} password - The password to update.
186
+ * @returns {Promise<object>} - The current user object.
187
+ */
188
+ updatePassword(appName: string, password: string): Promise<UserObject | null>;
189
+ /**
190
+ * Update the current user's phone number.
191
+ * @param {string} appName - The name of the app to get the auth instance for.
192
+ * @param {string} provider - The provider to update the phone number with.
193
+ * @param {string} authToken - The auth token to update the phone number with.
194
+ * @param {string} authSecret - The auth secret to update the phone number with.
195
+ * @returns {Promise<object>} - The current user object.
196
+ */
197
+ updatePhoneNumber(appName: string, provider: string, authToken: string, authSecret?: string | null): Promise<UserObject | null>;
198
+ /**
199
+ * Update the current user's profile.
200
+ * @param {string} appName - The name of the app to get the auth instance for.
201
+ * @param {object} props - The properties to update.
202
+ * @returns {Promise<object>} - The current user object.
203
+ */
204
+ updateProfile(appName: string, props: {
205
+ displayName?: string | null;
206
+ photoURL?: string | null;
207
+ }): Promise<UserObject | null>;
208
+ /**
209
+ * Sign in with a credential.
210
+ * @param {string} appName - The name of the app to get the auth instance for.
211
+ * @param {string} provider - The provider to sign in with.
212
+ * @param {string} authToken - The auth token to sign in with.
213
+ * @param {string} authSecret - The auth secret to sign in with.
214
+ * @returns {Promise<object>} - The result of the sign in.
215
+ */
216
+ signInWithCredential(appName: string, provider: string, authToken: string, authSecret?: string | null): Promise<AuthResultObject>;
217
+ signInWithProvider(): Promise<never>;
218
+ signInWithPhoneNumber(): Promise<never>;
219
+ /**
220
+ * Get a multi-factor session.
221
+ * @param {string} appName - The name of the app to get the auth instance for.
222
+ * @returns {Promise<string>} - The session ID.
223
+ */
224
+ getSession(appName: string): Promise<string | null>;
225
+ verifyPhoneNumberForMultiFactor(): Promise<never>;
226
+ finalizeMultiFactorEnrollment(): Promise<never>;
227
+ resolveMultiFactorSignIn(): Promise<never>;
228
+ confirmationResultConfirm(): Promise<never>;
229
+ verifyPhoneNumber(): Promise<never>;
230
+ /**
231
+ * Confirm the password reset code.
232
+ * @param {string} appName - The name of the app to get the auth instance for.
233
+ * @param {string} code - The code to confirm.
234
+ * @param {string} newPassword - The new password to set.
235
+ * @returns {Promise<null>}
236
+ */
237
+ confirmPasswordReset(appName: string, code: string, newPassword: string): Promise<null>;
238
+ /**
239
+ * Apply an action code.
240
+ * @param {string} appName - The name of the app to get the auth instance for.
241
+ * @param {string} code - The code to apply.
242
+ * @returns {Promise<void>} - Void promise.
243
+ */
244
+ applyActionCode(appName: string, code: string): Promise<void>;
245
+ /**
246
+ * Check an action code.
247
+ * @param {string} appName - The name of the app to get the auth instance for.
248
+ * @param {string} code - The code to check.
249
+ * @returns {Promise<object>} - The result of the check.
250
+ */
251
+ checkActionCode(appName: string, code: string): Promise<{
252
+ operation: "EMAIL_SIGNIN" | "PASSWORD_RESET" | "RECOVER_EMAIL" | "REVERT_SECOND_FACTOR_ADDITION" | "VERIFY_AND_CHANGE_EMAIL" | "VERIFY_EMAIL";
253
+ data: {
254
+ email: string | null | undefined;
255
+ fromEmail: string | null | undefined;
256
+ };
257
+ }>;
258
+ /**
259
+ * Link a credential to the current user.
260
+ * @param {string} appName - The name of the app to get the auth instance for.
261
+ * @param {string} provider - The provider to link.
262
+ * @param {string} authToken - The auth token to link.
263
+ * @param {string} authSecret - The auth secret to link.
264
+ * @returns {Promise<object>} - The current user object.
265
+ */
266
+ linkWithCredential(appName: string, provider: string, authToken: string, authSecret?: string | null): Promise<AuthResultObject | null>;
267
+ linkWithProvider(): Promise<never>;
268
+ /**
269
+ * Unlink a provider from the current user.
270
+ * @param {string} appName - The name of the app to get the auth instance for.
271
+ * @param {string} providerId - The provider ID to unlink.
272
+ * @returns {Promise<object>} - The current user object.
273
+ */
274
+ unlink(appName: string, providerId: string): Promise<UserObject | null>;
275
+ /**
276
+ * Reauthenticate with a credential.
277
+ * @param {string} appName - The name of the app to get the auth instance for.
278
+ * @param {string} provider - The provider to reauthenticate with.
279
+ * @param {string} authToken - The auth token to reauthenticate with.
280
+ * @param {string} authSecret - The auth secret to reauthenticate with.
281
+ * @returns {Promise<object>} - The current user object.
282
+ */
283
+ reauthenticateWithCredential(appName: string, provider: string, authToken: string, authSecret?: string | null): Promise<AuthResultObject | null>;
284
+ reauthenticateWithProvider(): Promise<never>;
285
+ /**
286
+ * Get the ID token for the current user.
287
+ * @param {string} appName - The name of the app to get the auth instance for.
288
+ * @param {boolean} forceRefresh - Whether to force a token refresh.
289
+ * @returns {Promise<string>} - The ID token.
290
+ */
291
+ getIdToken(appName: string, forceRefresh: boolean): Promise<string | null>;
292
+ /**
293
+ * Get the ID token result for the current user.
294
+ * @param {string} appName - The name of the app to get the auth instance for.
295
+ * @param {boolean} forceRefresh - Whether to force a token refresh.
296
+ * @returns {Promise<object>} - The ID token result.
297
+ */
298
+ getIdTokenResult(appName: string, forceRefresh: boolean): Promise<{
299
+ authTime: string;
300
+ expirationTime: string;
301
+ issuedAtTime: string;
302
+ claims: firebaseAuthModule.ParsedToken;
303
+ signInProvider: string | null;
304
+ token: string;
305
+ } | null>;
306
+ /**
307
+ * Get a MultiFactorResolver from the underlying SDK
308
+ * @param {*} _appName the name of the app to get the auth instance for
309
+ * @param {*} uid the uid of the TOTP MFA attempt
310
+ * @param {*} code the code from the user TOTP app
311
+ * @return TotpMultiFactorAssertion to use for resolving
312
+ */
313
+ assertionForSignIn(_appName: string, uid: string, code: string): firebaseAuthModule.TotpMultiFactorAssertion;
314
+ /**
315
+ * Get a MultiFactorResolver from the underlying SDK
316
+ * @param {*} appName the name of the app to get the auth instance for
317
+ * @param {*} error the MFA error returned from initial factor login attempt
318
+ * @return MultiFactorResolver to use for verifying the second factor
319
+ */
320
+ getMultiFactorResolver(appName: string, error: MultiFactorError): MultiFactorResolver | null;
321
+ /**
322
+ * generate a TOTP secret
323
+ * @param {*} _appName - The name of the app to get the auth instance for.
324
+ * @param {*} session - The MultiFactorSession to associate with the secret
325
+ * @returns object with secretKey to associate with TotpSecret
326
+ */
327
+ generateTotpSecret(_appName: string, session: string): Promise<{
328
+ secretKey: string;
329
+ }>;
330
+ /**
331
+ * unenroll from TOTP
332
+ * @param {*} appName - The name of the app to get the auth instance for.
333
+ * @param {*} enrollmentId - The ID to associate with the enrollment
334
+ * @returns
335
+ */
336
+ unenrollMultiFactor(appName: string, enrollmentId: string): Promise<null>;
337
+ /**
338
+ * finalize a TOTP enrollment
339
+ * @param {*} appName - The name of the app to get the auth instance for.
340
+ * @param {*} secretKey - The secretKey to associate native TotpSecret
341
+ * @param {*} verificationCode - The TOTP to verify
342
+ * @param {*} displayName - The name to associate as a hint
343
+ * @returns
344
+ */
345
+ finalizeTotpEnrollment(appName: string, secretKey: string, verificationCode: string, displayName?: string | null): Promise<null>;
346
+ /**
347
+ * generate a TOTP QR Code URL
348
+ * @param {*} _appName - The name of the app to get the auth instance for.
349
+ * @param {*} secretKey - The secretKey to associate with the TotpSecret
350
+ * @param {*} accountName - The account name to use in auth app
351
+ * @param {*} issuer - The issuer to use in auth app
352
+ * @returns QR Code URL
353
+ */
354
+ generateQrCodeUrl(_appName: string, secretKey: string, accountName?: string, issuer?: string): string | Promise<never>;
355
+ /**
356
+ * open a QR Code URL in an app directly
357
+ * @param {*} appName - The name of the app to get the auth instance for.
358
+ * @param {*} qrCodeUrl the URL to open in the app, from generateQrCodeUrl
359
+ * @throws Error not supported in this environment
360
+ */
361
+ openInOtpApp(): Promise<never>;
362
+ /**
363
+ * Fetch the sign in methods for an email.
364
+ * @param {string} appName - The name of the app to get the auth instance for.
365
+ * @param {string} email - The email to fetch the sign in methods for.
366
+ * @returns {Promise<string[]>} - The sign in methods for the email.
367
+ */
368
+ fetchSignInMethodsForEmail(appName: string, email: string): Promise<string[]>;
369
+ /**
370
+ * Set the language code.
371
+ * @param {string} appName - The name of the app to get the auth instance for.
372
+ * @param {string} code - The language code to set.
373
+ * @returns {void}
374
+ */
375
+ setLanguageCode(appName: string, code: string | null): Promise<void>;
376
+ /**
377
+ * Set the tenant ID.
378
+ * @param {string} appName - The name of the app to get the auth instance for.
379
+ * @param {string} tenantId - The tenant ID to set.
380
+ * @returns {void}
381
+ */
382
+ setTenantId(appName: string, tenantId: string | null): Promise<void>;
383
+ /**
384
+ * Use the device language.
385
+ * @param {string} appName - The name of the app to get the auth instance for.
386
+ * @returns void
387
+ */
388
+ useDeviceLanguage(appName: string): Promise<void>;
389
+ /**
390
+ * Verify the provided password reset code.
391
+ * @returns {string} - The users email address if valid.
392
+ */
393
+ verifyPasswordResetCode(appName: string, code: string): Promise<string>;
394
+ /**
395
+ * Connect to the auth emulator.
396
+ * @param {string} appName - The name of the app to get the auth instance for.
397
+ * @param {string} host - The host to use for the auth emulator.
398
+ * @param {number} port - The port to use for the auth emulator.
399
+ * @returns {void}
400
+ */
401
+ useEmulator(appName: string, host: string, port: number): Promise<void>;
402
+ APP_LANGUAGE: Record<string, string | null | undefined>;
403
+ APP_USER: Record<string, UserObject | undefined>;
404
+ };
405
+ export default _default;
406
+ //# sourceMappingURL=RNFBAuthModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RNFBAuthModule.d.ts","sourceRoot":"","sources":["../../../../lib/web/RNFBAuthModule.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,kEAAkE,CAAC;AA6CvG,OAAO,KAAK,EACV,kBAAkB,EAIlB,gBAAgB,EAEhB,mBAAmB,EAQpB,MAAM,kEAAkE,CAAC;AAU1E,KAAK,cAAc,GAAG;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAWF,KAAK,qBAAqB,GAAG;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,G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MAAM,gBAAgB,OAAO;IAavD;;;;;OAKG;8BAC6B,MAAM,gBAAgB,OAAO;;;;;;;;IAsB7D;;;;;;OAMG;iCAC0B,MAAM,OAAO,MAAM,QAAQ,MAAM;IAI9D;;;;;OAKG;oCAC6B,MAAM,SAAS,gBAAgB,GAAG,mBAAmB,GAAG,IAAI;IAI5F;;;;;OAKG;iCACgC,MAAM,WAAW,MAAM;;;IAe1D;;;;;OAKG;iCACgC,MAAM,gBAAgB,MAAM;IAW/D;;;;;;;OAOG;oCAEQ,MAAM,aACJ,MAAM,oBACC,MAAM,gBACV,MAAM,GAAG,IAAI;IAuB7B;;;;;;;OAOG;gCACyB,MAAM,aAAa,MAAM,gBAAgB,MAAM,WAAW,MAAM;IAW5F;;;;;OAKG;;IAYH;;;;;OAKG;wCACuC,MAAM,SAAS,MAAM;IAQ/D;;;;;OAKG;6BACsB,MAAM,QAAQ,MAAM,GAAG,IAAI;IAOpD;;;;;OAKG;yBACkB,MAAM,YAAY,MAAM,GAAG,IAAI;IAOpD;;;;OAIG;+BACwB,MAAM;IAOjC;;;OAGG;qCAC8B,MAAM,QAAQ,MAAM;IAQrD;;;;;;OAMG;yBACkB,MAAM,QAAQ,MAAM,QAAQ,MAAM;kBA19BzC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;cAC7C,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC;;AAuBlD,wBAw8BE"}
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+ export default _default;
3
+ //# sourceMappingURL=RNFBAuthModule.ios.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RNFBAuthModule.ios.d.ts","sourceRoot":"","sources":["../../../../lib/web/RNFBAuthModule.ios.ts"],"names":[],"mappings":";AACA,wBAAkB"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1541,9 +1541,11 @@ RCT_EXPORT_METHOD(useEmulator
1541
1541
  verificationCode:authTokenSecret];
1542
1542
  #endif
1543
1543
  } else if ([provider compare:@"oauth" options:NSCaseInsensitiveSearch] == NSOrderedSame) {
1544
+ NSString *IDToken = authToken.length > 0 ? authToken : nil;
1545
+ NSString *accessToken = authTokenSecret.length > 0 ? authTokenSecret : nil;
1544
1546
  credential = [FIROAuthProvider credentialWithProviderID:@"oauth"
1545
- IDToken:authToken
1546
- accessToken:authTokenSecret];
1547
+ IDToken:IDToken
1548
+ accessToken:accessToken];
1547
1549
  } else if ([provider hasPrefix:@"oidc."]) {
1548
1550
  credential = [FIROAuthProvider credentialWithProviderID:provider
1549
1551
  IDToken:authToken
@@ -0,0 +1,174 @@
1
+ /*
2
+ * Copyright (c) 2016-present Invertase Limited & Contributors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this library except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ *
16
+ */
17
+
18
+ import { ActionCodeOperation } from './constants';
19
+
20
+ function extractQuerystring(url: string): string {
21
+ const queryIndex = url.indexOf('?');
22
+ if (queryIndex < 0) {
23
+ return '';
24
+ }
25
+
26
+ const hashIndex = url.indexOf('#');
27
+ const end = hashIndex > queryIndex ? hashIndex : url.length;
28
+
29
+ return url.slice(queryIndex + 1, end);
30
+ }
31
+
32
+ function querystringDecode(query: string): Record<string, string> {
33
+ const decoded: Record<string, string> = {};
34
+
35
+ if (!query) {
36
+ return decoded;
37
+ }
38
+
39
+ for (const part of query.split('&')) {
40
+ if (!part) {
41
+ continue;
42
+ }
43
+
44
+ const separatorIndex = part.indexOf('=');
45
+ const key = decodeURIComponent(
46
+ separatorIndex >= 0 ? part.slice(0, separatorIndex) : part,
47
+ );
48
+ const value = decodeURIComponent(
49
+ separatorIndex >= 0 ? part.slice(separatorIndex + 1) : '',
50
+ );
51
+
52
+ decoded[key] = value;
53
+ }
54
+
55
+ return decoded;
56
+ }
57
+
58
+ function parseMode(mode: string | null): string | null {
59
+ switch (mode) {
60
+ case 'recoverEmail':
61
+ return ActionCodeOperation.RECOVER_EMAIL;
62
+ case 'resetPassword':
63
+ return ActionCodeOperation.PASSWORD_RESET;
64
+ case 'signIn':
65
+ return ActionCodeOperation.EMAIL_SIGNIN;
66
+ case 'verifyEmail':
67
+ return ActionCodeOperation.VERIFY_EMAIL;
68
+ case 'verifyAndChangeEmail':
69
+ return ActionCodeOperation.VERIFY_AND_CHANGE_EMAIL;
70
+ case 'revertSecondFactorAddition':
71
+ return ActionCodeOperation.REVERT_SECOND_FACTOR_ADDITION;
72
+ default:
73
+ return null;
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Parses Firebase dynamic-link style wrappers and returns the inner action link URL.
79
+ *
80
+ * Ported from firebase-js-sdk `parseDeepLink` (pure URL parsing; no native bridge).
81
+ */
82
+ function parseDeepLink(url: string): string {
83
+ const link = querystringDecode(extractQuerystring(url)).link;
84
+ const doubleDeepLink = link
85
+ ? querystringDecode(extractQuerystring(link)).deep_link_id
86
+ : null;
87
+ const iOSDeepLink = querystringDecode(extractQuerystring(url)).deep_link_id;
88
+ const iOSDoubleDeepLink = iOSDeepLink
89
+ ? querystringDecode(extractQuerystring(iOSDeepLink)).link
90
+ : null;
91
+
92
+ return iOSDoubleDeepLink || iOSDeepLink || doubleDeepLink || link || url;
93
+ }
94
+
95
+ /**
96
+ * A structure to help parse out the different components involved in an action link URL.
97
+ *
98
+ * @public
99
+ */
100
+ export class ActionCodeURL {
101
+ /**
102
+ * The API key of the email action link.
103
+ */
104
+ readonly apiKey: string;
105
+ /**
106
+ * The action code of the email action link.
107
+ */
108
+ readonly code: string;
109
+ /**
110
+ * The continue URL of the email action link. Null if not provided.
111
+ */
112
+ readonly continueUrl: string | null;
113
+ /**
114
+ * The language code of the email action link. Null if not provided.
115
+ */
116
+ readonly languageCode: string | null;
117
+ /**
118
+ * The action performed by the email action link.
119
+ */
120
+ readonly operation: string;
121
+ /**
122
+ * The tenant ID of the email action link. Null if the email action is from the parent project.
123
+ */
124
+ readonly tenantId: string | null;
125
+
126
+ private constructor(
127
+ apiKey: string,
128
+ code: string,
129
+ continueUrl: string | null,
130
+ languageCode: string | null,
131
+ operation: string,
132
+ tenantId: string | null,
133
+ ) {
134
+ this.apiKey = apiKey;
135
+ this.code = code;
136
+ this.continueUrl = continueUrl;
137
+ this.languageCode = languageCode;
138
+ this.operation = operation;
139
+ this.tenantId = tenantId;
140
+ }
141
+
142
+ /**
143
+ * Parses the email action link string and returns an {@link ActionCodeURL} if the link is valid,
144
+ * otherwise returns null.
145
+ *
146
+ * @param link - The email action link string.
147
+ * @returns The {@link ActionCodeURL} object, or null if the link is invalid.
148
+ */
149
+ static parseLink(link: string): ActionCodeURL | null {
150
+ const actionLink = parseDeepLink(link);
151
+
152
+ try {
153
+ const searchParams = querystringDecode(extractQuerystring(actionLink));
154
+ const apiKey = searchParams.apiKey ?? null;
155
+ const code = searchParams.oobCode ?? null;
156
+ const operation = parseMode(searchParams.mode ?? null);
157
+
158
+ if (!apiKey || !code || !operation) {
159
+ return null;
160
+ }
161
+
162
+ return new ActionCodeURL(
163
+ apiKey,
164
+ code,
165
+ searchParams.continueUrl ?? null,
166
+ searchParams.lang ?? null,
167
+ operation,
168
+ searchParams.tenantId ?? null,
169
+ );
170
+ } catch {
171
+ return null;
172
+ }
173
+ }
174
+ }