@react-native-firebase/auth 24.1.0 → 25.0.0

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 +14 -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 +779 -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 +360 -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 +292 -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 +1158 -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 +474 -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,116 @@
1
+ "use strict";
2
+
3
+ /*
4
+ * Copyright (c) 2016-present Invertase Limited & Contributors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this library except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ import { OAuthCredential } from "../credentials/index.js";
21
+ function parseOAuthCredentialJSON(json) {
22
+ let parsed;
23
+ if (typeof json === 'string') {
24
+ try {
25
+ parsed = JSON.parse(json);
26
+ } catch {
27
+ throw new Error("firebase.auth.OAuthProvider.credentialFromJSON(*) expected 'json' to be a valid JSON string.");
28
+ }
29
+ } else {
30
+ if (json === null || Array.isArray(json)) {
31
+ throw new Error("firebase.auth.OAuthProvider.credentialFromJSON(*) expected 'json' to be an object or string.");
32
+ }
33
+ parsed = json;
34
+ }
35
+ const credential = parsed;
36
+ if (typeof credential.providerId !== 'string') {
37
+ throw new Error("firebase.auth.OAuthProvider.credentialFromJSON(*) expected 'providerId' to be a string value.");
38
+ }
39
+ return credential;
40
+ }
41
+
42
+ // Keep the SDK helper signature name while mapping to RNFB's native auth error type.
43
+
44
+ export default class OAuthProvider {
45
+ /** @internal */
46
+
47
+ /** @internal */
48
+ customParameters = {};
49
+ /** @internal */
50
+ scopes = [];
51
+ constructor(providerId) {
52
+ this.providerId = providerId;
53
+ }
54
+
55
+ /** @internal */
56
+ static credential(idToken, accessToken) {
57
+ return new OAuthProvider('oauth').credential({
58
+ idToken,
59
+ accessToken
60
+ });
61
+ }
62
+ static credentialFromJSON(json) {
63
+ const credential = parseOAuthCredentialJSON(json);
64
+ return new OAuthProvider(credential.providerId).credential({
65
+ idToken: credential.idToken,
66
+ accessToken: credential.accessToken,
67
+ rawNonce: credential.rawNonce ?? credential.nonce
68
+ });
69
+ }
70
+
71
+ /** @remarks Always returns `null` on React Native Firebase. */
72
+ static credentialFromResult(_userCredential) {
73
+ return null;
74
+ }
75
+
76
+ /** @remarks Always returns `null` on React Native Firebase. */
77
+ static credentialFromError(_error) {
78
+ return null;
79
+ }
80
+ credential(params) {
81
+ return new OAuthCredential(this.providerId, {
82
+ idToken: params.idToken,
83
+ accessToken: params.accessToken,
84
+ rawNonce: params.rawNonce
85
+ });
86
+ }
87
+ get PROVIDER_ID() {
88
+ return this.providerId;
89
+ }
90
+ setCustomParameters(customOAuthParameters) {
91
+ this.customParameters = customOAuthParameters;
92
+ return this;
93
+ }
94
+ getCustomParameters() {
95
+ return this.customParameters;
96
+ }
97
+ addScope(scope) {
98
+ if (!this.scopes.includes(scope)) {
99
+ this.scopes.push(scope);
100
+ }
101
+ return this;
102
+ }
103
+ getScopes() {
104
+ return [...this.scopes];
105
+ }
106
+
107
+ /** @internal */
108
+ toObject() {
109
+ return {
110
+ providerId: this.providerId,
111
+ scopes: this.scopes,
112
+ customParameters: this.customParameters
113
+ };
114
+ }
115
+ }
116
+ //# sourceMappingURL=OAuthProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["OAuthCredential","parseOAuthCredentialJSON","json","parsed","JSON","parse","Error","Array","isArray","credential","providerId","OAuthProvider","customParameters","scopes","constructor","idToken","accessToken","credentialFromJSON","rawNonce","nonce","credentialFromResult","_userCredential","credentialFromError","_error","params","PROVIDER_ID","setCustomParameters","customOAuthParameters","getCustomParameters","addScope","scope","includes","push","getScopes","toObject"],"sourceRoot":"../../../lib","sources":["providers/OAuthProvider.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,eAAe,QAAQ,yBAAgB;AAmBhD,SAASC,wBAAwBA,CAACC,IAAqB,EAA6B;EAClF,IAAIC,MAAc;EAElB,IAAI,OAAOD,IAAI,KAAK,QAAQ,EAAE;IAC5B,IAAI;MACFC,MAAM,GAAGC,IAAI,CAACC,KAAK,CAACH,IAAI,CAAC;IAC3B,CAAC,CAAC,MAAM;MACN,MAAM,IAAII,KAAK,CACb,8FACF,CAAC;IACH;EACF,CAAC,MAAM;IACL,IAAIJ,IAAI,KAAK,IAAI,IAAIK,KAAK,CAACC,OAAO,CAACN,IAAI,CAAC,EAAE;MACxC,MAAM,IAAII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AW;MAC/BE,QAAQ,EAAEM,MAAM,CAACN;IACnB,CAAC,CAAC;EACJ;EAEA,IAAIO,WAAWA,CAAA,EAAG;IAChB,OAAO,IAAI,CAACf,UAAU;EACxB;EAEAgB,mBAAmBA,CAACC,qBAAuC,EAAiB;IAC1E,IAAI,CAACf,gBAAgB,GAAGe,qBAAqB;IAC7C,OAAO,IAAI;EACb;EAEAC,mBAAmBA,CAAA,EAAqB;IACtC,OAAO,IAAI,CAAChB,gBAAgB;EAC9B;EAEAiB,QAAQA,CAACC,KAAa,EAAiB;IACrC,IAAI,CAAC,IAAI,CAACjB,MAAM,CAACkB,QAAQ,CAACD,KAAK,CAAC,EAAE;MAChC,IAAI,CAACjB,MAAM,CAACmB,IAAI,CAACF,KAAK,CAAC;IACzB;IACA,OAAO,IAAI;EACb;EAEAG,SAASA,CAAA,EAAa;IACpB,OAAO,CAAC,GAAG,IAAI,CAACpB,MAAM,CAAC;EACzB;;EAEA;EACAqB,QAAQA,CAAA,EAAiF;IACvF,OAAO;MACLxB,UAAU,EAAE,IAAI,CAACA,UAAU;MAC3BG,MAAM,EAAE,IAAI,CAACA,MAAM;MACnBD,gBAAgB,EAAE,IAAI,CAACA;IACzB,CAAC;EACH;AACF","ignoreList":[]}
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+
1
3
  /*
2
4
  * Copyright (c) 2016-present Invertase Limited & Contributors
3
5
  *
@@ -15,22 +17,28 @@
15
17
  *
16
18
  */
