@react-native-firebase/auth 25.1.0 → 26.1.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.
- package/CHANGELOG.md +35 -0
- package/RNFBAuth.podspec +16 -7
- package/android/build.gradle +23 -0
- package/android/src/main/java/io/invertase/firebase/auth/{ReactNativeFirebaseAuthModule.java → NativeRNFBTurboAuth.java} +131 -103
- package/android/src/main/java/io/invertase/firebase/auth/ReactNativeFirebaseAuthPackage.java +1 -1
- package/android/src/main/java/io/invertase/firebase/auth/ReactNativeFirebaseAuthSyncException.java +35 -0
- package/android/src/main/java/io/invertase/firebase/auth/generated/java/com/facebook/fbreact/specs/NativeRNFBTurboAuthSpec.java +308 -0
- package/android/src/main/java/io/invertase/firebase/auth/generated/jni/CMakeLists.txt +36 -0
- package/android/src/main/java/io/invertase/firebase/auth/generated/jni/RNFBAuthTurboModules-generated.cpp +392 -0
- package/android/src/main/java/io/invertase/firebase/auth/generated/jni/RNFBAuthTurboModules.h +31 -0
- package/android/src/main/java/io/invertase/firebase/auth/generated/jni/react/renderer/components/RNFBAuthTurboModules/RNFBAuthTurboModulesJSI-generated.cpp +539 -0
- package/android/src/main/java/io/invertase/firebase/auth/generated/jni/react/renderer/components/RNFBAuthTurboModules/RNFBAuthTurboModulesJSI.h +611 -0
- package/app.plugin.js +1 -1
- package/dist/module/ConfirmationResult.js.map +1 -1
- package/dist/module/MultiFactorResolver.js.map +1 -1
- package/dist/module/PhoneAuthListener.js +3 -4
- package/dist/module/PhoneAuthListener.js.map +1 -1
- package/dist/module/TotpMultiFactorGenerator.js +1 -1
- package/dist/module/TotpMultiFactorGenerator.js.map +1 -1
- package/dist/module/TotpSecret.js +15 -9
- package/dist/module/TotpSecret.js.map +1 -1
- package/dist/module/User.js +1 -1
- package/dist/module/User.js.map +1 -1
- package/dist/module/credentials/OAuthCredential.js +22 -1
- package/dist/module/credentials/OAuthCredential.js.map +1 -1
- package/dist/module/getMultiFactorResolver.js +2 -2
- package/dist/module/getMultiFactorResolver.js.map +1 -1
- package/dist/module/index.js +1226 -6
- package/dist/module/index.js.map +1 -1
- package/dist/module/internal/syncNativeError.js +75 -0
- package/dist/module/internal/syncNativeError.js.map +1 -0
- package/dist/module/multiFactor.js +5 -3
- package/dist/module/multiFactor.js.map +1 -1
- package/dist/module/providers/AppleAuthProvider.js +17 -4
- package/dist/module/providers/AppleAuthProvider.js.map +1 -1
- package/dist/module/providers/OAuthProvider.js +4 -2
- package/dist/module/providers/OAuthProvider.js.map +1 -1
- package/dist/module/providers/PhoneAuthProvider.js +4 -4
- package/dist/module/providers/PhoneAuthProvider.js.map +1 -1
- package/dist/module/types/auth.js +8 -0
- package/dist/module/types/auth.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/module/web/RNFBAuthModule.js +26 -18
- package/dist/module/web/RNFBAuthModule.js.map +1 -1
- package/dist/typescript/lib/ConfirmationResult.d.ts +2 -2
- package/dist/typescript/lib/ConfirmationResult.d.ts.map +1 -1
- package/dist/typescript/lib/MultiFactorResolver.d.ts +6 -6
- package/dist/typescript/lib/MultiFactorResolver.d.ts.map +1 -1
- package/dist/typescript/lib/PhoneAuthListener.d.ts +1 -4
- package/dist/typescript/lib/PhoneAuthListener.d.ts.map +1 -1
- package/dist/typescript/lib/TotpSecret.d.ts +2 -4
- package/dist/typescript/lib/TotpSecret.d.ts.map +1 -1
- package/dist/typescript/lib/User.d.ts +13 -13
- package/dist/typescript/lib/User.d.ts.map +1 -1
- package/dist/typescript/lib/credentials/OAuthCredential.d.ts +6 -0
- package/dist/typescript/lib/credentials/OAuthCredential.d.ts.map +1 -1
- package/dist/typescript/lib/getMultiFactorResolver.d.ts +5 -5
- package/dist/typescript/lib/getMultiFactorResolver.d.ts.map +1 -1
- package/dist/typescript/lib/index.d.ts +377 -4
- package/dist/typescript/lib/index.d.ts.map +1 -1
- package/dist/typescript/lib/internal/syncNativeError.d.ts +6 -0
- package/dist/typescript/lib/internal/syncNativeError.d.ts.map +1 -0
- package/dist/typescript/lib/multiFactor.d.ts +9 -9
- package/dist/typescript/lib/multiFactor.d.ts.map +1 -1
- package/dist/typescript/lib/providers/AppleAuthProvider.d.ts +10 -3
- package/dist/typescript/lib/providers/AppleAuthProvider.d.ts.map +1 -1
- package/dist/typescript/lib/providers/OAuthProvider.d.ts.map +1 -1
- package/dist/typescript/lib/providers/PhoneAuthProvider.d.ts.map +1 -1
- package/dist/typescript/lib/types/auth.d.ts +39 -0
- package/dist/typescript/lib/types/auth.d.ts.map +1 -1
- package/dist/typescript/lib/types/internal.d.ts +45 -48
- package/dist/typescript/lib/types/internal.d.ts.map +1 -1
- package/dist/typescript/lib/version.d.ts +1 -1
- package/dist/typescript/lib/web/RNFBAuthModule.d.ts +7 -5
- package/dist/typescript/lib/web/RNFBAuthModule.d.ts.map +1 -1
- package/ios/RNFBAuth/RNFBAuthHelper.h +338 -0
- package/ios/RNFBAuth/{RNFBAuthModule.m → RNFBAuthHelper.m} +605 -323
- package/ios/RNFBAuth/RNFBAuthModule.h +9 -66
- package/ios/RNFBAuth/RNFBAuthModule.mm +592 -0
- package/ios/RNFBAuth.xcodeproj/project.pbxproj +8 -8
- package/ios/generated/RCTAppDependencyProvider.h +25 -0
- package/ios/generated/RCTAppDependencyProvider.mm +55 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +33 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.h +16 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.mm +23 -0
- package/ios/generated/RNFBAuthTurboModules/RNFBAuthTurboModules-generated.mm +459 -0
- package/ios/generated/RNFBAuthTurboModules/RNFBAuthTurboModules.h +342 -0
- package/ios/generated/RNFBAuthTurboModulesJSI-generated.cpp +539 -0
- package/ios/generated/RNFBAuthTurboModulesJSI.h +611 -0
- package/ios/generated/ReactAppDependencyProvider.podspec +34 -0
- package/lib/ConfirmationResult.ts +3 -6
- package/lib/MultiFactorResolver.ts +8 -8
- package/lib/PhoneAuthListener.ts +6 -10
- package/lib/TotpMultiFactorGenerator.ts +1 -1
- package/lib/TotpSecret.ts +22 -9
- package/lib/User.ts +27 -38
- package/lib/credentials/OAuthCredential.ts +44 -0
- package/lib/getMultiFactorResolver.ts +9 -11
- package/lib/index.ts +1848 -6
- package/lib/internal/syncNativeError.ts +89 -0
- package/lib/multiFactor.ts +25 -16
- package/lib/providers/AppleAuthProvider.ts +21 -5
- package/lib/providers/OAuthProvider.ts +2 -0
- package/lib/providers/PhoneAuthProvider.ts +9 -22
- package/lib/types/auth.ts +42 -0
- package/lib/types/internal.ts +56 -63
- package/lib/version.ts +1 -1
- package/lib/web/RNFBAuthModule.ts +47 -33
- package/package.json +30 -5
- package/plugin/build/app.plugin.d.ts +2 -0
- package/plugin/build/app.plugin.js +6 -0
- package/plugin/src/app.plugin.ts +3 -0
- package/plugin/tsconfig.tsbuildinfo +1 -1
- package/react-native.config.js +9 -0
- package/specs/NativeRNFBTurboAuth.ts +145 -0
- package/typedoc.json +0 -1
- package/dist/module/modular.js +0 -793
- package/dist/module/modular.js.map +0 -1
- package/dist/module/namespaced.js +0 -522
- package/dist/module/namespaced.js.map +0 -1
- package/dist/module/types/namespaced.js +0 -62
- package/dist/module/types/namespaced.js.map +0 -1
- package/dist/typescript/lib/modular.d.ts +0 -370
- package/dist/typescript/lib/modular.d.ts.map +0 -1
- package/dist/typescript/lib/namespaced.d.ts +0 -12
- package/dist/typescript/lib/namespaced.d.ts.map +0 -1
- package/dist/typescript/lib/types/namespaced.d.ts +0 -2185
- package/dist/typescript/lib/types/namespaced.d.ts.map +0 -1
- package/lib/modular.ts +0 -1166
- package/lib/namespaced.ts +0 -849
- package/lib/types/namespaced.ts +0 -2350
|
@@ -1,62 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
import { ActionCodeOperation, FactorId, OperationType, ProviderId, SignInMethod } from './constants';
|
|
2
|
-
import PhoneMultiFactorGenerator from './PhoneMultiFactorGenerator';
|
|
3
|
-
import { PhoneAuthState } from './PhoneAuthState';
|
|
4
|
-
import TotpMultiFactorGenerator from './TotpMultiFactorGenerator';
|
|
5
|
-
import { TotpSecret } from './TotpSecret';
|
|
6
|
-
import AppleAuthProvider from './providers/AppleAuthProvider';
|
|
7
|
-
import EmailAuthProvider from './providers/EmailAuthProvider';
|
|
8
|
-
import FacebookAuthProvider from './providers/FacebookAuthProvider';
|
|
9
|
-
import GithubAuthProvider from './providers/GithubAuthProvider';
|
|
10
|
-
import GoogleAuthProvider from './providers/GoogleAuthProvider';
|
|
11
|
-
import OAuthProvider from './providers/OAuthProvider';
|
|
12
|
-
import OIDCAuthProvider from './providers/OIDCAuthProvider';
|
|
13
|
-
import PhoneAuthProvider from './providers/PhoneAuthProvider';
|
|
14
|
-
import TwitterAuthProvider from './providers/TwitterAuthProvider';
|
|
15
|
-
import type { FirebaseApp } from '@react-native-firebase/app';
|
|
16
|
-
import { ActionCodeURL } from './ActionCodeURL';
|
|
17
|
-
import type { ActionCodeInfo, ActionCodeSettings, AdditionalUserInfo, ApplicationVerifier, Auth, AuthCredential, AuthProvider, CompleteFn, ConfirmationResult, Dependencies, ErrorFn, IdTokenResult, MultiFactorError, MultiFactorResolver, MultiFactorUser, NextOrObserver, PasswordValidationStatus, Persistence, PhoneAuthCredential, PhoneAuthListener, PopupRedirectResolver, Unsubscribe, User, UserCredential } from './types/auth';
|
|
18
|
-
export { ActionCodeOperation, FactorId, OperationType, ProviderId, SignInMethod };
|
|
19
|
-
export { ActionCodeURL } from './ActionCodeURL';
|
|
20
|
-
export { AuthCredential, EmailAuthCredential, OAuthCredential, PhoneAuthCredential, } from './credentials';
|
|
21
|
-
export { AppleAuthProvider, EmailAuthProvider, FacebookAuthProvider, GithubAuthProvider, GoogleAuthProvider, OAuthProvider, OIDCAuthProvider, PhoneAuthProvider, PhoneAuthState, PhoneMultiFactorGenerator, TotpMultiFactorGenerator, TotpSecret, TwitterAuthProvider, };
|
|
22
|
-
/**
|
|
23
|
-
* Returns the Auth instance associated with the provided FirebaseApp.
|
|
24
|
-
*
|
|
25
|
-
* @param app - The Firebase app instance. Defaults to the default app.
|
|
26
|
-
*/
|
|
27
|
-
export declare function getAuth(app?: FirebaseApp): Auth;
|
|
28
|
-
/**
|
|
29
|
-
* This function allows more control over the Auth instance than getAuth().
|
|
30
|
-
*
|
|
31
|
-
* @param app - The Firebase app to initialize Auth for.
|
|
32
|
-
* @param _deps - Optional firebase-js-sdk dependency bag.
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* The optional `deps` argument exists for firebase-js-sdk API parity. React Native Firebase
|
|
36
|
-
* ignores persistence, popup redirect resolver, and error-map dependencies because native
|
|
37
|
-
* iOS/Android SDKs manage auth state and do not support the web-only persistence stack.
|
|
38
|
-
* `initializeAuth()` returns the same shared Auth instance as {@link getAuth}.
|
|
39
|
-
*/
|
|
40
|
-
export declare function initializeAuth(app: FirebaseApp, _deps?: Dependencies): Auth;
|
|
41
|
-
/**
|
|
42
|
-
* Applies an out-of-band email action code (for example from a password reset or email verification link).
|
|
43
|
-
*/
|
|
44
|
-
export declare function applyActionCode(auth: Auth, oobCode: string): Promise<void>;
|
|
45
|
-
/**
|
|
46
|
-
* Registers a callback to run before an auth state change is committed.
|
|
47
|
-
*
|
|
48
|
-
* @returns An unsubscribe function.
|
|
49
|
-
*/
|
|
50
|
-
export declare function beforeAuthStateChanged(auth: Auth, callback: (user: User | null) => void | Promise<void>, onAbort?: () => void): Unsubscribe;
|
|
51
|
-
/**
|
|
52
|
-
* Checks the validity of an out-of-band email action code and returns metadata about the pending operation.
|
|
53
|
-
*
|
|
54
|
-
* @remarks React Native Firebase normalizes native results toward firebase-js-sdk shapes, including mapping
|
|
55
|
-
* `fromEmail` to `previousEmail` and coercing multi-factor info objects.
|
|
56
|
-
*/
|
|
57
|
-
export declare function checkActionCode(auth: Auth, oobCode: string): Promise<ActionCodeInfo>;
|
|
58
|
-
/**
|
|
59
|
-
* Confirms a password reset using the out-of-band code from the reset email.
|
|
60
|
-
*/
|
|
61
|
-
export declare function confirmPasswordReset(auth: Auth, oobCode: string, newPassword: string): Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
* Connects the Auth instance to the Auth emulator.
|
|
64
|
-
*
|
|
65
|
-
* @remarks Delegates to the native `useEmulator` bridge. Accepts the firebase-js-sdk
|
|
66
|
-
* `options.disableWarnings` flag for {@link Auth.emulatorConfig} parity. On web, that flag
|
|
67
|
-
* suppresses the emulator DOM warning banner; native iOS/Android SDKs do not surface that banner,
|
|
68
|
-
* so the value is recorded on `auth.emulatorConfig.options` only. When `options` is provided,
|
|
69
|
-
* `disableWarnings` is required (matching firebase-js-sdk).
|
|
70
|
-
*/
|
|
71
|
-
export declare function connectAuthEmulator(auth: Auth, url: string, options?: {
|
|
72
|
-
disableWarnings: boolean;
|
|
73
|
-
}): void;
|
|
74
|
-
/**
|
|
75
|
-
* Creates a new user with an email address and password.
|
|
76
|
-
*
|
|
77
|
-
* @remarks Returned {@link UserCredential} objects include top-level `providerId` and `operationType`
|
|
78
|
-
* fields. `additionalUserInfo`, when present, is attached as a non-enumerable property.
|
|
79
|
-
*/
|
|
80
|
-
export declare function createUserWithEmailAndPassword(auth: Auth, email: string, password: string): Promise<UserCredential>;
|
|
81
|
-
/**
|
|
82
|
-
* Fetches the sign-in methods available for the given email address.
|
|
83
|
-
*/
|
|
84
|
-
export declare function fetchSignInMethodsForEmail(auth: Auth, email: string): Promise<string[]>;
|
|
85
|
-
/**
|
|
86
|
-
* Extracts a {@link MultiFactorResolver} from a {@link MultiFactorError}.
|
|
87
|
-
*
|
|
88
|
-
* @throws If the error does not contain resolver hints.
|
|
89
|
-
*/
|
|
90
|
-
export declare function getMultiFactorResolver(auth: Auth, error: MultiFactorError): MultiFactorResolver;
|
|
91
|
-
/**
|
|
92
|
-
* Returns the redirect sign-in result after a browser redirect flow completes.
|
|
93
|
-
*
|
|
94
|
-
* @remarks
|
|
95
|
-
* **Not supported on React Native Firebase.** Always throws synchronously because native provider
|
|
96
|
-
* flows do not use the browser redirect contract from the firebase-js-sdk.
|
|
97
|
-
*/
|
|
98
|
-
export declare function getRedirectResult(_auth: Auth, _resolver?: PopupRedirectResolver): Promise<UserCredential | null>;
|
|
99
|
-
/**
|
|
100
|
-
* Checks whether an email link is a valid sign-in with email link URL.
|
|
101
|
-
*
|
|
102
|
-
* @remarks React Native Firebase performs this check through the native bridge and returns
|
|
103
|
-
* `Promise<boolean>`. The firebase-js-sdk returns a synchronous `boolean`.
|
|
104
|
-
*/
|
|
105
|
-
export declare function isSignInWithEmailLink(auth: Auth, emailLink: string): Promise<boolean>;
|
|
106
|
-
/**
|
|
107
|
-
* Subscribes to auth state changes for the given Auth instance.
|
|
108
|
-
*
|
|
109
|
-
* @returns An unsubscribe function.
|
|
110
|
-
*
|
|
111
|
-
* @remarks The legacy `error` and `completed` callback overload exists for firebase-js-sdk API parity.
|
|
112
|
-
* Native auth listeners never invoke separate error or completed callbacks.
|
|
113
|
-
*/
|
|
114
|
-
export declare function onAuthStateChanged(auth: Auth, nextOrObserver: NextOrObserver<User>, _error?: ErrorFn, _completed?: CompleteFn): Unsubscribe;
|
|
115
|
-
/**
|
|
116
|
-
* Subscribes to ID token changes for the given Auth instance.
|
|
117
|
-
*
|
|
118
|
-
* @returns An unsubscribe function.
|
|
119
|
-
*
|
|
120
|
-
* @remarks The legacy `error` and `completed` callback overload exists for firebase-js-sdk API parity.
|
|
121
|
-
* Native auth listeners never invoke separate error or completed callbacks.
|
|
122
|
-
*/
|
|
123
|
-
export declare function onIdTokenChanged(auth: Auth, nextOrObserver: NextOrObserver<User>, _error?: ErrorFn, _completed?: CompleteFn): Unsubscribe;
|
|
124
|
-
/**
|
|
125
|
-
* Revokes the given OAuth access token for the current user.
|
|
126
|
-
*
|
|
127
|
-
* @remarks
|
|
128
|
-
* **Web only.** Always throws synchronously on React Native Firebase.
|
|
129
|
-
*/
|
|
130
|
-
export declare function revokeAccessToken(_auth: Auth, _token: string): Promise<void>;
|
|
131
|
-
/**
|
|
132
|
-
* Revokes a user's Sign in with Apple token.
|
|
133
|
-
*
|
|
134
|
-
* @remarks
|
|
135
|
-
* React Native Firebase-specific API required by Apple's account-deletion guidelines.
|
|
136
|
-
* **Supported on iOS** via the native `revokeTokenWithAuthorizationCode` bridge.
|
|
137
|
-
* On Android and Web the bridge resolves without performing revocation (no-op).
|
|
138
|
-
* Distinct from firebase-js-sdk {@link revokeAccessToken}, which revokes OAuth access tokens on Web only.
|
|
139
|
-
*/
|
|
140
|
-
export declare function revokeToken(auth: Auth, authorizationCode: string): Promise<void>;
|
|
141
|
-
/**
|
|
142
|
-
* Sends a password reset email to the given address.
|
|
143
|
-
*/
|
|
144
|
-
export declare function sendPasswordResetEmail(auth: Auth, email: string, actionCodeSettings?: ActionCodeSettings): Promise<void>;
|
|
145
|
-
/**
|
|
146
|
-
* Sends a sign-in with email link to the given address.
|
|
147
|
-
*
|
|
148
|
-
* @remarks `actionCodeSettings` is required in the modular API (matching firebase-js-sdk).
|
|
149
|
-
* The namespaced `firebase.auth().sendSignInLinkToEmail(email, settings?)` API still supplies
|
|
150
|
-
* defaults when settings are omitted.
|
|
151
|
-
*/
|
|
152
|
-
export declare function sendSignInLinkToEmail(auth: Auth, email: string, actionCodeSettings: ActionCodeSettings): Promise<void>;
|
|
153
|
-
/**
|
|
154
|
-
* Sets the persistence type for the Auth instance.
|
|
155
|
-
*
|
|
156
|
-
* @remarks
|
|
157
|
-
* **Not supported on React Native Firebase.** Always throws synchronously because auth state is
|
|
158
|
-
* managed by the native iOS/Android SDKs rather than the web persistence stack.
|
|
159
|
-
*/
|
|
160
|
-
export declare function setPersistence(_auth: Auth, _persistence: Persistence): Promise<void>;
|
|
161
|
-
/**
|
|
162
|
-
* Signs in anonymously.
|
|
163
|
-
*/
|
|
164
|
-
export declare function signInAnonymously(auth: Auth): Promise<UserCredential>;
|
|
165
|
-
/**
|
|
166
|
-
* Signs in with the given auth credential.
|
|
167
|
-
*/
|
|
168
|
-
export declare function signInWithCredential(auth: Auth, credential: AuthCredential): Promise<UserCredential>;
|
|
169
|
-
/**
|
|
170
|
-
* Signs in with a custom authentication token.
|
|
171
|
-
*/
|
|
172
|
-
export declare function signInWithCustomToken(auth: Auth, customToken: string): Promise<UserCredential>;
|
|
173
|
-
/**
|
|
174
|
-
* Signs in with an email address and password.
|
|
175
|
-
*/
|
|
176
|
-
export declare function signInWithEmailAndPassword(auth: Auth, email: string, password: string): Promise<UserCredential>;
|
|
177
|
-
/**
|
|
178
|
-
* Signs in using an email and sign-in with email link.
|
|
179
|
-
*
|
|
180
|
-
* @remarks The `emailLink` argument is optional, matching firebase-js-sdk.
|
|
181
|
-
*/
|
|
182
|
-
export declare function signInWithEmailLink(auth: Auth, email: string, emailLink?: string): Promise<UserCredential>;
|
|
183
|
-
/**
|
|
184
|
-
* Signs in with a phone number and returns a confirmation result for SMS verification.
|
|
185
|
-
*
|
|
186
|
-
* @remarks
|
|
187
|
-
* Native SDKs own the phone verification flow. The optional `appVerifier` argument from the
|
|
188
|
-
* firebase-js-sdk is ignored. This modular API also does not accept RNFB's legacy `forceResend`
|
|
189
|
-
* argument — use {@link verifyPhoneNumber} for the native listener / force-resend flow instead.
|
|
190
|
-
*/
|
|
191
|
-
export declare function signInWithPhoneNumber(auth: Auth, phoneNumber: string, _appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
|
|
192
|
-
/**
|
|
193
|
-
* Starts native phone number verification and returns a listener for verification events.
|
|
194
|
-
*
|
|
195
|
-
* @remarks React Native Firebase-specific API with no firebase-js-sdk equivalent. Use this for
|
|
196
|
-
* auto-verification, resend, and multi-step phone auth flows that require native callbacks.
|
|
197
|
-
*/
|
|
198
|
-
export declare function verifyPhoneNumber(auth: Auth, phoneNumber: string, autoVerifyTimeoutOrForceResend?: number | boolean, forceResend?: boolean): PhoneAuthListener;
|
|
199
|
-
/**
|
|
200
|
-
* Signs in with the given provider using a native popup-style flow where supported.
|
|
201
|
-
*/
|
|
202
|
-
export declare function signInWithPopup(auth: Auth, provider: AuthProvider, _resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
203
|
-
/**
|
|
204
|
-
* Signs in with the given provider using a redirect-style flow.
|
|
205
|
-
*
|
|
206
|
-
* @remarks On React Native Firebase, native provider flows complete immediately and resolve with a
|
|
207
|
-
* {@link UserCredential} instead of following the browser redirect contract used by the
|
|
208
|
-
* firebase-js-sdk (which resolves later via {@link getRedirectResult}).
|
|
209
|
-
*/
|
|
210
|
-
export declare function signInWithRedirect(auth: Auth, provider: AuthProvider, _resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
211
|
-
/**
|
|
212
|
-
* Signs out the current user for the given Auth instance.
|
|
213
|
-
*/
|
|
214
|
-
export declare function signOut(auth: Auth): Promise<void>;
|
|
215
|
-
/**
|
|
216
|
-
* Updates the currently signed-in user on the Auth instance.
|
|
217
|
-
*/
|
|
218
|
-
export declare function updateCurrentUser(auth: Auth, user: User | null): Promise<void>;
|
|
219
|
-
/**
|
|
220
|
-
* Sets the Auth `languageCode` from the device locale.
|
|
221
|
-
*
|
|
222
|
-
* @remarks
|
|
223
|
-
* **Not supported on React Native Firebase.** Always throws synchronously. Set `auth.languageCode`
|
|
224
|
-
* directly or use {@link setLanguageCode}.
|
|
225
|
-
*/
|
|
226
|
-
export declare function useDeviceLanguage(_auth: Auth): void;
|
|
227
|
-
/**
|
|
228
|
-
* Sets the Auth language code.
|
|
229
|
-
*
|
|
230
|
-
* @remarks React Native Firebase exposes this as a modular helper. The firebase-js-sdk only exposes
|
|
231
|
-
* the writable `auth.languageCode` property.
|
|
232
|
-
*/
|
|
233
|
-
export declare function setLanguageCode(auth: Auth, languageCode: string | null): Promise<void>;
|
|
234
|
-
/**
|
|
235
|
-
* Configures iOS keychain access group sharing for the Auth instance.
|
|
236
|
-
*
|
|
237
|
-
* @remarks React Native Firebase-specific iOS helper with no firebase-js-sdk equivalent.
|
|
238
|
-
*/
|
|
239
|
-
export declare function useUserAccessGroup(auth: Auth, userAccessGroup: string): Promise<void>;
|
|
240
|
-
/**
|
|
241
|
-
* Verifies a password reset code and returns the associated email address.
|
|
242
|
-
*/
|
|
243
|
-
export declare function verifyPasswordResetCode(auth: Auth, code: string): Promise<string>;
|
|
244
|
-
/**
|
|
245
|
-
* Parses an email action link string.
|
|
246
|
-
*
|
|
247
|
-
* @param link - The email action link to parse.
|
|
248
|
-
* @returns The {@link ActionCodeURL} object, or `null` if the link is invalid.
|
|
249
|
-
*
|
|
250
|
-
* @remarks Pure URL parsing (ported from firebase-js-sdk). Works on all platforms without a native
|
|
251
|
-
* bridge. See also {@link ActionCodeURL.parseLink}.
|
|
252
|
-
*/
|
|
253
|
-
export declare function parseActionCodeURL(link: string): ActionCodeURL | null;
|
|
254
|
-
/**
|
|
255
|
-
* Deletes the given user account.
|
|
256
|
-
*/
|
|
257
|
-
export declare function deleteUser(user: User): Promise<void>;
|
|
258
|
-
/**
|
|
259
|
-
* Returns the current ID token for the user.
|
|
260
|
-
*/
|
|
261
|
-
export declare function getIdToken(user: User, forceRefresh?: boolean): Promise<string>;
|
|
262
|
-
/**
|
|
263
|
-
* Returns the decoded ID token result for the user.
|
|
264
|
-
*/
|
|
265
|
-
export declare function getIdTokenResult(user: User, forceRefresh?: boolean): Promise<IdTokenResult>;
|
|
266
|
-
/**
|
|
267
|
-
* Links the user account with the given credential.
|
|
268
|
-
*/
|
|
269
|
-
export declare function linkWithCredential(user: User, credential: AuthCredential): Promise<UserCredential>;
|
|
270
|
-
/**
|
|
271
|
-
* Links the user account with a phone number using SMS verification.
|
|
272
|
-
*
|
|
273
|
-
* @remarks
|
|
274
|
-
* **Not supported on React Native Firebase.** Always throws synchronously.
|
|
275
|
-
*/
|
|
276
|
-
export declare function linkWithPhoneNumber(_user: User, _phoneNumber: string, _appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
|
|
277
|
-
/**
|
|
278
|
-
* Links the user account with the given provider using a native popup-style flow where supported.
|
|
279
|
-
*/
|
|
280
|
-
export declare function linkWithPopup(user: User, provider: AuthProvider, _resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
281
|
-
/**
|
|
282
|
-
* Links the user account with the given provider using a redirect-style flow.
|
|
283
|
-
*
|
|
284
|
-
* @remarks On React Native Firebase, native provider flows complete immediately and resolve with a
|
|
285
|
-
* {@link UserCredential} instead of following the browser redirect contract used by the
|
|
286
|
-
* firebase-js-sdk.
|
|
287
|
-
*/
|
|
288
|
-
export declare function linkWithRedirect(user: User, provider: AuthProvider, _resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
289
|
-
/**
|
|
290
|
-
* Returns the multi-factor interface for the given user.
|
|
291
|
-
*
|
|
292
|
-
* @remarks Uses the user's own Auth instance instead of always calling {@link getAuth}, which fixes
|
|
293
|
-
* secondary Firebase app usage compared with earlier RNFB behavior.
|
|
294
|
-
*/
|
|
295
|
-
export declare function multiFactor(user: User): MultiFactorUser;
|
|
296
|
-
/**
|
|
297
|
-
* Reauthenticates the user with the given credential.
|
|
298
|
-
*/
|
|
299
|
-
export declare function reauthenticateWithCredential(user: User, credential: AuthCredential): Promise<UserCredential>;
|
|
300
|
-
/**
|
|
301
|
-
* Reauthenticates the user with a phone number using SMS verification.
|
|
302
|
-
*
|
|
303
|
-
* @remarks
|
|
304
|
-
* **Not supported on React Native Firebase.** Always throws synchronously.
|
|
305
|
-
*/
|
|
306
|
-
export declare function reauthenticateWithPhoneNumber(_user: User, _phoneNumber: string, _appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
|
|
307
|
-
/**
|
|
308
|
-
* Reauthenticates the user with the given provider using a native popup-style flow where supported.
|
|
309
|
-
*/
|
|
310
|
-
export declare function reauthenticateWithPopup(user: User, provider: AuthProvider, _resolver?: PopupRedirectResolver): Promise<UserCredential>;
|
|
311
|
-
/**
|
|
312
|
-
* Reauthenticates the user with the given provider using a redirect-style flow.
|
|
313
|
-
*
|
|
314
|
-
* @remarks On React Native Firebase, native provider flows do not follow the browser redirect
|
|
315
|
-
* contract. This resolves with `void` after the native flow completes instead of the
|
|
316
|
-
* firebase-js-sdk `Promise<never>` signature used for unresolved browser redirects.
|
|
317
|
-
*/
|
|
318
|
-
export declare function reauthenticateWithRedirect(user: User, provider: AuthProvider, _resolver?: PopupRedirectResolver): Promise<void>;
|
|
319
|
-
/**
|
|
320
|
-
* Reloads the user's profile data from the server.
|
|
321
|
-
*/
|
|
322
|
-
export declare function reload(user: User): Promise<void>;
|
|
323
|
-
/**
|
|
324
|
-
* Sends an email verification message to the user.
|
|
325
|
-
*/
|
|
326
|
-
export declare function sendEmailVerification(user: User, actionCodeSettings?: ActionCodeSettings | null): Promise<void>;
|
|
327
|
-
/**
|
|
328
|
-
* Unlinks a provider from the user account.
|
|
329
|
-
*/
|
|
330
|
-
export declare function unlink(user: User, providerId: string): Promise<User>;
|
|
331
|
-
/**
|
|
332
|
-
* Updates the user's email address.
|
|
333
|
-
*/
|
|
334
|
-
export declare function updateEmail(user: User, newEmail: string): Promise<void>;
|
|
335
|
-
/**
|
|
336
|
-
* Updates the user's password.
|
|
337
|
-
*/
|
|
338
|
-
export declare function updatePassword(user: User, newPassword: string): Promise<void>;
|
|
339
|
-
/**
|
|
340
|
-
* Updates the user's phone number using a phone auth credential.
|
|
341
|
-
*/
|
|
342
|
-
export declare function updatePhoneNumber(user: User, credential: PhoneAuthCredential): Promise<void>;
|
|
343
|
-
/**
|
|
344
|
-
* Updates the user's display name and/or photo URL.
|
|
345
|
-
*/
|
|
346
|
-
export declare function updateProfile(user: User, profile: {
|
|
347
|
-
displayName?: string | null;
|
|
348
|
-
photoURL?: string | null;
|
|
349
|
-
}): Promise<void>;
|
|
350
|
-
/**
|
|
351
|
-
* Sends a verification email to the new address before updating the user's email.
|
|
352
|
-
*/
|
|
353
|
-
export declare function verifyBeforeUpdateEmail(user: User, newEmail: string, actionCodeSettings?: ActionCodeSettings | null): Promise<void>;
|
|
354
|
-
/**
|
|
355
|
-
* Returns additional OAuth / federated sign-in information from a {@link UserCredential}.
|
|
356
|
-
*
|
|
357
|
-
* @remarks Returns firebase-js-sdk core fields plus any extra native keys copied from the bridge.
|
|
358
|
-
*/
|
|
359
|
-
export declare function getAdditionalUserInfo(userCredential: UserCredential): AdditionalUserInfo | null;
|
|
360
|
-
/**
|
|
361
|
-
* Returns the configured custom auth domain for the Auth instance.
|
|
362
|
-
*
|
|
363
|
-
* @remarks React Native Firebase-specific helper with no firebase-js-sdk equivalent.
|
|
364
|
-
*/
|
|
365
|
-
export declare function getCustomAuthDomain(auth: Auth): Promise<string>;
|
|
366
|
-
/**
|
|
367
|
-
* Validates a password against the project's password policy.
|
|
368
|
-
*/
|
|
369
|
-
export declare function validatePassword(auth: Auth, password: string): Promise<PasswordValidationStatus>;
|
|
370
|
-
//# sourceMappingURL=modular.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modular.d.ts","sourceRoot":"","sources":["../../../lib/modular.ts"],"names":[],"mappings":"AAkBA,OAAO,EACL,mBAAmB,EACnB,QAAQ,EACR,aAAa,EACb,UAAU,EACV,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,oBAAoB,MAAM,kCAAkC,CAAC;AACpE,OAAO,kBAAkB,MAAM,gCAAgC,CAAC;AAChE,OAAO,kBAAkB,MAAM,gCAAgC,CAAC;AAChE,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,gBAAgB,MAAM,8BAA8B,CAAC;AAC5D,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAElB,mBAAmB,EACnB,IAAI,EACJ,cAAc,EACd,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,OAAO,EACP,aAAa,EACb,gBAAgB,EAEhB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,wBAAwB,EACxB,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EAEjB,qBAAqB,EAErB,WAAW,EACX,IAAI,EACJ,cAAc,EACf,MAAM,cAAc,CAA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AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACjE,OAAO,CAAC,IAAI,CAAC,CAMf;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,IAAI,GAC7C,OAAO,CAAC,IAAI,CAAC,CAQf;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,cAAc,EAAE,cAAc,GAAG,kBAAkB,GAAG,IAAI,CAW/F;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAG/D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAmBhG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactNativeFirebase } from '@react-native-firebase/app';
|
|
2
|
-
import type { FirebaseAuthTypes } from './types/namespaced';
|
|
3
|
-
export declare const SDK_VERSION = "25.1.0";
|
|
4
|
-
type AuthNamespace = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<FirebaseAuthTypes.Module, FirebaseAuthTypes.Statics> & {
|
|
5
|
-
auth: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<FirebaseAuthTypes.Module, FirebaseAuthTypes.Statics>;
|
|
6
|
-
firebase: ReactNativeFirebase.Module;
|
|
7
|
-
app(name?: string): ReactNativeFirebase.FirebaseApp;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: AuthNamespace;
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const firebase: ReactNativeFirebase.FirebaseNamespacedExport<"auth", FirebaseAuthTypes.Module, FirebaseAuthTypes.Statics, false>;
|
|
12
|
-
//# sourceMappingURL=namespaced.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaced.d.ts","sourceRoot":"","sources":["../../../lib/namespaced.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AA6BtE,OAAO,KAAK,EAAsB,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AA+uBhF,eAAO,MAAM,WAAW,WAAU,CAAC;AAanC,KAAK,aAAa,GAAG,mBAAmB,CAAC,+BAA+B,CACtE,iBAAiB,CAAC,MAAM,EACxB,iBAAiB,CAAC,OAAO,CAC1B,GAAG;IACF,IAAI,EAAE,mBAAmB,CAAC,+BAA+B,CACvD,iBAAiB,CAAC,MAAM,EACxB,iBAAiB,CAAC,OAAO,CAC1B,CAAC;IACF,QAAQ,EAAE,mBAAmB,CAAC,MAAM,CAAC;IACrC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC,WAAW,CAAC;CACrD,CAAC;wBAIyC,aAAa;AAAxD,wBAAyD;AAKzD,eAAO,MAAM,QAAQ,EACa,mBAAmB,CAAC,wBAAwB,CAC1E,MAAM,EACN,iBAAiB,CAAC,MAAM,EACxB,iBAAiB,CAAC,OAAO,EACzB,KAAK,CACN,CAAC"}
|