Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.d.ts 2.3KB

123456789101112131415161718192021222324252627282930313233343536
  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. */
  22. export * from './src/model/public_types';
  23. export { FactorId, ProviderId, SignInMethod, OperationType, ActionCodeOperation } from './src/model/enum_maps';
  24. export * from './src';
  25. import { browserLocalPersistence } from './src/platform_browser/persistence/local_storage';
  26. import { browserSessionPersistence } from './src/platform_browser/persistence/session_storage';
  27. import { indexedDBLocalPersistence } from './src/platform_browser/persistence/indexed_db';
  28. import { PhoneAuthProvider } from './src/platform_browser/providers/phone';
  29. import { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
  30. import { signInWithPopup, linkWithPopup, reauthenticateWithPopup } from './src/platform_browser/strategies/popup';
  31. import { signInWithRedirect, linkWithRedirect, reauthenticateWithRedirect, getRedirectResult } from './src/platform_browser/strategies/redirect';
  32. import { RecaptchaVerifier } from './src/platform_browser/recaptcha/recaptcha_verifier';
  33. import { browserPopupRedirectResolver } from './src/platform_browser/popup_redirect';
  34. import { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
  35. import { getAuth } from './src/platform_browser';
  36. export { browserLocalPersistence, browserSessionPersistence, indexedDBLocalPersistence, PhoneAuthProvider, signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber, signInWithPopup, linkWithPopup, reauthenticateWithPopup, signInWithRedirect, linkWithRedirect, reauthenticateWithRedirect, getRedirectResult, RecaptchaVerifier, browserPopupRedirectResolver, PhoneMultiFactorGenerator, getAuth };