17
19
 
20
+ import { AuthCredential } from "../credentials/index.js";
18
21
  const providerId = 'oidc.';
19
22
 
23
+ /**
24
+ * @deprecated Use {@link OAuthProvider} with provider ID `oidc.<your-provider-id>` instead.
25
+ *
26
+ * @example
27
+ * ```js
28
+ * const provider = new OAuthProvider('oidc.sample-provider');
29
+ * const credential = provider.credential({ idToken, accessToken });
30
+ * ```
31
+ */
20
32
  export default class OIDCAuthProvider {
21
33
  constructor() {
22
34
  throw new Error('`new OIDCAuthProvider()` is not supported on the native Firebase SDKs.');
23
35
  }
24
-
25
36
  static get PROVIDER_ID() {
26
37
  return providerId;
27
38
  }
28
-
29
39
  static credential(oidcSuffix, idToken, accessToken) {
30
- return {
31
- token: idToken,
32
- secret: accessToken,
33
- providerId: providerId + oidcSuffix,
34
- };
40
+ const resolvedProviderId = providerId + oidcSuffix;
41
+ return new AuthCredential(resolvedProviderId, resolvedProviderId, idToken, accessToken ?? '');
35
42
  }
36
43
  }
44
+ //# sourceMappingURL=OIDCAuthProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AuthCredential","providerId","OIDCAuthProvider","constructor","Error","PROVIDER_ID","credential","oidcSuffix","idToken","accessToken","resolvedProviderId"],"sourceRoot":"../../../lib","sources":["providers/OIDCAuthProvider.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,cAAc,QAAQ,yBAAgB;AAG/C,MAAMC,UAAU,GAAG,OAAgB;;AAEnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,MAAMC,gBAAgB,CAAC;EACpCC,WAAWA,CAAA,EAAG;IACZ,MAAM,IAAIC,KAAK,CAAC,wEAAwE,CAAC;EAC3F;EAEA,WAAWC,WAAWA,CAAA,EAAG;IACvB,OAAOJ,UAAU;EACnB;EAEA,OAAOK,UAAUA,CACfC,UAAkB,EAClBC,OAAe,EACfC,WAAoB,EACA;IACpB,MAAMC,kBAAkB,GAAGT,UAAU,GAAGM,UAAU;IAClD,OAAO,IAAIP,cAAc,CAACU,kBAAkB,EAAEA,kBAAkB,EAAEF,OAAO,EAAEC,WAAW,IAAI,EAAE,CAAC;EAC/F;AACF","ignoreList":[]}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ /*
4
+ * Copyright (c) 2016-present Invertase Limited & Contributors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this library except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ import { createPhoneAuthCredential } from "../credentials/index.js";
21
+
22
+ // Keep the SDK helper signature name while mapping to RNFB's native auth error type.
23
+
24
+ const providerId = 'phone';
25
+ function isPhoneMultiFactorSignInOptions(phoneInfoOptions) {
26
+ return 'session' in phoneInfoOptions && ('multiFactorHint' in phoneInfoOptions && phoneInfoOptions.multiFactorHint !== undefined || 'multiFactorUid' in phoneInfoOptions && phoneInfoOptions.multiFactorUid !== undefined);
27
+ }
28
+ function isPhoneMultiFactorEnrollOptions(phoneInfoOptions) {
29
+ return 'phoneNumber' in phoneInfoOptions && 'session' in phoneInfoOptions;
30
+ }
31
+ function isPhoneSingleFactorOptions(phoneInfoOptions) {
32
+ return 'phoneNumber' in phoneInfoOptions;
33
+ }
34
+ function verificationIdFromListener(listener) {
35
+ return new Promise((resolve, reject) => {
36
+ listener.on('state_changed', snapshot => {
37
+ if (snapshot.error) {
38
+ reject(snapshot.error);
39
+ return;
40
+ }
41
+ if (snapshot.verificationId) {
42
+ resolve(snapshot.verificationId);
43
+ }
44
+ }, error => reject(error));
45
+ });
46
+ }
47
+ export default class PhoneAuthProvider {
48
+ static PHONE_SIGN_IN_METHOD = providerId;
49
+ static PROVIDER_ID = providerId;
50
+ providerId = providerId;
51
+ constructor(auth) {
52
+ if (auth === undefined) {
53
+ throw new Error('`new PhoneAuthProvider()` is not supported on the native Firebase SDKs.');
54
+ }
55
+ this._auth = auth;
56
+ }
57
+ static credential(verificationId, code) {
58
+ return createPhoneAuthCredential(verificationId, code);
59
+ }
60
+ static credentialFromResult(_userCredential) {
61
+ return null;
62
+ }
63
+ static credentialFromError(_error) {
64
+ return null;
65
+ }
66
+ verifyPhoneNumber(phoneInfoOptions,
67
+ // Native SDKs own app verification, so the JS SDK verifier is accepted for type parity only.
68
+ _appVerifier) {
69
+ if (typeof phoneInfoOptions === 'string') {
70
+ return verificationIdFromListener(this._auth.app.auth().verifyPhoneNumber(phoneInfoOptions));
71
+ }
72
+ if (isPhoneMultiFactorSignInOptions(phoneInfoOptions)) {
73
+ const multiFactorHint = phoneInfoOptions.multiFactorHint ?? {
74
+ uid: phoneInfoOptions.multiFactorUid
75
+ };
76
+ return this._auth.app.auth().verifyPhoneNumberWithMultiFactorInfo(multiFactorHint, phoneInfoOptions.session);
77
+ }
78
+ if (isPhoneMultiFactorEnrollOptions(phoneInfoOptions)) {
79
+ return this._auth.app.auth().verifyPhoneNumberForMultiFactor(phoneInfoOptions);
80
+ }
81
+ if (isPhoneSingleFactorOptions(phoneInfoOptions)) {
82
+ return verificationIdFromListener(this._auth.app.auth().verifyPhoneNumber(phoneInfoOptions.phoneNumber));
83
+ }
84
+ throw new Error('`PhoneAuthProvider.verifyPhoneNumber()` requires a phone number, phone info options, or multi-factor phone info.');
85
+ }
86
+ }
87
+ //# sourceMappingURL=PhoneAuthProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createPhoneAuthCredential","providerId","isPhoneMultiFactorSignInOptions","phoneInfoOptions","multiFactorHint","undefined","multiFactorUid","isPhoneMultiFactorEnrollOptions","isPhoneSingleFactorOptions","verificationIdFromListener","listener","Promise","resolve","reject","on","snapshot","error","verificationId","PhoneAuthProvider","PHONE_SIGN_IN_METHOD","PROVIDER_ID","constructor","auth","Error","_auth","credential","code","credentialFromResult","_userCredential","credentialFromError","_error","verifyPhoneNumber","_appVerifier","app","uid","verifyPhoneNumberWithMultiFactorInfo","session","verifyPhoneNumberForMultiFactor","phoneNumber"],"sourceRoot":"../../../lib","sources":["providers/PhoneAuthProvider.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ /*
4
+ * Copyright (c) 2016-present Invertase Limited & Contributors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this library except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ import { OAuthCredential } from "../credentials/index.js";
21
+
22
+ // Keep the SDK helper signature name while mapping to RNFB's native auth error type.
23
+
24
+ const providerId = 'twitter.com';
25
+ export default class TwitterAuthProvider {
26
+ static TWITTER_SIGN_IN_METHOD = providerId;
27
+ static PROVIDER_ID = providerId;
28
+ constructor() {
29
+ throw new Error('`new TwitterAuthProvider()` is not supported on the native Firebase SDKs.');
30
+ }
31
+ static credential(token, secret) {
32
+ return new OAuthCredential(providerId, {
33
+ accessToken: token,
34
+ secret,
35
+ bridgeToken: token,
36
+ bridgeSecret: secret
37
+ });
38
+ }
39
+
40
+ /** @remarks Always returns `null` on React Native Firebase. */
41
+ static credentialFromResult(_userCredential) {
42
+ return null;
43
+ }
44
+
45
+ /** @remarks Always returns `null` on React Native Firebase. */
46
+ static credentialFromError(_error) {
47
+ return null;
48
+ }
49
+ }
50
+ //# sourceMappingURL=TwitterAuthProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["OAuthCredential","providerId","TwitterAuthProvider","TWITTER_SIGN_IN_METHOD","PROVIDER_ID","constructor","Error","credential","token","secret","accessToken","bridgeToken","bridgeSecret","credentialFromResult","_userCredential","credentialFromError","_error"],"sourceRoot":"../../../lib","sources":["providers/TwitterAuthProvider.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,eAAe,QAAQ,yBAAgB;;AAGhD;;AAGA,MAAMC,UAAU,GAAG,aAAsB;AAEzC,eAAe,MAAMC,mBAAmB,CAAC;EACvC,OAAgBC,sBAAsB,GAAkBF,UAAU;EAClE,OAAgBG,WAAW,GAAkBH,UAAU;EAEvDI,WAAWA,CAAA,EAAG;IACZ,MAAM,IAAIC,KAAK,CAAC,2EAA2E,CAAC;EAC9F;EAEA,OAAOC,UAAUA,CAACC,KAAa,EAAEC,MAAc,EAAmB;IAChE,OAAO,IAAIT,eAAe,CAACC,UAAU,EAAE;MACrCS,WAAW,EAAEF,KAAK;MAClBC,MAAM;MACNE,WAAW,EAAEH,KAAK;MAClBI,YAAY,EAAEH;IAChB,CAAC,CAAC;EACJ;;EAEA;EACA,OAAOI,oBAAoBA,CAACC,eAA+B,EAA0B;IACnF,OAAO,IAAI;EACb;;EAEA;EACA,OAAOC,mBAAmBA,CAACC,MAAqB,EAA0B;IACxE,OAAO,IAAI;EACb;AACF","ignoreList":[]}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ /*
4
+ * Copyright (c) 2016-present Invertase Limited & Contributors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this library except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ /**
21
+ * @deprecated Use {@link OAuthProvider} with provider ID `oidc.<suffix>` instead.
22
+ */
23
+
24
+ export { ActionCodeURL } from "../ActionCodeURL.js";
25
+
26
+ /**
27
+ * Firebase JS SDK auth configuration. Native iOS/Android Firebase Auth SDKs do not expose
28
+ * this object, so {@link Auth.config} always returns an empty object on React Native.
29
+ */
30
+
31
+ // Keep these quoted to match the firebase-js-sdk declaration text used by compare-types.
32
+ // prettier-ignore
33
+
34
+ /**
35
+ * firebase-js-sdk `AdditionalUserInfo` fields plus any extra keys returned by the native bridge.
36
+ * Extra keys are preserved for backwards compatibility when native adds provider-specific fields.
37
+ */
38
+
39
+ /**
40
+ * @remarks Modular helpers populate top-level `providerId` and `operationType`. When present,
41
+ * `additionalUserInfo` is enumerable and includes firebase-js-sdk fields plus any extra native keys.
42
+ */
43
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ActionCodeURL"],"sourceRoot":"../../../lib","sources":["types/auth.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAoFA;AACA;AACA;;AAsCA,SAASA,aAAa,QAAQ,qBAAkB;;AAEhD;AACA;AACA;AACA;;AAiFA;AACA;;AAuBA;AACA;AACA;AACA;;AAyCA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=internal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../lib","sources":["types/internal.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ /*
4
+ * Copyright (c) 2016-present Invertase Limited & Contributors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this library except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ import { ReactNativeFirebase } from '@react-native-firebase/app';
21
+
22
+ /**
23
+ * Firebase Authentication package for React Native.
24
+ *
25
+ * #### Example: Access the firebase export from the `auth` package:
26
+ *
27
+ * ```js
28
+ * import { firebase } from '@react-native-firebase/auth';
29
+ *
30
+ * // firebase.auth().X
31
+ * ```
32
+ *
33
+ * #### Example: Using the default export from the `auth` package:
34
+ *
35
+ * ```js
36
+ * import auth from '@react-native-firebase/auth';
37
+ *
38
+ * // auth().X
39
+ * ```
40
+ *
41
+ * #### Example: Using the default export from the `app` package:
42
+ *
43
+ * ```js
44
+ * import firebase from '@react-native-firebase/app';
45
+ * import '@react-native-firebase/auth';
46
+ *
47
+ * // firebase.auth().X
48
+ * ```
49
+ * TODO @salakar @ehesp missing auth providers (PhoneAuthProvider, Facebook etc)
50
+ *
51
+ * @firebase auth
52
+ */
53
+ /**
54
+ * @deprecated Use the exported auth types directly instead.
55
+ * FirebaseAuthTypes namespace is kept for backwards compatibility.
56
+ */
57
+ /* eslint-disable @typescript-eslint/no-namespace */
58
+
59
+ /**
60
+ * Attach namespace to `firebase.` and `FirebaseApp.`.
61
+ */
62
+ //# sourceMappingURL=namespaced.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ReactNativeFirebase"],"sourceRoot":"../../../lib","sources":["types/namespaced.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,mBAAmB,QAAQ,4BAA4B;;AAGhE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAyuEA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // Generated by genversion.
4
+ export const version = '25.0.0';
5
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["version"],"sourceRoot":"../../lib","sources":["version.ts"],"mappings":";;AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,QAAQ","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // No-op for android.
4
+ export default {};
5
+ //# sourceMappingURL=RNFBAuthModule.android.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../lib","sources":["web/RNFBAuthModule.android.ts"],"mappings":";;AAAA;AACA,eAAe,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // No-op for ios.
4
+ export default {};
5
+ //# sourceMappingURL=RNFBAuthModule.ios.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../lib","sources":["web/RNFBAuthModule.ios.ts"],"mappings":";;AAAA;AACA,eAAe,CAAC,CAAC","ignoreList":[]}