No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

enums.d.ts 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. * @license
  3. * Copyright 2021 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. */
  17. /**
  18. * Enumeration of supported providers.
  19. * @internal
  20. */
  21. export declare const enum ProviderId {
  22. /** @internal */
  23. ANONYMOUS = "anonymous",
  24. /** @internal */
  25. CUSTOM = "custom",
  26. /** Facebook provider ID */
  27. FACEBOOK = "facebook.com",
  28. /** @internal */
  29. FIREBASE = "firebase",
  30. /** GitHub provider ID */
  31. GITHUB = "github.com",
  32. /** Google provider ID */
  33. GOOGLE = "google.com",
  34. /** Password provider */
  35. PASSWORD = "password",
  36. /** Phone provider */
  37. PHONE = "phone",
  38. /** Twitter provider ID */
  39. TWITTER = "twitter.com"
  40. }
  41. /**
  42. * Enumeration of supported sign-in methods.
  43. * @internal
  44. */
  45. export declare const enum SignInMethod {
  46. /** @internal */
  47. ANONYMOUS = "anonymous",
  48. /** Email link sign in method */
  49. EMAIL_LINK = "emailLink",
  50. /** Email/password sign in method */
  51. EMAIL_PASSWORD = "password",
  52. /** Facebook sign in method */
  53. FACEBOOK = "facebook.com",
  54. /** GitHub sign in method */
  55. GITHUB = "github.com",
  56. /** Google sign in method */
  57. GOOGLE = "google.com",
  58. /** Phone sign in method */
  59. PHONE = "phone",
  60. /** Twitter sign in method */
  61. TWITTER = "twitter.com"
  62. }
  63. /**
  64. * Enumeration of supported operation types.
  65. * @internal
  66. */
  67. export declare const enum OperationType {
  68. /** Operation involving linking an additional provider to an already signed-in user. */
  69. LINK = "link",
  70. /** Operation involving using a provider to reauthenticate an already signed-in user. */
  71. REAUTHENTICATE = "reauthenticate",
  72. /** Operation involving signing in a user. */
  73. SIGN_IN = "signIn"
  74. }