UNPKG

2.34 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2017 Google LLC
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17import { Auth } from '../src/model/public_types';
18/**
19 * This interface is intended only for use by @firebase/auth-compat, do not use directly
20 */
21export * from '../index';
22export { SignInWithIdpResponse } from '../src/api/authentication/idp';
23export { AuthErrorCode } from '../src/core/errors';
24export { PersistenceInternal } from '../src/core/persistence';
25export { _persistenceKeyName } from '../src/core/persistence/persistence_user_manager';
26export { UserImpl } from '../src/core/user/user_impl';
27export { _getInstance } from '../src/core/util/instantiator';
28export { PopupRedirectResolverInternal, EventManager, AuthEventType } from '../src/model/popup_redirect';
29export { UserCredentialInternal, UserParameters } from '../src/model/user';
30export { AuthInternal, ConfigInternal } from '../src/model/auth';
31export { DefaultConfig, AuthImpl, _castAuth } from '../src/core/auth/auth_impl';
32export { ClientPlatform, _getClientVersion } from '../src/core/util/version';
33export { _generateEventId } from '../src/core/util/event_id';
34export { TaggedWithTokenResponse } from '../src/model/id_token';
35export { _fail, _assert } from '../src/core/util/assert';
36export { AuthPopup } from '../src/platform_browser/util/popup';
37export { _getRedirectResult } from '../src/platform_browser/strategies/redirect';
38export { _overrideRedirectResult } from '../src/core/strategies/redirect';
39export { cordovaPopupRedirectResolver } from '../src/platform_cordova/popup_redirect/popup_redirect';
40export { FetchProvider } from '../src/core/util/fetch_provider';
41export { SAMLAuthCredential } from '../src/core/credentials/saml';
42export declare function addFrameworkForLogging(auth: Auth, framework: string): void;