yolkbot
    Preparing search index...

    Class Firebase

    Allows you to connect to (any) Firebase instance and managing accounts on it

    Index

    Constructors

    Methods

    • Logs in or creates an account with email and password authentication

      Parameters

      • authType: "signUp" | "signInWithPassword"

        See AuthType; whether to create an account or log in

      • email: string

        The email to log in with or create an account with

      • password: string

        The password to log in with or create an account with

      Returns Promise<FirebaseAuthResponse | ErrorEnum<FirebaseError>>

      A successful authentication response or the error

    • Sends email verification to the email with an ID token

      Parameters

      • idToken: string | null = ...

        The ID token to send; defaults to the last ID token obtained from a successful authentication method on the instance

      Returns Promise<FirebaseEmailResponse | ErrorEnum<FirebaseError>>

      A successful email verification response or the error

    • Verifies an OOB code from an email verification link

      Parameters

      • oobCode: string

        The OOB code to verify from the email verification link

      Returns Promise<FirebaseEmailResponse | ErrorEnum<FirebaseError>>

      A successful email verification response or the error

    Properties

    AuthType: { SignIn: "signInWithPassword"; SignUp: "signUp" } = ...

    Authentication types for Firebase.loginWithEmailPass