The Firebase Installations service interface.

Do not call this constructor directly. Instead, use firebase.installations().

Index

Methods

delete

  • delete(): Promise<void>
  • Deletes the Firebase Installation and all associated data.

    Returns Promise<void>

getId

  • getId(): Promise<string>
  • Creates a Firebase Installation if there isn't one for the app and returns the Installation ID.

    Returns Promise<string>

    Firebase Installation ID

getToken

  • getToken(forceRefresh?: boolean): Promise<string>
  • Returns an Authentication Token for the current Firebase Installation.

    Parameters

    • Optional forceRefresh: boolean

    Returns Promise<string>

    Firebase Installation Authentication Token