UNPKG

2.39 kBTypeScriptView Raw
1/**
2 * Firebase Authentication
3 *
4 * @packageDocumentation
5 */
6/**
7 * @license
8 * Copyright 2017 Google LLC
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 */
22export * from './src/model/public_types';
23export { FactorId, ProviderId, SignInMethod, OperationType, ActionCodeOperation } from './src/model/enum_maps';
24export * from './src';
25import { browserLocalPersistence } from './src/platform_browser/persistence/local_storage';
26import { browserSessionPersistence } from './src/platform_browser/persistence/session_storage';
27import { indexedDBLocalPersistence } from './src/platform_browser/persistence/indexed_db';
28import { PhoneAuthProvider } from './src/platform_browser/providers/phone';
29import { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
30import { signInWithPopup, linkWithPopup, reauthenticateWithPopup } from './src/platform_browser/strategies/popup';
31import { signInWithRedirect, linkWithRedirect, reauthenticateWithRedirect, getRedirectResult } from './src/platform_browser/strategies/redirect';
32import { RecaptchaVerifier } from './src/platform_browser/recaptcha/recaptcha_verifier';
33import { browserPopupRedirectResolver } from './src/platform_browser/popup_redirect';
34import { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
35import { getAuth } from './src/platform_browser';
36export { browserLocalPersistence, browserSessionPersistence, indexedDBLocalPersistence, PhoneAuthProvider, signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber, signInWithPopup, linkWithPopup, reauthenticateWithPopup, signInWithRedirect, linkWithRedirect, reauthenticateWithRedirect, getRedirectResult, RecaptchaVerifier, browserPopupRedirectResolver, PhoneMultiFactorGenerator, getAuth };